Обсуждение: Configs config_local.py/config_system.py are ignored ?

Поиск
Список
Период
Сортировка

Configs config_local.py/config_system.py are ignored ?

От
Ross Holder
Дата:

I am trying to modify settings of my pgadmin4 installation.

 

I made a copy of my config.py file as config_local.py and config_system.py but any settings I change inside these configs have no effect.

 

If I change the same settings within config.py, it works perfectly. What could be the issue, since one is not supposed to modify config.py?

 

 

Re: Configs config_local.py/config_system.py are ignored ?

От
Aditya Toshniwal
Дата:
Hi Ross,

You should not copy config.py to create config_local or config_system. Start with a blank file and add only changed params.
Please check - https://www.pgadmin.org/docs/pgadmin4/7.0/config_py.html#the-config-py-file if you're putting the file in the correct locations for pgAdmin to pick.


On Tue, May 2, 2023 at 2:15 PM Ross Holder <RHolder@csir.co.za> wrote:

I am trying to modify settings of my pgadmin4 installation.

 

I made a copy of my config.py file as config_local.py and config_system.py but any settings I change inside these configs have no effect.

 

If I change the same settings within config.py, it works perfectly. What could be the issue, since one is not supposed to modify config.py?

 

 



--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"

RE: Configs config_local.py/config_system.py are ignored ?

От
Ross Holder
Дата:

Hi, I also tried only adding the changed settings to the configs; did not work. The other configs are in the same directory as the main config.py file.

 

From: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Sent: Tuesday, May 2, 2023 11:03 AM
To: Ross Holder <RHolder@csir.co.za>
Cc: pgadmin-support@lists.postgresql.org
Subject: Re: Configs config_local.py/config_system.py are ignored ?

 

Hi Ross,

 

You should not copy http://config.py to create config_local or config_system. Start with a blank file and add only changed params.

Please check - https://www.pgadmin.org/docs/pgadmin4/7.0/config_py.html#the-config-py-file if you're putting the file in the correct locations for pgAdmin to pick.

 

 

On Tue, May 2, 2023 at 2:15 PM Ross Holder <RHolder@csir.co.za> wrote:

I am trying to modify settings of my pgadmin4 installation.

 

I made a copy of my http://config.py file as config_local.py and config_system.py but any settings I change inside these configs have no effect.

 

If I change the same settings within http://config.py, it works perfectly. What could be the issue, since one is not supposed to modify http://config.py?

 

 


 

--

Thanks,

Aditya Toshniwal

pgAdmin Hacker | Software Architect | edbpostgres.com

"Don't Complain about Heat, Plant a TREE"

Re: Configs config_local.py/config_system.py are ignored ?

От
Aditya Toshniwal
Дата:
Hi Ross,

Which setting are you trying to change?
Please refer to the link shared for the correct locations of the config filles.

On Tue, May 2, 2023 at 3:25 PM Ross Holder <RHolder@csir.co.za> wrote:

Hi, I also tried only adding the changed settings to the configs; did not work. The other configs are in the same directory as the main config.py file.

 

From: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Sent: Tuesday, May 2, 2023 11:03 AM
To: Ross Holder <RHolder@csir.co.za>
Cc: pgadmin-support@lists.postgresql.org
Subject: Re: Configs config_local.py/config_system.py are ignored ?

 

Hi Ross,

 

You should not copy http://config.py to create config_local or config_system. Start with a blank file and add only changed params.

Please check - https://www.pgadmin.org/docs/pgadmin4/7.0/config_py.html#the-config-py-file if you're putting the file in the correct locations for pgAdmin to pick.

 

 

On Tue, May 2, 2023 at 2:15 PM Ross Holder <RHolder@csir.co.za> wrote:

I am trying to modify settings of my pgadmin4 installation.

 

I made a copy of my http://config.py file as config_local.py and config_system.py but any settings I change inside these configs have no effect.

 

If I change the same settings within http://config.py, it works perfectly. What could be the issue, since one is not supposed to modify http://config.py?

 

 


 

--

Thanks,

Aditya Toshniwal

pgAdmin Hacker | Software Architect | edbpostgres.com

"Don't Complain about Heat, Plant a TREE"



--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Architect | enterprisedb.com
"Don't Complain about Heat, Plant a TREE"

RE: Configs config_local.py/config_system.py are ignored ?

От
Ross Holder
Дата:

Apologies, I didn’t realise that config_system.py needs to be in a separate location to config.py and config_local.py.

 

All working fine now.

 

From: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Sent: Tuesday, May 2, 2023 12:39 PM
To: Ross Holder <RHolder@csir.co.za>
Cc: pgadmin-support@lists.postgresql.org
Subject: Re: Configs config_local.py/config_system.py are ignored ?

 

Hi Ross,

 

Which setting are you trying to change?

Please refer to the link shared for the correct locations of the config filles.

 

On Tue, May 2, 2023 at 3:25 PM Ross Holder <RHolder@csir.co.za> wrote:

Hi, I also tried only adding the changed settings to the configs; did not work. The other configs are in the same directory as the main http://config.py file.

 

From: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Sent: Tuesday, May 2, 2023 11:03 AM
To: Ross Holder <RHolder@csir.co.za>
Cc: pgadmin-support@lists.postgresql.org
Subject: Re: Configs config_local.py/config_system.py are ignored ?

 

Hi Ross,

 

You should not copy http://config.py to create config_local or config_system. Start with a blank file and add only changed params.

Please check - https://www.pgadmin.org/docs/pgadmin4/7.0/config_py.html#the-config-py-file if you're putting the file in the correct locations for pgAdmin to pick.

 

 

On Tue, May 2, 2023 at 2:15 PM Ross Holder <RHolder@csir.co.za> wrote:

I am trying to modify settings of my pgadmin4 installation.

 

I made a copy of my http://config.py file as config_local.py and config_system.py but any settings I change inside these configs have no effect.

 

If I change the same settings within http://config.py, it works perfectly. What could be the issue, since one is not supposed to modify http://config.py?

 

 


 

--

Thanks,

Aditya Toshniwal

pgAdmin Hacker | Software Architect | edbpostgres.com

"Don't Complain about Heat, Plant a TREE"


 

--

Thanks,

Aditya Toshniwal

pgAdmin Hacker | Sr. Software Architect | enterprisedb.com

"Don't Complain about Heat, Plant a TREE"

Re: Configs config_local.py/config_system.py are ignored ?

От
Aditya Toshniwal
Дата:
Glad to hear it works.

On Tue, May 2, 2023 at 5:14 PM Ross Holder <RHolder@csir.co.za> wrote:

Apologies, I didn’t realise that config_system.py needs to be in a separate location to config.py and config_local.py.

 

All working fine now.

 

From: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Sent: Tuesday, May 2, 2023 12:39 PM
To: Ross Holder <RHolder@csir.co.za>
Cc: pgadmin-support@lists.postgresql.org
Subject: Re: Configs config_local.py/config_system.py are ignored ?

 

Hi Ross,

 

Which setting are you trying to change?

Please refer to the link shared for the correct locations of the config filles.

 

On Tue, May 2, 2023 at 3:25 PM Ross Holder <RHolder@csir.co.za> wrote:

Hi, I also tried only adding the changed settings to the configs; did not work. The other configs are in the same directory as the main http://config.py file.

 

From: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Sent: Tuesday, May 2, 2023 11:03 AM
To: Ross Holder <RHolder@csir.co.za>
Cc: pgadmin-support@lists.postgresql.org
Subject: Re: Configs config_local.py/config_system.py are ignored ?

 

Hi Ross,

 

You should not copy http://config.py to create config_local or config_system. Start with a blank file and add only changed params.

Please check - https://www.pgadmin.org/docs/pgadmin4/7.0/config_py.html#the-config-py-file if you're putting the file in the correct locations for pgAdmin to pick.

 

 

On Tue, May 2, 2023 at 2:15 PM Ross Holder <RHolder@csir.co.za> wrote:

I am trying to modify settings of my pgadmin4 installation.

 

I made a copy of my http://config.py file as config_local.py and config_system.py but any settings I change inside these configs have no effect.

 

If I change the same settings within http://config.py, it works perfectly. What could be the issue, since one is not supposed to modify http://config.py?

 

 


 

--

Thanks,

Aditya Toshniwal

pgAdmin Hacker | Software Architect | edbpostgres.com

"Don't Complain about Heat, Plant a TREE"


 

--

Thanks,

Aditya Toshniwal

pgAdmin Hacker | Sr. Software Architect | enterprisedb.com

"Don't Complain about Heat, Plant a TREE"



--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Architect | enterprisedb.com
"Don't Complain about Heat, Plant a TREE"