Pgadmin4 Debian

From: Mark Murawski <markm-lists(at)intellasoft(dot)net>
To: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Pgadmin4 Debian
Date: 2020-04-22 16:42:56
Message-ID: 1d14dd85-d175-7a81-3301-c91cc2ae4ab6@intellasoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi!

pgadmin4 does not start up on debian buster

Process:
apt-get install pgadmin4

Get:2 http://apt.postgresql.org/pub/repos/apt buster-pgdg/main amd64
pgadmin4 amd64 4.18-1.pgdg100+1 [272 kB]
Get:3 http://apt.postgresql.org/pub/repos/apt buster-pgdg/main amd64
pgadmin4-common all 4.18-1.pgdg100+1 [3045 kB]

$ pgadmin4
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kobaz'
Python path:
"/home/kobaz/.virtualenvs/pgadmin4/lib/python3.4/site-packages:/usr/lib/python3/dist-packages"
Python Home: ""
Webapp path: "/usr/share/pgadmin4/web/pgAdmin4.py"
NOTE: Configuring authentication for DESKTOP mode.

pgAdmin splash pops up, and eventually says 'Taking longer than usual'.
'Almost there' and then dumps this:

The application server could not be contacted

I've tried cleaning out my pgadmin4 python path:
rm -rf /home/kobaz/.virtualenvs/pgadmin4

I've also tried startingconfig from scratch:
mv ~/.pgadmin ~/.pgadmin-old

This has not resolved the issue.

strace is showing a loop on:

poll([{fd=6, events=POLLIN}], 1, 0) = 0 (Timeout)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3545, ...}) = 0

Other items of note:

[pid 10122] connect(18, {sa_family=AF_INET, sin_port=htons(46311),
sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refused)

There's no firewall rules or other network type access restrictions on
this box.

For example as my non-root user I can:
nc -l -s 127.0.0.1 -p 46311

And then successfully connect to it with another nc

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2020-04-24 12:50:42 Drop Python 2 support in pgAdmin?
Previous Message Dave Page 2020-04-21 13:03:17 Re: Mystery "PostgreSQL 11" server keeps reappearing in pgAdmin 4 no matter how many times I delete it.