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 1tCw59-00Eelv-L3 for pgadmin-support@arkaria.postgresql.org; Mon, 18 Nov 2024 07:21: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 1tCw56-003R9i-Rv for pgadmin-support@arkaria.postgresql.org; Mon, 18 Nov 2024 07:21:57 +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 1tCw56-003R9Z-F0 for pgadmin-support@lists.postgresql.org; Mon, 18 Nov 2024 07:21:57 +0000 Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tCw53-002TeV-BM for pgadmin-support@postgresql.org; Mon, 18 Nov 2024 07:21:55 +0000 Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-e38866c8b2dso962669276.2 for ; Sun, 17 Nov 2024 23:21:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1731914512; x=1732519312; 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=lnwwN42SDMrCAoEd0X5ZC8uJxi+cvyDQv3sM70HhD5M=; b=CLTAn8HM+/2/K3NBkwfjXz1PsC61eecHqZgQE93wosHH3RgBBnWQjyu0yRyg3bn9L2 +2KBKixnHHirRNcMc9duj/AJItPvxzDsshmK3dvn9mmtyA0mMMWpiaVLbhvttfB9hosK SLRpFUy3URgpgXv7D0qsahiSpnARSzttDQw8qgojpl3hTa844VBAfJbnEJ2FDL5I+2tx zSgrPVPRSkbnHylMm2OTMvwP1JL+VY+W8aJ6jbyUsfTTFP/sEfnnLi+zE4VCwmkwDSqJ 69K2wjhNg3yAlytUAu0PFr1maS+75z5uIfh2o5tCy0i3bcmwPDv9zEBe8xYOeKIHZ+JV v2bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731914512; x=1732519312; 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=lnwwN42SDMrCAoEd0X5ZC8uJxi+cvyDQv3sM70HhD5M=; b=VSXzv2j/2xhsdETqHLuGcyGse0JXYVHaK1cgu3rKRJklImPDWl+RtMUeliSfWo7019 w/yGkBq4+IauuX2s/Kdeb1gvBUKR+Tw247tsHkpUhCtF9USZpWiDrN8yPPRYMozqu6pw BiXLmHfF/RJHCR1Al2TruZHX4ugnMZYzuLFK44Mr4vVtObwI6nKB8L+PS6MRPYa9PKsa hR/oxFkBuzrX4cJkshJGbS9bmCkPu3Q3WfKFcXKztxdtAqVJmoY8ZADhpu1wclYO49i5 rsZO+amE6GE9tfqN4iUc5Ks60wzL/Ae77mBh3C2UdlqPLAH29lYe4+wtXudT4+KC7MGv Vofg== X-Gm-Message-State: AOJu0YyAqqM5uu6kmjxEPTS3d/6mmyt35+nSBoG0ru+f1YzQXFhWGzwL /BkFPZV5CJTHWBB1Kt6ZTrVuqplGzzixXkOHQfvlwCIbBgEQZDIaJ3hz+YsoAK/INUUA5qFQpe5 nOCbzB6S1ROTnpcvGrrGaQYdKkg8tyCz8kcSk X-Google-Smtp-Source: AGHT+IH299tTpZ/mbUqar5BIt17yngJdJRDGsLgutlpH+ga03W6/+JU6y3qDQAfqlHj9S+3InbAeDtOV/gBRQOdssnk= X-Received: by 2002:a05:6902:2012:b0:e30:e0ab:8eed with SMTP id 3f1490d57ef6-e382612cccamr9199840276.17.1731914512292; Sun, 17 Nov 2024 23:21:52 -0800 (PST) MIME-Version: 1.0 References: <1ca92999-e329-40a8-a388-302f9bb55e2e@gmail.com> <909690a7-3dbc-4f75-97b1-b5829d41df97@gmail.com> In-Reply-To: <909690a7-3dbc-4f75-97b1-b5829d41df97@gmail.com> From: Khushboo Vashi Date: Mon, 18 Nov 2024 12:51:41 +0530 Message-ID: Subject: Re: Cannot Run pgAdmin4 v8.13 on AlmaLinux 8 after upgrade from v8.12 To: Surya Widyanto Cc: pgAdmin Support Content-Type: multipart/alternative; boundary="00000000000049750206272ac590" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000049750206272ac590 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Mon, Nov 18, 2024 at 12:24=E2=80=AFPM Surya Widyanto = wrote: > Hi Vashi, > > Yes, I can confirm it is installed with version: > libpq5.x86_64 - v16.3-43PGDG.rhel8 > During the pgAdmin upgrade on your system, the libpq5 should have been upgraded to the latest (v17), which didn't happen in your case. Can you please upgrade libpq5 to the latest version? It should fix this issue. Thanks, Khushboo > > Regards, > ayrus02 > > On 18-11-2024 13:48, Khushboo Vashi wrote: > > Is libpq5 installed on your system? > > On Mon, Nov 18, 2024 at 12:11=E2=80=AFPM Surya Widyanto wrote: > >> Hi, >> >> Today, I've upgraded my pgAdmin4 version from v8.12 to v8.13 using dnf o= n >> AlmaLinux 8. >> >> My pgAdmin4 is installed as web mode and accessed via Apache. >> >> After upgrading to v8.13, when I access the pgAdmin4 address from web >> browser, it give an error 500. When I look at the error log, it contains >> the line below: >> >> mod_wsgi (pid=3D3535715): Failed to exec Python script file >> '/usr/pgadmin4/web/pgAdmin4.wsgi'. >> mod_wsgi (pid=3D3535715): Exception occurred processing WSGI script >> '/usr/pgadmin4/web/pgAdmin4.wsgi'. >> Traceback (most recent call last): >> ImportError: no pq wrapper available. >> Attempts made: >> - couldn't import psycopg 'c' implementation: >> /usr/pgadmin4/venv/lib64/python3.9/site-packages/psycopg_c/ >> pq.cpython-39-x86_64-linux-gnu.so: undefined symbol: PQchangePassword >> - couldn't import psycopg 'binary' implementation: No module named >> 'psycopg_binary' >> - couldn't import psycopg 'python' implementation: >> >> The primary concern is at *undefined symbol: PQchangePassword* >> >> Is there any bug or I have do the update wrongly? >> >> Regards, >> ayrus02 >> > > --00000000000049750206272ac590 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

On Mon, Nov 18, 2024 at 12:24=E2=80=AFPM Surya Wid= yanto <ayrus02@gmail.com> wr= ote:
=20 =20 =20
Hi Vashi,

Yes, I can confirm it is installed with version:
libpq5.x86_64 - v16.3-43PGDG.rhel8

During the pgAdmin upgrade on you= r system, the libpq5 should have been upgraded to the latest (v17), which d= idn't happen in your case.
Can you please upgrade libpq5 to t= he latest version? It should fix this issue.

Thank= s,
Khushboo
=20
Is libpq5 installed on your system?

On Mon, Nov 18, 2024 at 12:11=E2=80=AFPM Surya Widyanto <ayrus02@gmail.com> wrote:

Hi,

Today, I've upgraded my pgAdmin4 version from v8.12 to v8.13 using dnf on AlmaLinux 8.

My pgAdmin4 is installed as web mode and accessed via Apache.

After upgrading to v8.13, when I access the pgAdmin4 address from web browser, it give an error 500. When I look at the error log, it contains the line below:

mod_wsgi (pid=3D3535715): Failed to exec Python script file '/usr/pgadmin4/web/pgAdmin4.wsgi'.
mod_wsgi (pid=3D3535715): Exception occurred processing WSGI script '/usr/pgadmin4/web/pgAdmin4.wsgi'. Traceback (most recent call last):
ImportError: no pq wrapper available.
Attempts made:
- couldn't import psycopg 'c' implementation: /usr/pgadmin4/venv/lib64/python3.9/site-packages/psycopg_c/pq.cpython-39-x86_64= -linux-gnu.so: undefined symbol: PQchangePassword
- couldn't import psycopg 'binary' implementa= tion: No module named 'psycopg_binary'
- couldn't import psycopg 'python' implementa= tion:

The primary concern is at undefined symbol: PQchangePassword

Is there any bug or I have do the update wrongly?

Regards,
ayrus02


--00000000000049750206272ac590--