Domanda

New versions of pgAdmin 4 are being released every month, and it's so annoying to see a popup with notification about another update. There's no option in preferences to disable it. Is there a trick to disable this particular popup, except installing the new version?

enter image description here

È stato utile?

Soluzione

Add this line to config_local.py and restart the pgadmin4:

UPGRADE_CHECK_ENABLED=False

Note: The location of config_local.py is same as config.py. You can find the location of config.py with this command in linux:

$ find / -wholename "*/web/config.py" 2>/dev/null

If the config_local.py file doesn't exist yet, you can create one.

Altri suggerimenti

In Windows you can change this value directly in the config.py file found in: \%ProgramFiles%\PostgreSQL\version\pgAdmin\web**config.py**

If you're using the dpage/pgadmin4 Docker image, adding an environment variable disabled the check and notification.

PGADMIN_CONFIG_UPGRADE_CHECK_ENABLED=False

PGADMIN_CONFIG_ is further documented at:

https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a dba.stackexchange
scroll top