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 1uHN3L-0010kh-Hl for pgadmin-hackers@arkaria.postgresql.org; Tue, 20 May 2025 13:30:44 +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 1uHN3K-006nL8-8b for pgadmin-hackers@arkaria.postgresql.org; Tue, 20 May 2025 13:30:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uHN3J-006nKr-U0 for pgadmin-hackers@lists.postgresql.org; Tue, 20 May 2025 13:30:42 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uHN3H-002lA4-0l for pgadmin-hackers@postgresql.org; Tue, 20 May 2025 13:30:41 +0000 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-ad5273c1fd7so914056666b.1 for ; Tue, 20 May 2025 06:30:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747747838; x=1748352638; 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=omUTTTZaxop+JqzjtOVh1xUHWBCNFo3TUNXmILPGbLE=; b=UmDDMW79bGtTjrCfMN9+c9WJ/NwYBEQMq4b3bSGc1ynocqE8WKRP/AqXRFjgkUW2mf AZ3orO0uTVhVoAdiptOXUHjTt+4l+ZWvM2bBTJGXW5rfb6YReHLAPuhAULMyRpQtERu+ EaqpZbymdhoFomOrgwaBSraQNmYBgf5DYV/YZIo4reJHglS02ZrG0oaV5GAt9P/mk5Bi kbFnTM51YW16KkXgzyERTpjsOGxeMf8tcT9HC8pWqP9pbi7yxiOPg3s8ijEQ4DWenj6R SF+jgTpDslA89qadRLQ/3PjoZniX27OTXpLGL4Q5vvmwzeg1VfIFifEprjdCiKeMzjNR K+4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747747838; x=1748352638; 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=omUTTTZaxop+JqzjtOVh1xUHWBCNFo3TUNXmILPGbLE=; b=AD041LQLR1KDgDhaBymCpnuFq12oqAJz1mUD+Mf3pGxGyv+5A/wCjRKWI6SKVXy2vb fi06O7ZHkilKSZa8jT/Cfvg2shMnIWY6bLdnT9h5RxDS1xTUe6mM4jyp+L12V6yh9fb0 tEYmNODN2oceOuIf12s/FLo7gd0EVnoFn5qI6E9bHXdhW6Oima2ehFhY7YIMINUBRcJp nDRqQsWOtE8PFgh00zQyJnjoViaN9rXGjhFXhla8ltgAwb4ZJhQClF+CGnh4BR3RIaef ELuFhy55q0ahAvUd2zV0EypZq6QvMK8zUvUvhXGnRdM8wZbPazUlqlB9CV5U4+LIhKj2 R7wA== X-Gm-Message-State: AOJu0YzTGaAX19Fd+Lr2gUbWcB+8/VZIzmnP0mBXS37EywWYiL4wXj9h 9lhUe1IAO/3G/TDmCFe6By88GlCqznNmWyg+QZaOOQ06HSMj/2LbPHcGaVXZxXxxlyuqrCdnTpU cWzLqYbuKEqqtrqeDEufobuJ3qilcL4A= X-Gm-Gg: ASbGnculEBo+O7ZPvZp+2AMYOReLT9IPNzmFs66lwwWbwFm6skaKmxUa7st3OxzE3Oa YZ19eN4uYI1S25PKx+96Ff2b0qucxxC+Sv5tfLPu+9g/q6RuTKkGE+WEyMEQrcCBuXtFKWjnjJD /Y604cK88W6X5kPrZnNYnb+CzjYeFAQd1zU8t2nBK6KMAG7wL7CAOozMkamXmWkZUOQ95Oq529b us= X-Google-Smtp-Source: AGHT+IHAs7Op+6D6yhQtaXBToVAdZ7Y0qe8keZMaWR2/TUghV5IqaHe81e2TYHoVENH9EABWb7vOYKJURp0t2SCkmpE= X-Received: by 2002:a17:907:97ca:b0:ace:cc7f:8abe with SMTP id a640c23a62f3a-ad536c22d77mr1389913866b.31.1747747838183; Tue, 20 May 2025 06:30:38 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Zaid Shabbir Date: Tue, 20 May 2025 18:30:25 +0500 X-Gm-Features: AX0GCFsYrFVIwMGL5TlbU6f76ic18dSwMIyjYKqL2OcRI_m3Bla43vhptlarGUE Message-ID: Subject: Re: pgAdmin4 Still Shows Old Version After Upgrade To: Daulat Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="0000000000000d4c6b06359141e0" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000000d4c6b06359141e0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Please clear the browser cache and try again. On Tue, 20 May 2025 at 6:02=E2=80=AFPM, Daulat 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 upgrad= e " > > -------------------- > 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 > =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 enablin= g > 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, > > > --0000000000000d4c6b06359141e0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Please clear the browser cache and try again.



On T= ue, 20 May 2025 at 6:02=E2=80=AFPM, Daulat <daulat.dba@gmail.com> wrote:

Hi All,

I have upgraded pgAdmin4 fr= om version 6.7 to 9.2 on Ubuntu 20.04. However, when I access pgAdmin4 from= the browser (https//127.0.0.1/pgadmin4)=C2=A0it st= ill opens version 6.7. I followed the steps below to perform the upgrade &q= uot;

--------------------
Upgrade Steps:
--------------------
sudo apt update
sudo apt list pgadmin4
curl -fsS htt= ps://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearm= or -o /usr/share/keyrings/packages-pgadmin-org.gpg
sudo apt upgrade pgad= min4

dpkg: warning: unable to delete old directory '/var/lib/ubu= ntu-advantage': Directory not empty
dpkg: warning: unable to delete = old directory '/etc/ubuntu-advantage': Directory not empty

d= pkg: warning: unable to delete old directory '/var/lib/fwupd': Dire= ctory not empty

sudo /usr/pgadmin4/bin/setup-web.sh

Setting u= p pgAdmin 4 in web mode on a Debian based platform...
Creating configura= tion 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...<= br>We can now configure the Apache Web server for you. This involves enabli= ng the wsgi module and configuring the pgAdmin 4 application to mount at /p= gadmin4. Do you wish to continue (y/n)? y
The Apache web server is runni= ng and must be restarted for the pgAdmin 4 installation to complete. Contin= ue (y/n)? y
Apache successfully restarted. You can now start using pgAdm= in 4 in web mode at http://127.0.0.1/pgadmin4
ubuntu@ip-10-28-0-38:~$

Verifica= tion:

apt list --installed | grep pgadmin4

WARNING: apt do= es not have a stable CLI interface. Use with caution in scripts.

lib= pq-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/pga= dmin4,now 9.2 amd64 [installed,automatic]
pgadmin4-server/pgadmin4,now 9= .2 amd64 [installed,automatic]
pgadmin4-web/pgadmin4,now 9.2 all [instal= led,automatic]
pgadmin4/pgadmin4,now 9.2 all [installed]


<= p>Thanks,


--0000000000000d4c6b06359141e0--