On 3/26/21 11:00 AM, Carlos Montenegro wrote:
> Hello Adrian.
> First I installed postgresql version 12.6 then for pgadmin4 followed
> this guide: https://www.pgadmin.org/download/pgadmin-4-apt/
> <https://www.pgadmin.org/download/pgadmin-4-apt/>
There are three choices in the above as to what mode to install as,
please indicate which one you chose as well as the command executed.
>
> So, when try to open pgadmin have the next message:
>
> The PgAdmin4 server could not be contacted:
>
> pgAdmin Runtime Environment
> --------------------------------------------------------
> Python Path: "/usr/pgadmin4/venv/bin/python3"
> Runtime Config File: "/home/ics-debian/.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:
> - USER: ics-debian
> - LANGUAGE: es_NI:es
> - XDG_SEAT: seat0
> - XDG_SESSION_TYPE: x11
> - SSH_AGENT_PID: 1330
> - HOME: /home/ics-debian
> - DESKTOP_SESSION: lightdm-xsession
> - XDG_SEAT_PATH: /org/freedesktop/DisplayManager/Seat0
> - GTK_MODULES: gail:atk-bridge
> - DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
> - GLADE_MODULE_PATH: :
> - LOGNAME: ics-debian
> - XDG_SESSION_CLASS: user
> - XDG_SESSION_ID: 2
> - PATH: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
> - GLADE_PIXMAP_PATH: :
> - XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session0
> - XDG_RUNTIME_DIR: /run/user/1000
> - XDG_MENU_PREFIX: xfce-
> - LANG: es_NI.UTF-8
> - XDG_CURRENT_DESKTOP: XFCE
> - XDG_SESSION_DESKTOP: lightdm-xsession
> - XAUTHORITY: /home/ics-debian/.Xauthority
> - XDG_GREETER_DATA_DIR: /var/lib/lightdm/data/ics-debian
> - SSH_AUTH_SOCK: /tmp/ssh-7U4tMKJqlRu8/agent.1299
> - GLADE_CATALOG_PATH: :
> - SHELL: /bin/bash
> - GDMSESSION: lightdm-xsession
> - QT_ACCESSIBILITY: 1
> - XDG_VTNR: 7
> - PWD: /home/ics-debian
> - XDG_DATA_DIRS:
> /usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share
> - XDG_CONFIG_DIRS: /etc/xdg
> - SESSION_MANAGER:
> local/ics-debian:@/tmp/.ICE-unix/1340,unix/ics-debian:/tmp/.ICE-unix/1340
> - DISPLAY: :0.0
> - GDK_BACKEND: x11
> - NO_AT_BRIDGE: 1
> - PGADMIN_INT_PORT: 5433
> - PGADMIN_INT_KEY: f6b73bcd-abb3-42b8-9bf2-c8d47536c80e
> - PGADMIN_SERVER_MODE: OFF
> --------------------------------------------------------
>
> Failed to launch pgAdmin4. Error:
> Error: spawn /usr/pgadmin4/venv/bin/python3 ENOENT
>
> Thank you in advance,
> Carlos
>
--
Adrian Klaver
adrian.klaver@aklaver.com