pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Carlos Montenegro <carlos.montenegro.hmil@gmail.com>
Cc: Ray O'Donnell <ray@rodonnell.ie>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Hello - About how to install PgAdmin4 on Debian 10
Date: Fri, 26 Mar 2021 11:54:37 -0700
Message-ID: <45a15cdd-4c63-60e1-9731-a8971ae99a69@aklaver.com> (raw)
In-Reply-To: <CAAG12LZ6tt7xbUi_bQ8XYShVWo+5-Up0Y817EJqCy42bFwaYNg@mail.gmail.com>
References: <CAAG12LaqUwd1RoTmeUFJ0H5b2A9HPfbmJFmCZE+qD3UH9jNW=Q@mail.gmail.com>
	<de8d6c5a-0fa7-8066-2e11-7155b693eef6@rodonnell.ie>
	<CAAG12LaD55r5GdhiUwbF+VL4tdAbOLkLvHsf+JUisYkCctZ=bg@mail.gmail.com>
	<7a6d8d57-506a-c9bd-91ee-d304889f0002@rodonnell.ie>
	<CAAG12La5Zejb31Wc3snxp4sfAYgSFBhXr1f0umA-KmzQQM7BqQ@mail.gmail.com>
	<a1178b99-ab79-7ffa-aaf2-ca5c16679981@aklaver.com>
	<CAAG12LaCpCvmoZ+gEiiBGyvD9N77uWbq1Kn+9XkA2U25X1T=_w@mail.gmail.com>
	<e772e33e-58ba-825d-f392-f83ee6c5cdf7@aklaver.com>
	<CAAG12LZ6tt7xbUi_bQ8XYShVWo+5-Up0Y817EJqCy42bFwaYNg@mail.gmail.com>

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





view thread (16+ messages)  latest in thread

Message-ID: <45a15cdd-4c63-60e1-9731-a8971ae99a69@aklaver.com>
Permalink:  ../45a15cdd-4c63-60e1-9731-a8971ae99a69@aklaver.com/
Also on:    postgresql.org/message-id/45a15cdd-4c63-60e1-9731-a8971ae99a69@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, carlos.montenegro.hmil@gmail.com, ray@rodonnell.ie
  Subject: Re: Hello - About how to install PgAdmin4 on Debian 10
  In-Reply-To: <45a15cdd-4c63-60e1-9731-a8971ae99a69@aklaver.com>
  References: <CAAG12LaqUwd1RoTmeUFJ0H5b2A9HPfbmJFmCZE+qD3UH9jNW=Q@mail.gmail.com> <de8d6c5a-0fa7-8066-2e11-7155b693eef6@rodonnell.ie> <CAAG12LaD55r5GdhiUwbF+VL4tdAbOLkLvHsf+JUisYkCctZ=bg@mail.gmail.com> <7a6d8d57-506a-c9bd-91ee-d304889f0002@rodonnell.ie> <CAAG12La5Zejb31Wc3snxp4sfAYgSFBhXr1f0umA-KmzQQM7BqQ@mail.gmail.com> <a1178b99-ab79-7ffa-aaf2-ca5c16679981@aklaver.com> <CAAG12LaCpCvmoZ+gEiiBGyvD9N77uWbq1Kn+9XkA2U25X1T=_w@mail.gmail.com> <e772e33e-58ba-825d-f392-f83ee6c5cdf7@aklaver.com> <CAAG12LZ6tt7xbUi_bQ8XYShVWo+5-Up0Y817EJqCy42bFwaYNg@mail.gmail.com> <45a15cdd-4c63-60e1-9731-a8971ae99a69@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox