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 1tCxtw-00EqFS-PG for pgadmin-support@arkaria.postgresql.org; Mon, 18 Nov 2024 09:18:32 +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 1tCxtt-003tbt-QN for pgadmin-support@arkaria.postgresql.org; Mon, 18 Nov 2024 09:18:30 +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 1tCxtt-003tbl-Ax for pgadmin-support@lists.postgresql.org; Mon, 18 Nov 2024 09:18:30 +0000 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tCxtq-002Uag-SC for pgadmin-support@postgresql.org; Mon, 18 Nov 2024 09:18:28 +0000 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-71e467c3996so2911641b3a.2 for ; Mon, 18 Nov 2024 01:18:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731921506; x=1732526306; darn=postgresql.org; h=in-reply-to:disposition-notification-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=O2PIMRTdOY/Rb5intBuk+v1SODnTSxbsvh17+54WbPk=; b=iU9u9ibk1fOdzF1C5iMjalLzqSiLEcnZgdXpXIFGcb4GrlNMKl5vEFlvKH+nfrxq8m t+ih9jEp6mGaYbq8Zk7qK4liOiAJMxEdAUCJNqTh1TVD0ep6BX/NVd8ArEJrwC7W0RwF CRCGRDHle1klg6w0f3Vy9c8L+wQMtimnJ7/lFSgAM1kFJg0RcSdYtuZxWIlqMgV872fD 896If52U2L1gzaNGlR/GgkBh1+OzHK1JF2zvctgiYH79/oB0n+uqFgraA47LH7uKqIHn M+GTBwA6NQQtwJmlc8lCRL89gSdLAujEO0Oi/8LyyoZ1SNigaNnFFWSrq/zrf/L0x5uO moOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731921506; x=1732526306; h=in-reply-to:disposition-notification-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=O2PIMRTdOY/Rb5intBuk+v1SODnTSxbsvh17+54WbPk=; b=hs5snM293UF+Gvtq92YISerteBCtQVa0DkuKl+ht1GFJ3VRKWGeytJxznIhh4y5QYe meMf5r4C3vik17x3dsHx88zw0/AV69P1a5LmTtLQWwRXii7YsjimfK/sd8WGiNyRYdNT TPRSJTdZKtJmvnq+jnls4Y1M3NDeeFAcLSJm9dMNxtWBgPeidp5o6im7abcIAEpo6sNj 8dWfMUHKUcNWa/eJHH/wk1LloCv8aUjXpNqqDuaUg3fZGHXZLMoVfVf6Tx+QZ6veuRbl LASqc8NhZQ6kAOf1tz6LulOFa9+YzHDtuLvxBSEVR5c9Bvf617El3ekHgCromaKuLvGX MdlQ== X-Gm-Message-State: AOJu0Yze9IIc9HUyj8m4MUJN6YLdC68plipm/NTtn27NzMSZQsWhDYcE f+ANHd74NksMMkKjkjwsIDEFwtQuIi4JZyqdFboue27BLsgkHYjJ X-Google-Smtp-Source: AGHT+IFJlss1v+Czk/3RH5Ym7gVPeP4uLqVpsZ+RATUNB9uKVXNl+CrsZsJobwsV/FVudyxGH3g/Aw== X-Received: by 2002:a05:6a00:10d5:b0:71e:79a8:1d84 with SMTP id d2e1a72fcca58-72476b82471mr15903888b3a.3.1731921505406; Mon, 18 Nov 2024 01:18:25 -0800 (PST) Received: from [10.0.12.15] ([158.140.184.2]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-724771bfdfdsm5935401b3a.129.2024.11.18.01.18.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Nov 2024 01:18:25 -0800 (PST) Content-Type: multipart/alternative; boundary="------------F0ordQyslRj7QLpeV3w1aLRr" Message-ID: <3dd1d051-875a-4d9c-bfee-1753ace8a615@gmail.com> Date: Mon, 18 Nov 2024 16:18:07 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Cannot Run pgAdmin4 v8.13 on AlmaLinux 8 after upgrade from v8.12 To: Khushboo Vashi Cc: pgAdmin Support References: <1ca92999-e329-40a8-a388-302f9bb55e2e@gmail.com> <909690a7-3dbc-4f75-97b1-b5829d41df97@gmail.com> <2bf48205-a8ad-49fc-a5d8-ada1bee6573d@gmail.com> From: Surya Widyanto Content-Language: en-US Disposition-Notification-To: Surya Widyanto In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------F0ordQyslRj7QLpeV3w1aLRr Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, Below are the output of *dnf list libpq5** on my AlmaLinux 8 (x64) machine: Last metadata expiration check: 3:28:40 ago on Mon 18 Nov 2024 12:43:19 PM WIB. Installed Packages libpq5.x86_64 - 17.0-43PGDG.rhel8 - @pgAdmin4 Available Packages libpq5-devel.x86_64 - 17.0-43PGDG.rhel8 - pgAdmin4 libpq5-devel.x86_64 - 17.0-43PGDG.rhel8 - pgdg-common And below are the output of *dnf list libpq5** on my AlmaLinux 9 (x64) machine: Last metadata expiration check: 0:38:20 ago on Sen 18 Nov 2024 03:33:43 . Installed Packages libpq5.x86_64 - 17.0-43PGDG.rhel9 - @pgdg-common Available Packages libpq5-devel.x86_64 - 17.0-43PGDG.rhel9 - pgAdmin4 libpq5-devel.x86_64 - 17.0-43PGDG.rhel9 - pgdg-common Regards, ayrus02 On 18-11-2024 16:06, Khushboo Vashi wrote: > > > On Mon, Nov 18, 2024 at 1:13 PM Surya Widyanto wrote: > > Hi, > > I've upgraded the libpq5 to version 17.0-43PGDG.rhel8 > I've also restart the apache server. > > > What's the output of `yum list libpq5*` ? > > > But the problem still exist. With the same error in log file. > > I've also can confirm that this also happened on my other server > running AlmaLinux 9 (x64). > My other server also has libpq5 with version 17.0-43PGDG.rhel9 and > also running as Web Mode via Apache. > > Regards, > ayrus02 > > On 18-11-2024 14:21, Khushboo Vashi wrote: >> Hi, >> >> On Mon, Nov 18, 2024 at 12:24 PM 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 PM Surya Widyanto >>> 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=3535715): Failed to exec Python script >>> file '/usr/pgadmin4/web/pgAdmin4.wsgi'. >>> mod_wsgi (pid=3535715): 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* >>> * >>> >> > --------------F0ordQyslRj7QLpeV3w1aLRr Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Hi,

Below are the output of dnf list libpq5* on my AlmaLinux 8 (x64) machine:

Last metadata expiration check: 3:28:40 ago on Mon 18 Nov 2024 12:43:19 PM WIB.
Installed Packages
libpq5.x86_64 - 17.0-43PGDG.rhel8 - @pgAdmin4
Available Packages
libpq5-devel.x86_64 - 17.0-43PGDG.rhel8 - pgAdmin4
libpq5-devel.x86_64 - 17.0-43PGDG.rhel8 - pgdg-common


And below are the output of dnf list libpq5* on my AlmaLinux 9 (x64) machine:

Last metadata expiration check: 0:38:20 ago on Sen 18 Nov 2024 03:33:43 .
Installed Packages
libpq5.x86_64 - 17.0-43PGDG.rhel9 - @pgdg-common
Available Packages
libpq5-devel.x86_64 - 17.0-43PGDG.rhel9 - pgAdmin4
libpq5-devel.x86_64 - 17.0-43PGDG.rhel9 - pgdg-common


Regards,
ayrus02

On 18-11-2024 16:06, Khushboo Vashi wrote:


On Mon, Nov 18, 2024 at 1:13 PM Surya Widyanto <ayrus02@gmail.com> wrote:
Hi,

I've upgraded the libpq5 to version 17.0-43PGDG.rhel8
I've also restart the apache server.

What's the output of `yum list libpq5*` ?

But the problem still exist. With the same error in log file.

I've also can confirm that this also happened on my other server running AlmaLinux 9 (x64).
My other server also has libpq5 with version 17.0-43PGDG.rhel9 and also running as Web Mode via Apache.

Regards,
ayrus02

On 18-11-2024 14:21, Khushboo Vashi wrote:
Hi,

On Mon, Nov 18, 2024 at 12:24 PM Surya Widyanto <ayrus02@gmail.com> 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 PM 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=3535715): Failed to exec Python script file '/usr/pgadmin4/web/pgAdmin4.wsgi'.
mod_wsgi (pid=3535715): 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




--------------F0ordQyslRj7QLpeV3w1aLRr--