Upgrade Netbox 4.4 to 4.4.1 fails because of upgrade pscyopg/psycopg-c from 3.2.9 to 3.2.10 #20424
Unanswered
GvC-cg
asked this question in
Help Wanted!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to upgrade yesterday Netbox 4.3.7 to Netbox 4.4.1 but got an error. So in the end I first upgraded Netbox 4.3.7 to 4.4. This went without any trouble at all. But the moment I try to upgrade 4.4 to 4.4.1 I again get below error.
File "/opt/netbox/venv/lib/python3.10/site-packages/django/db/backends/postgresql/base.py", line 332, in get_new_connection
connection = self.Database.connect(**conn_params)
File "/opt/netbox/venv/lib/python3.10/site-packages/psycopg/connection.py", line 131, in connect
and rv.pgconn.used_gssapi
File "psycopg_c/pq/pgconn.pyx", line 224, in psycopg_c.pq.PGconn.used_gssapi. get
File "psycopg_c/pq/pgconn.pyx", line 38, in psycopg_c.pq._check_supported
django.db.utils.NotSupportedError: PQconnectionUsedGSSAPI requires libpq from PostgreSQL 16.0 on the client; version 13.20 available instead
After putting in /opt/netbox/local_requirements.txt the old versions of psycopq (see below) I had no trouble in upgrading Netbox to 4.4.1.
psycopg==3.2.9
psycopg-c==3.2.9
Anyone else familiar with that phenomenon?
Regards,
Gerard
Beta Was this translation helpful? Give feedback.
All reactions