Обсуждение: Checking for newer versions online in pgAdmin4 3.3
Hello,
When pgAdmin4 starts, it checks online if there is a version that is newer than the currently installed/running.
How can I disable this feature in release 3.3? Let’s say the machine, I’m starting pgAdmin on, doesn’t have internet access.
Regards,
Igor Neyman
Hi On Mon, Jan 21, 2019 at 4:31 PM Igor Neyman <ineyman@perceptron.com> wrote: > > Hello, > > > > When pgAdmin4 starts, it checks online if there is a version that is newer than the currently installed/running. > > > > How can I disable this feature in release 3.3? Let’s say the machine, I’m starting pgAdmin on, doesn’t have internet access. Create (or edit if it exists) a file called config_local.py alongside config.py in your installation. Add the following line to that file: UPGRADE_CHECK_ENABLED = False -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
-----Original Message----- From: Dave Page [mailto:dpage@pgadmin.org] Sent: Monday, January 21, 2019 11:49 AM To: Igor Neyman <ineyman@perceptron.com> Cc: pgadmin-support@lists.postgresql.org Subject: Re: Checking for newer versions online in pgAdmin4 3.3 Hi On Mon, Jan 21, 2019 at 4:31 PM Igor Neyman <ineyman@perceptron.com> wrote: > > Hello, > > > > When pgAdmin4 starts, it checks online if there is a version that is newer than the currently installed/running. > > > > How can I disable this feature in release 3.3? Let’s say the machine, I’m starting pgAdmin on, doesn’t have internet access. Create (or edit if it exists) a file called config_local.py alongside config.py in your installation. Add the following lineto that file: UPGRADE_CHECK_ENABLED = False -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company ___________________________________________________________________________________________ Dave, Thank you so much. It worked. Is it mentioned any were in the docs? Regards, Igor Neyman
On Mon, Jan 21, 2019 at 5:02 PM Igor Neyman <ineyman@perceptron.com> wrote: > > -----Original Message----- > From: Dave Page [mailto:dpage@pgadmin.org] > Sent: Monday, January 21, 2019 11:49 AM > To: Igor Neyman <ineyman@perceptron.com> > Cc: pgadmin-support@lists.postgresql.org > Subject: Re: Checking for newer versions online in pgAdmin4 3.3 > > Hi > > On Mon, Jan 21, 2019 at 4:31 PM Igor Neyman <ineyman@perceptron.com> wrote: > > > > Hello, > > > > > > > > When pgAdmin4 starts, it checks online if there is a version that is newer than the currently installed/running. > > > > > > > > How can I disable this feature in release 3.3? Let’s say the machine, I’m starting pgAdmin on, doesn’t have internetaccess. > > Create (or edit if it exists) a file called config_local.py alongside config.py in your installation. Add the followingline to that file: > > UPGRADE_CHECK_ENABLED = False > > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company > ___________________________________________________________________________________________ > > Dave, > > Thank you so much. It worked. > Is it mentioned any were in the docs? Only indirectly. The docs on Desktop mode and Server mode both describe the config files and how you can override settings etc. and that config.py can be used as a reference. I grant you that's not overly easy to figure out in response to a query like yours though. Patches are always welcome of course :-) -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
On Mon, Jan 21, 2019 at 5:02 PM Igor Neyman <ineyman@perceptron.com> wrote: > > > Thank you so much. It worked. > Is it mentioned any were in the docs? Only indirectly. The docs on Desktop mode and Server mode both describe the config files and how you can override settingsetc. and that config.py can be used as a reference. I grant you that's not overly easy to figure out in response to a query like yours though. Patches are always welcome of course :-) -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company __________________________________________________________________________ You are probably right. I should have looked inside config.py, then I'd seen that setting. Thanks again, Igor N.