Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uHNUg-0019lJ-Kg for pgadmin-hackers@arkaria.postgresql.org; Tue, 20 May 2025 13:58:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uHNUf-006uDz-89 for pgadmin-hackers@arkaria.postgresql.org; Tue, 20 May 2025 13:58:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uHNUf-006uDr-0P for pgadmin-hackers@lists.postgresql.org; Tue, 20 May 2025 13:58:57 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uHNUc-002xS3-0b for pgadmin-hackers@postgresql.org; Tue, 20 May 2025 13:58:56 +0000 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5faa590dbb2so1092446a12.1 for ; Tue, 20 May 2025 06:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747749533; x=1748354333; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wLcuCyfqUXV9cn/9I4ZUhntsZHjjQyeNBwi405niJTk=; b=MYE/c6x3cB/QEvqJ+0UFz4IHiWdsKpREF2aDBh6vqXQw++dKQaPRB3+3TvinS9cSmw WKJ0/v5UTRjzgkTsHNu7yghhQtCQAbveNLVYlk4Qikk9FaXB/I7Sq5CSnN6216fcUUZA mAnGk8WBvRb382Jaw1JWZ88f9DAfAfe3UE6ZtZxOhP24IPR4/3pcpxNn2h7Ax4+tvCvG 8QMUqdmXQdB8nGLifq5X4jf2OuSASy15M5NPe+UXjNW/q4Es9vBuj1v38SQ4Y2qwVLBH TXXwNvJnyyfjNze2zhg8zbXU3/qyxJGDeG3m34lMQsDYHSEsR2i5TH7qSwcGLGOyOdj8 CO2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747749533; x=1748354333; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wLcuCyfqUXV9cn/9I4ZUhntsZHjjQyeNBwi405niJTk=; b=ATltv3lUldr22u/vwa5OUgDVmq6/iwUrR1W1qDe5oCl6iE0byM6jYtDUhVTFkK/Fxw tfMeC+IXzcDaLl3thXd6EfFbHr91KfO4uobFOV8npSXB5+2GDWfcFPqOkGV0FyPTX1qa cyVVwMeMZZ+HGvAs+9I6xAFecUqfrW/YV3h+olntQwqIx23USFRxwQP5AINenZWkrLGW sySOhaEoOyF/A8sHdEKInIZAkAU/iy+IqiY4g9HGYAGIva4qyzC3THiYTq+L5+Yj7VO3 V8cebC65KoG2p1Mf+IfGSFLBoHvUZHrXMed2Q54z+XvofrdfaY2MuUlRkyBDvYhg4TN6 /4iw== X-Gm-Message-State: AOJu0YxHMkRor7JOY+mdAWBHXhccbTaK6+xyDtOIxX9+dyX09aXXPQgw TDcO9O9bWDY4SRmTD7UoEn1Q1TcvdIHETAGeA0p1S7BkrkBhInsVgx4hqI4hsckT1zVsO90nzii GrGSFpptpy/MhcEy5owW2EYwPg0GxfL8= X-Gm-Gg: ASbGncuVtG1onL4ib4T2EedMOpSPCIdxNMqOUysQbfsXQXETuedG+ObnhQXyvinS63P m2nKLO4c/epH4t5tT9bH+K4CGNCx/iz2Zl3zb1pIOpoRe1ZKJtimKWVW6xTdWI6QK1P9L/Z7CfM XrwlWkHfG9+jjw5JctfwNtNbM2sZKFGp932g== X-Google-Smtp-Source: AGHT+IFR8vGPNqRYE/yP+y3gb+U5viFt1TvaIeVLcQdRy3uTnw7jYpyZnolFktjTJGt/BiokWY3Fx/tj9A5jKTtiNTg= X-Received: by 2002:a05:6402:2712:b0:601:f196:157 with SMTP id 4fb4d7f45d1cf-601f1960221mr2080250a12.5.1747749533031; Tue, 20 May 2025 06:58:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Daulat Date: Tue, 20 May 2025 19:28:40 +0530 X-Gm-Features: AX0GCFsh4aJkRsnc6_hUhB7zlGQ4bHc8norToRtq9oQ-UJhKkgR50Qedt5NlNx0 Message-ID: Subject: Re: pgAdmin4 Still Shows Old Version After Upgrade To: Zaid Shabbir Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="00000000000012a350063591a6be" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000012a350063591a6be Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Zaid, I have already tried this approach. Thanks, On Tue, May 20, 2025 at 7:00=E2=80=AFPM Zaid Shabbir wrote: > Please clear the browser cache and try again. > > > > On Tue, 20 May 2025 at 6:02=E2=80=AFPM, Daulat wro= te: > >> 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': Director= y >> 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 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> 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 mo= unt >> 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, >> >> >> --00000000000012a350063591a6be Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi=C2=A0Zaid,

I have already tried this approach.

Thanks,

On Tue, May 20, 202= 5 at 7:00=E2=80=AFPM Zaid Shabbir <zaidshabbir@gmail.com> wrote:
Please clear the browser cache a= nd try again.


=

O= n Tue, 20 May 2025 at 6:02=E2=80=AFPM, Daulat <daulat.dba@gmail.com> wrote:

Hi= All,

I have upgraded pgAdmin4 from version 6.7 to 9.2 on Ubuntu 20.0= 4. However, when I access pgAdmin4 from the browser (ht= tps//127.0.0.1/pgadmin4)=C2=A0it still opens version 6.7. I followed th= e steps below to perform the upgrade "

--------------------
U= pgrade Steps:
--------------------

sudo apt update
sudo apt li= st pgadmin4
curl -fsS https://www.pgadmin.org/static/packages= _pgadmin_org.pub | sudo gpg --dearmor -o /usr/share/keyrings/packages-p= gadmin-org.gpg
sudo apt upgrade pgadmin4

dpkg: warning: unable to= delete old directory '/var/lib/ubuntu-advantage': Directory not em= pty
dpkg: warning: unable to delete old directory '/etc/ubuntu-advan= tage': Directory not empty

dpkg: warning: unable to delete old d= irectory '/var/lib/fwupd': Directory not empty

sudo /usr/pga= dmin4/bin/setup-web.sh

Setting up pgAdmin 4 in web mode on a Debian = based platform...
Creating configuration database...
pgAdmin 4 - Appl= ication Initialisation
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

C= reating storage and log directories...
We can now configure the Apache W= eb server for you. This involves enabling the wsgi module and configuring t= he 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 pgA= dmin 4 installation to complete. Continue (y/n)? y
Apache successfully r= estarted. You can now start using pgAdmin 4 in web mode at http://127.0.0.1/pgadmin4
ub= untu@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 [insta= lled,automatic]
pgadmin4-desktop/pgadmin4,now 9.2 amd64 [installed,autom= atic]
pgadmin4-server/pgadmin4,now 9.2 amd64 [installed,automatic]
pg= admin4-web/pgadmin4,now 9.2 all [installed,automatic]
pgadmin4/pgadmin4,= now 9.2 all [installed]


Thanks,


--00000000000012a350063591a6be--