From: | Daulat <daulat(dot)dba(at)gmail(dot)com> |
---|---|
To: | Zaid Shabbir <zaidshabbir(at)gmail(dot)com> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: pgAdmin4 Still Shows Old Version After Upgrade |
Date: | 2025-05-20 13:58:40 |
Message-ID: | CALfOM6LGWb5XCaYGgkj4vXGRUytc5ykgein6B7YDHpHZSpHFpw@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi Zaid,
I have already tried this approach.
Thanks,
On Tue, May 20, 2025 at 7:00 PM Zaid Shabbir <zaidshabbir(at)gmail(dot)com> wrote:
> Please clear the browser cache and try again.
>
>
>
> On Tue, 20 May 2025 at 6:02 PM, Daulat <daulat(dot)dba(at)gmail(dot)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(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 | Usman Khan | 2025-05-20 15:37:46 | Re: Regarding issue #6510 |
Previous Message | Zaid Shabbir | 2025-05-20 13:30:25 | Re: pgAdmin4 Still Shows Old Version After Upgrade |