Hi Zaid, I have already tried this approach.
Thanks, On Tue, May 20, 2025 at 7:00 PM Zaid Shabbir <zaidshab...@gmail.com> wrote: > Please clear the browser cache and try again. > > > > On Tue, 20 May 2025 at 6:02 PM, Daulat <daulat....@gmail.com> wrote: > >> 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@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, >> >> >>