pgadmin4
pgadmin4 copied to clipboard
pgadmin4 not working after upgrade to Ubuntu 24.04 Noble
After upgrade to Ubuntu 24.04 Noble the existing installation has stopped working and is throwing error below:
pgAdmin Runtime Environment
Python Path: "/usr/pgadmin4/venv/bin/python3" Runtime Config File: "/home/xxx/.config/pgadmin/runtime_config.json" pgAdmin Config File: "/usr/pgadmin4/web/config.py" Webapp Path: "/usr/pgadmin4/web/pgAdmin4.py" pgAdmin Command: "/usr/pgadmin4/venv/bin/python3 -s /usr/pgadmin4/web/pgAdmin4.py" Environment:
- HOME: /home/xxx
- LANG: en_GB.UTF-8
- LC_ADDRESS: en_IN.UTF-8
- LC_IDENTIFICATION: en_IN.UTF-8
- LC_MEASUREMENT: en_IN.UTF-8
- LC_MONETARY: en_IN.UTF-8
- LC_NAME: en_IN.UTF-8
- LC_NUMERIC: en_IN.UTF-8
- LC_PAPER: en_IN.UTF-8
- LC_TELEPHONE: en_IN.UTF-8
- LC_TIME: en_IN.UTF-8
- LOGNAME: xxx
- PATH: xxx
- SHELL: /bin/bash
- USER: xxx
- XDG_RUNTIME_DIR: /run/user/1000
- GTK_MODULES: gail:atk-bridge
- QT_ACCESSIBILITY: 1
- XDG_DATA_DIRS: /usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
- DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
- DEBUGINFOD_URLS: https://debuginfod.ubuntu.com
- DESKTOP_SESSION: ubuntu
- GDMSESSION: ubuntu
- GNOME_DESKTOP_SESSION_ID: this-is-deprecated
- GNOME_SHELL_SESSION_MODE: ubuntu
- GSM_SKIP_SSH_AGENT_WORKAROUND: true
- IM_CONFIG_PHASE: 1
- LANGUAGE: en_GB:en
- LIBVIRT_DEFAULT_URI: qemu:///system
- PAPERSIZE: a4
- PWD: /home/xx
- QT_IM_MODULE: ibus
- SESSION_MANAGER: local/xxxxxxx:@/tmp/.ICE-unix/1585,unix/xxxxxxx:/tmp/.ICE-unix/1585
- SHLVL: 0
- SSH_AUTH_SOCK: /run/user/1000/keyring/ssh
- USERNAME: xx
- XDG_CONFIG_DIRS: /etc/xdg/xdg-ubuntu:/etc/xdg
- XDG_CURRENT_DESKTOP: ubuntu:GNOME
- XDG_MENU_PREFIX: gnome-
- XDG_SESSION_CLASS: user
- XDG_SESSION_DESKTOP: ubuntu
- XDG_SESSION_TYPE: wayland
- XMODIFIERS: @im=ibus
- _: /usr/bin/gnome-session
- MANAGERPID: 1357
- INVOCATION_ID: 453a3ffc985a457291e377c28aec5b81
- JOURNAL_STREAM: 8:14840
- SYSTEMD_EXEC_PID: 1625
- MEMORY_PRESSURE_WATCH: /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/session.slice/[email protected]/memory.pressure
- MEMORY_PRESSURE_WRITE: c29tZSAyMDAwMDAgMjAwMDAwMAA=
- GJS_DEBUG_OUTPUT: stderr
- GJS_DEBUG_TOPICS: JS ERROR;JS LOG
- GNOME_SETUP_DISPLAY: :1
- DISPLAY: :0
- XAUTHORITY: /run/user/1000/.mutter-Xwaylandauth.Y5NFM2
- WAYLAND_DISPLAY: wayland-0
- GIO_LAUNCHED_DESKTOP_FILE: /usr/share/applications/pgadmin4.desktop
- GIO_LAUNCHED_DESKTOP_FILE_PID: 15250
- GDK_BACKEND: x11
- NO_AT_BRIDGE: 1
- PGADMIN_INT_PORT: 36893
- PGADMIN_INT_KEY: 61652ca5-4788-4855-b84c-879a28f99ebb
- PGADMIN_SERVER_MODE: OFF
Total spawn time to start the pgAdmin4 server: 0.021 Sec Failed to launch pgAdmin4. Error: Error: spawn /usr/pgadmin4/venv/bin/python3 ENOENT
same
For me also. I upgraded from 23.10 to 22.04 today. when i try to install pgadmin4, it was not at all installing.
Update : It's 24.04 not 22.04. My mistake
I`ve get 'The repository 'https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/noble pgadmin4 Release' does not have a Release file.'
UPD: Install Dbeaver.
Echoing this. I do see on the downloads that 24 is not yet listed for support. Any indication when it will be supported? Thanks
Same issue on ubuntu 24.04
pgAdmin Runtime Environment
Python Path: "/usr/pgadmin4/venv/bin/python3" Runtime Config File: "/home/fuat/.config/pgadmin/runtime_config.json" pgAdmin Config File: "/usr/pgadmin4/web/config.py" Webapp Path: "/usr/pgadmin4/web/pgAdmin4.py" pgAdmin Command: "/usr/pgadmin4/venv/bin/python3 -s /usr/pgadmin4/web/pgAdmin4.py" Environment:
- HOME: /home/fuat
- LANG: tr_TR.UTF-8
- LOGNAME: fuat
- PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
- SHELL: /bin/bash
- USER: fuat
- XDG_RUNTIME_DIR: /run/user/1000
- GTK_MODULES: gail:atk-bridge
- QT_ACCESSIBILITY: 1
- XDG_DATA_DIRS: /usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
- DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
- DEBUGINFOD_URLS: https://debuginfod.ubuntu.com
- DESKTOP_SESSION: ubuntu
- GDMSESSION: ubuntu
- GNOME_DESKTOP_SESSION_ID: this-is-deprecated
- GNOME_SHELL_SESSION_MODE: ubuntu
- GSM_SKIP_SSH_AGENT_WORKAROUND: true
- IM_CONFIG_PHASE: 1
- PWD: /home/fuat
- QT_IM_MODULE: ibus
- SESSION_MANAGER: local/fuat-IdeaPad-1-15ALC7:@/tmp/.ICE-unix/1973,unix/fuat-IdeaPad-1-15ALC7:/tmp/.ICE-unix/1973
- SHLVL: 0
- SSH_AUTH_SOCK: /run/user/1000/keyring/ssh
- USERNAME: fuat
- XDG_CONFIG_DIRS: /etc/xdg/xdg-ubuntu:/etc/xdg
- XDG_CURRENT_DESKTOP: ubuntu:GNOME
- XDG_MENU_PREFIX: gnome-
- XDG_SESSION_CLASS: user
- XDG_SESSION_DESKTOP: ubuntu
- XDG_SESSION_TYPE: wayland
- XMODIFIERS: @im=ibus
- _: /usr/bin/gnome-session
- MANAGERPID: 1750
- INVOCATION_ID: b0bf3880a1d94a78a676bc4c5a998521
- JOURNAL_STREAM: 8:16319
- SYSTEMD_EXEC_PID: 2016
- MEMORY_PRESSURE_WATCH: /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/session.slice/[email protected]/memory.pressure
- MEMORY_PRESSURE_WRITE: c29tZSAyMDAwMDAgMjAwMDAwMAA=
- GJS_DEBUG_OUTPUT: stderr
- GJS_DEBUG_TOPICS: JS ERROR;JS LOG
- GNOME_SETUP_DISPLAY: :1
- DISPLAY: :0
- XAUTHORITY: /run/user/1000/.mutter-Xwaylandauth.SAURM2
- WAYLAND_DISPLAY: wayland-0
- GIO_LAUNCHED_DESKTOP_FILE: /usr/share/applications/pgadmin4.desktop
- GIO_LAUNCHED_DESKTOP_FILE_PID: 23283
- GDK_BACKEND: x11
- NO_AT_BRIDGE: 1
- PGADMIN_INT_PORT: 42773
- PGADMIN_INT_KEY: 6fc6b587-4913-4160-9630-ce71d685b18c
- PGADMIN_SERVER_MODE: OFF
Total spawn time to start the pgAdmin4 server: 0.008 Sec Failed to launch pgAdmin4. Error: Error: spawn /usr/pgadmin4/venv/bin/python3 ENOENT
any update on support to ubuntu 24.04?
Same thing, I just installed Ubuntu 24.04 and I can't find how to install pgadmin4!!...Would it have been a good idea to install Ubuntu 24.04?
HI @sanjayminni,
Please share the output of ls -l /usr/pgadmin4/venv/bin/python3
Hi @adityatoshniwal output is lrwxrwxrwx 1 root root 19 Apr 1 17:21 /usr/pgadmin4/venv/bin/python3 -> /usr/bin/python3.11
HI @sanjayminni, Please share the output of
ls -l /usr/pgadmin4/venv/bin/python3
Hi @adityatoshniwal output is lrwxrwxrwx 1 root root 19 Apr 1 17:21 /usr/pgadmin4/venv/bin/python3 -> /usr/bin/python3.11
HI @sanjayminni, Please share the output of
ls -l /usr/pgadmin4/venv/bin/python3
And is the /usr/bin/python3.11
present? I'm suspecting the symlink is broken after upgrade. Please give the output for ls -l /usr/bin/python*
Ubuntu Noble is not yet supported by pgAdmin. So this is a feature and not a bug. One can check the supported versions here - https://www.pgadmin.org/download/pgadmin-4-apt/
Hi @adityatoshniwal output is lrwxrwxrwx 1 root root 19 Apr 1 17:21 /usr/pgadmin4/venv/bin/python3 -> /usr/bin/python3.11
HI @sanjayminni, Please share the output of
ls -l /usr/pgadmin4/venv/bin/python3
And is the
/usr/bin/python3.11
present? I'm suspecting the symlink is broken after upgrade. Please give the output forls -l /usr/bin/python*
@adityatoshniwal Here is the output: lrwxrwxrwx 1 root root 10 Apr 12 18:59 /usr/bin/python3 -> python3.12 -rwxr-xr-x 1 root root 8019136 Apr 10 11:03 /usr/bin/python3.12 (Ok seems python 3.11 has been upgraded to python 3.12)
@sanjayminni, run the following commands and then try:
rm -f /usr/pgadmin4/venv/bin/python3
ln -s /usr/bin/python3 /usr/pgadmin4/venv/bin/python3
@adityatoshniwal
Ubuntu Noble is not yet supported by pgAdmin. So this is a feature and not a bug. One can check the supported versions here - https://www.pgadmin.org/download/pgadmin-4-apt/
I do wish pgAdmin would not be so tied to OS release - IIRC pgadmin broke down on the previous 2 Ubuntu releases also and the mantic fix took a while. Its a catch-22 situation between installing an OS release upgrade only if pgadmin supports the os and knowing if pgadmin4 works on the release - ... or other way is to wait till pgadmin lists the OS version as supported.
@sanjayminni, run the following commands and then try:
rm -f /usr/pgadmin4/venv/bin/python3 ln -s /usr/bin/python3 /usr/pgadmin4/venv/bin/python3
Nope I get The pgAdmin 4 server could not be contacted:
pgAdmin Runtime Environment
Python Path: "/usr/pgadmin4/venv/bin/python3" Runtime Config File: "/home/sm/.config/pgadmin/runtime_config.json" pgAdmin Config File: "/usr/pgadmin4/web/config.py" Webapp Path: "/usr/pgadmin4/web/pgAdmin4.py" pgAdmin Command: "/usr/pgadmin4/venv/bin/python3 -s /usr/pgadmin4/web/pgAdmin4.py" Environment:
- HOME: /home/sm
- LANG: en_GB.UTF-8
- LC_ADDRESS: en_IN.UTF-8
- LC_IDENTIFICATION: en_IN.UTF-8
- LC_MEASUREMENT: en_IN.UTF-8
- LC_MONETARY: en_IN.UTF-8
- LC_NAME: en_IN.UTF-8
- LC_NUMERIC: en_IN.UTF-8
- LC_PAPER: en_IN.UTF-8
- LC_TELEPHONE: en_IN.UTF-8
- LC_TIME: en_IN.UTF-8
- LOGNAME: sm
- PATH: /home/sm/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
- SHELL: /bin/bash
- USER: sm
- XDG_RUNTIME_DIR: /run/user/1000
- GTK_MODULES: gail:atk-bridge
- QT_ACCESSIBILITY: 1
- XDG_DATA_DIRS: /usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
- DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
- DEBUGINFOD_URLS: https://debuginfod.ubuntu.com
- DESKTOP_SESSION: ubuntu
- GDMSESSION: ubuntu
- GNOME_DESKTOP_SESSION_ID: this-is-deprecated
- GNOME_SHELL_SESSION_MODE: ubuntu
- GSM_SKIP_SSH_AGENT_WORKAROUND: true
- IM_CONFIG_PHASE: 1
- LANGUAGE: en_GB:en
- LIBVIRT_DEFAULT_URI: qemu:///system
- PAPERSIZE: a4
- PWD: /home/sm
- QT_IM_MODULE: ibus
- SESSION_MANAGER: local/smDD1u:@/tmp/.ICE-unix/1668,unix/smDD1u:/tmp/.ICE-unix/1668
- SHLVL: 0
- SSH_AUTH_SOCK: /run/user/1000/keyring/ssh
- USERNAME: sm
- XDG_CONFIG_DIRS: /etc/xdg/xdg-ubuntu:/etc/xdg
- XDG_CURRENT_DESKTOP: ubuntu:GNOME
- XDG_MENU_PREFIX: gnome-
- XDG_SESSION_CLASS: user
- XDG_SESSION_DESKTOP: ubuntu
- XDG_SESSION_TYPE: wayland
- XMODIFIERS: @im=ibus
- _: /usr/bin/gnome-session
- MANAGERPID: 1444
- INVOCATION_ID: 776f13cc4714413d8c20274f11156d64
- JOURNAL_STREAM: 8:14221
- SYSTEMD_EXEC_PID: 1701
- MEMORY_PRESSURE_WATCH: /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/session.slice/[email protected]/memory.pressure
- MEMORY_PRESSURE_WRITE: c29tZSAyMDAwMDAgMjAwMDAwMAA=
- GJS_DEBUG_OUTPUT: stderr
- GJS_DEBUG_TOPICS: JS ERROR;JS LOG
- GNOME_SETUP_DISPLAY: :1
- DISPLAY: :0
- XAUTHORITY: /run/user/1000/.mutter-Xwaylandauth.D89UM2
- WAYLAND_DISPLAY: wayland-0
- GIO_LAUNCHED_DESKTOP_FILE: /usr/share/applications/pgadmin4.desktop
- GIO_LAUNCHED_DESKTOP_FILE_PID: 7842
- GDK_BACKEND: x11
- NO_AT_BRIDGE: 1
- PGADMIN_INT_PORT: 37199
- PGADMIN_INT_KEY: 6d336b07-ca1d-40e8-9eec-00df7165ea70
- PGADMIN_SERVER_MODE: OFF
Total spawn time to start the pgAdmin4 server: 0.02 Sec
Traceback (most recent call last):
File "/usr/pgadmin4/web/pgAdmin4.py", line 48, in
import config
File "/usr/pgadmin4/web/config.py", line 33, in
@adityatoshniwal
Ubuntu Noble is not yet supported by pgAdmin. So this is a feature and not a bug. One can check the supported versions here - https://www.pgadmin.org/download/pgadmin-4-apt/
I do wish pgAdmin would not be so tied to OS release - IIRC pgadmin broke down on the previous 2 Ubuntu releases also and the mantic fix took a while. Its a catch-22 situation between installing an OS release upgrade only if pgadmin supports the os and knowing if pgadmin4 works on the release - ... or other way is to wait till pgadmin lists the OS version as supported.
There's a lot of effort involved in supporting one OS version as we need to make changes in build machines and also test the release builds (which may require changes in code as well if things doesn't work). What we need to do better is to be aware of next major release date so we can plan things accordingly.
I do understand and appreciate the effort and complexity involved. I am using quite a few tools which seem to work across.
anyway any idea by when this may get working or a workaround suggested thanks
I do understand and appreciate the effort and complexity involved. I am using quite a few tools which seem to work across.
anyway any idea by when this may get working or a workaround suggested thanks
I have raised a bug here - https://github.com/pgadmin-org/pgadmin4/issues/7439. We'll test the upgrade scenario at our end.
@sanjayminni
WA is to install python version 3.11.
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.11
After this pgAdmin will be working. If you have still issue then, check symlink for venv as below
$ ls -l /usr/pgadmin4/venv/bin/python3
lrwxrwxrwx 1 root root 19 Apr 1 17:21 /usr/pgadmin4/venv/bin/python3 -> /usr/bin/python3.11
$
To correct the symlinks run
ln -s /usr/bin/python3.11 /usr/pgadmin4/venv/bin/python3
worked thanks
note on line
ln -s /usr/bin/python3.11 /usr/pgadmin4/venv/bin/python3
i got the error message
ln: failed to create symbolic link '/usr/pgadmin4/venv/bin/python3': File exists
so i deleted the file
sudo rm /usr/pgadmin4/venv/bin/python3
and then reran
it worked
After upgrade to Ubuntu 24.04 Noble the existing installation has stopped working and is throwing error below:
pgAdmin Runtime Environment
Python Path: "/usr/pgadmin4/venv/bin/python3" Runtime Config File: "/home/xxx/.config/pgadmin/runtime_config.json" pgAdmin Config File: "/usr/pgadmin4/web/config.py" Webapp Path: "/usr/pgadmin4/web/pgAdmin4.py" pgAdmin Command: "/usr/pgadmin4/venv/bin/python3 -s /usr/pgadmin4/web/pgAdmin4.py" Environment:
- HOME: /home/xxx
- LANG: en_GB.UTF-8
- LC_ADDRESS: en_IN.UTF-8
- LC_IDENTIFICATION: en_IN.UTF-8
- LC_MEASUREMENT: en_IN.UTF-8
- LC_MONETARY: en_IN.UTF-8
- LC_NAME: en_IN.UTF-8
- LC_NUMERIC: en_IN.UTF-8
- LC_PAPER: en_IN.UTF-8
- LC_TELEPHONE: en_IN.UTF-8
- LC_TIME: en_IN.UTF-8
- LOGNAME: xxx
- PATH: xxx
- SHELL: /bin/bash
- USER: xxx
- XDG_RUNTIME_DIR: /run/user/1000
- GTK_MODULES: gail:atk-bridge
- QT_ACCESSIBILITY: 1
- XDG_DATA_DIRS: /usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
- DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
- DEBUGINFOD_URLS: https://debuginfod.ubuntu.com
- DESKTOP_SESSION: ubuntu
- GDMSESSION: ubuntu
- GNOME_DESKTOP_SESSION_ID: this-is-deprecated
- GNOME_SHELL_SESSION_MODE: ubuntu
- GSM_SKIP_SSH_AGENT_WORKAROUND: true
- IM_CONFIG_PHASE: 1
- LANGUAGE: en_GB:en
- LIBVIRT_DEFAULT_URI: qemu:///system
- PAPERSIZE: a4
- PWD: /home/xx
- QT_IM_MODULE: ibus
- SESSION_MANAGER: local/xxxxxxx:@/tmp/.ICE-unix/1585,unix/xxxxxxx:/tmp/.ICE-unix/1585
- SHLVL: 0
- SSH_AUTH_SOCK: /run/user/1000/keyring/ssh
- USERNAME: xx
- XDG_CONFIG_DIRS: /etc/xdg/xdg-ubuntu:/etc/xdg
- XDG_CURRENT_DESKTOP: ubuntu:GNOME
- XDG_MENU_PREFIX: gnome-
- XDG_SESSION_CLASS: user
- XDG_SESSION_DESKTOP: ubuntu
- XDG_SESSION_TYPE: wayland
- XMODIFIERS: @im=ibus
- _: /usr/bin/gnome-session
- MANAGERPID: 1357
- INVOCATION_ID: 453a3ffc985a457291e377c28aec5b81
- JOURNAL_STREAM: 8:14840
- SYSTEMD_EXEC_PID: 1625
- MEMORY_PRESSURE_WATCH: /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/session.slice/[email protected]/memory.pressure
- MEMORY_PRESSURE_WRITE: c29tZSAyMDAwMDAgMjAwMDAwMAA=
- GJS_DEBUG_OUTPUT: stderr
- GJS_DEBUG_TOPICS: JS ERROR;JS LOG
- GNOME_SETUP_DISPLAY: :1
- DISPLAY: :0
- XAUTHORITY: /run/user/1000/.mutter-Xwaylandauth.Y5NFM2
- WAYLAND_DISPLAY: wayland-0
- GIO_LAUNCHED_DESKTOP_FILE: /usr/share/applications/pgadmin4.desktop
- GIO_LAUNCHED_DESKTOP_FILE_PID: 15250
- GDK_BACKEND: x11
- NO_AT_BRIDGE: 1
- PGADMIN_INT_PORT: 36893
- PGADMIN_INT_KEY: 61652ca5-4788-4855-b84c-879a28f99ebb
- PGADMIN_SERVER_MODE: OFF
Total spawn time to start the pgAdmin4 server: 0.021 Sec Failed to launch pgAdmin4. Error: Error: spawn /usr/pgadmin4/venv/bin/python3 ENOENT
Having same Issue
@adityatoshniwal
Ubuntu Noble is not yet supported by pgAdmin. So this is a feature and not a bug. One can check the supported versions here - https://www.pgadmin.org/download/pgadmin-4-apt/
I do wish pgAdmin would not be so tied to OS release - IIRC pgadmin broke down on the previous 2 Ubuntu releases also and the mantic fix took a while. Its a catch-22 situation between installing an OS release upgrade only if pgadmin supports the os and knowing if pgadmin4 works on the release - ... or other way is to wait till pgadmin lists the OS version as supported.
There's a lot of effort involved in supporting one OS version as we need to make changes in build machines and also test the release builds (which may require changes in code as well if things doesn't work). What we need to do better is to be aware of next major release date so we can plan things accordingly.
yeah we have to be a bit patient with this they always get there, there will be a new release for 24.04 soon meanwhile do what I do keep checking their sight for the release and use a machine virtual or otherwise with an earlier ubuntu to run pgAmin4
any idea when pgadmin4 will be released for ubuntu 24.04?
any idea when pgadmin4 will be released for ubuntu 24.04?
We are targeting Ubuntu 24.04 for the June release.
any idea when pgadmin4 will be released for ubuntu 24.04?
Update your pgadmin4 to the latest version 8.6. Just released yesterday.
its working now.
any idea when pgadmin4 will be released for ubuntu 24.04?
Update your pgadmin4 to the latest version 8.6. Just released yesterday.
its working now.
Steps please... :(
any idea when pgadmin4 will be released for ubuntu 24.04?
Update your pgadmin4 to the latest version 8.6. Just released yesterday. its working now.
Steps please... :(
sudo apt update sudo apt upgrade
if not work, then purge pgadmin4 and do fresh install
any idea when pgadmin4 will be released for ubuntu 24.04?
Update your pgadmin4 to the latest version 8.6. Just released yesterday. its working now.
Steps please... :(
sudo apt update sudo apt upgrade
if not work, then purge pgadmin4 and do fresh install
I tried to install on a fresh installed Ubuntu 24.04 but still same issue for me.
I followed the steps here: https://www.pgadmin.org/download/pgadmin-4-apt/
I had to use version mantic instead of nobel since it was not released yet. What version where you using?
This version I used: https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/mantic/
I will also make an attempt to install from source. But since you wrote that you just updated and upgraded I assume that you use the packet manager also.
I just installed python3.11 aside native python.12 and pointed the symbolic link to python3.11 instead. It worked.
for me the solution it to use another Postgres DB client, like DBeaver... Waiting for June it too much, and installing python3.11 also is not really good variant, because there are other problems with it