File location (assuming you have python 3.5) is
"lib/python3.5/site-packages/pgadmin4/config_local.py" relative to the
pgadmin install directory. You may have to create it as the file is
optional. You use it when you need to override default configuration. I
like to keep pgadmin 4 configuration separate from pgadmin3 so mine looks
like this

$> cat ./opt/pgadmin4/lib/python3.5/site-packages/pgadmin4/config_local.py
import os
DATA_DIR = os.path.realpath(os.path.expanduser(u'~/.pgadmin-v4/'))
LOG_FILE = os.path.join(DATA_DIR, 'pgadmin4.log')
SQLITE_PATH = os.path.join(DATA_DIR, 'pgadmin4.db')
SESSION_DB_PATH = os.path.join(DATA_DIR, 'sessions')
STORAGE_DIR = os.path.join(DATA_DIR, 'storage')
SERVER_MODE = False
MASTER_PASSWORD_REQUIRED = False


On Wed, Jun 5, 2019 at 9:44 AM richard coleman <rcoleman.ascen...@gmail.com>
wrote:

> Dave,
>
> Sorry, but after an e*xhaustive* search of the several terabytes on my
> machine, there is *no* config_local.py file.  Do you have any idea where
> it's supposed to be located?
>
> Thanks,
>
> rik.
>
> On Wed, Jun 5, 2019 at 9:30 AM Dave Page <dp...@pgadmin.org> wrote:
>
>>
>>
>> On Wed, Jun 5, 2019 at 1:16 PM richard coleman <
>> rcoleman.ascen...@gmail.com> wrote:
>>
>>> Cherio,
>>>
>>> I am sorry to inform you, but there is *no* mention of "config_local.py"
>>> on that page, nor any indication of where I would find it.
>>>
>>
>>
>> https://www.pgadmin.org/docs/pgadmin4/4.x/desktop_deployment.html#configuration
>>
>>
>>>
>>> rik.
>>>
>>> On Tue, Jun 4, 2019 at 5:06 PM Cherio <che...@gmail.com> wrote:
>>>
>>>> Put "MASTER_PASSWORD_REQUIRED = False" line into your
>>>> "lib/python?.?/site-packages/pgadmin4/config_local.py". This is in the
>>>> docs: https://www.pgadmin.org/docs/pgadmin4/dev/master_password.html
>>>>
>>>> On Tue, Jun 4, 2019 at 4:41 PM richard coleman <
>>>> rcoleman.ascen...@gmail.com> wrote:
>>>>
>>>>> To whomever,
>>>>>
>>>>> Running a newly update pgAdmin 4 version 4.8 on my Kubuntu box.  There
>>>>> are a couple of glaring issues.
>>>>>
>>>>> First: It keeps prompting to; "Set Master Password"
>>>>>     I don't want to set another password that I'll just end up
>>>>> forgetting.
>>>>>
>>>>> Second: When I click the "?" button on that dialog box it takes me to
>>>>> this page:
>>>>> "http://127.0.0.1:33681/help/help/master_password.html";
>>>>> Which returns "404 Not Found"
>>>>>
>>>>> Hopefully there is a simple solution to these issues.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> rik.
>>>>>
>>>>
>>
>> --
>> Dave Page
>> Blog: http://pgsnake.blogspot.com
>> Twitter: @pgsnake
>>
>> EnterpriseDB UK: http://www.enterprisedb.com
>> The Enterprise PostgreSQL Company
>>
>

Reply via email to