From: | Daulat <daulat(dot)dba(at)gmail(dot)com> |
---|---|
To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | pgAdmin4 Still Shows Old Version After Upgrade |
Date: | 2025-05-20 13:02:41 |
Message-ID: | CALfOM6LcyB_ND8XA11oiAAmOjgreN3cydft6n-YfeQjVEP_21Q@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi All,
I have upgraded pgAdmin4 from version 6.7 to 9.2 on Ubuntu 20.04. However,
when I access pgAdmin4 from the browser (https//127.0.0.1/pgadmin4) it
still opens version 6.7. I followed the steps below to perform the upgrade "
--------------------
Upgrade Steps:
--------------------
sudo apt update
sudo apt list pgadmin4
curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo
gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg
sudo apt upgrade pgadmin4
dpkg: warning: unable to delete old directory '/var/lib/ubuntu-advantage':
Directory not empty
dpkg: warning: unable to delete old directory '/etc/ubuntu-advantage':
Directory not empty
dpkg: warning: unable to delete old directory '/var/lib/fwupd': Directory
not empty
sudo /usr/pgadmin4/bin/setup-web.sh
Setting up pgAdmin 4 in web mode on a Debian based platform...
Creating configuration database...
pgAdmin 4 - Application Initialisation
======================================
Creating storage and log directories...
We can now configure the Apache Web server for you. This involves enabling
the wsgi module and configuring the pgAdmin 4 application to mount at
/pgadmin4. Do you wish to continue (y/n)? y
The Apache web server is running and must be restarted for the pgAdmin 4
installation to complete. Continue (y/n)? y
Apache successfully restarted. You can now start using pgAdmin 4 in web
mode at http://127.0.0.1/pgadmin4
ubuntu(at)ip-10-28-0-38:~$
*Verification*:
apt list --installed | grep pgadmin4
WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.
libpq-dev/pgadmin4,now 17.4-1.pgdg20.04+2 amd64 [installed]
libpq5/pgadmin4,now 17.4-1.pgdg20.04+2 amd64 [installed,automatic]
pgadmin4-desktop/pgadmin4,now 9.2 amd64 [installed,automatic]
pgadmin4-server/pgadmin4,now 9.2 amd64 [installed,automatic]
pgadmin4-web/pgadmin4,now 9.2 all [installed,automatic]
pgadmin4/pgadmin4,now 9.2 all [installed]
Thanks,
From | Date | Subject | |
---|---|---|---|
Next Message | Zaid Shabbir | 2025-05-20 13:30:25 | Re: pgAdmin4 Still Shows Old Version After Upgrade |
Previous Message | Pravesh Sharma | 2025-05-20 05:16:07 | Regarding issue #6510 |