Thread: pgadmin4 client can't start server

pgadmin4 client can't start server

From
wambacher@posteo.de
Date:

Hi,

The current version 4.11 and 4.x before does not start the server on Ubuntu.

When starting pgadmin4 in a terminal window "pgadmin4" three splash screens open with  "Starting pgAdmin4 server...", "Taking longer than usual...', 'Almost there..." and then "The Application server could not be contacted".

"pgadmin -h" or "pgadmin --help" did not help (options just ignored), "man pgadmin4" is a  "no info".

And i can't find any log files to see what's going on.

regards

wambacher

IIRC pgAdmin3 was ok.

Re: pgadmin4 client can't start server

From
Aditya Toshniwal
Date:
Hi,

Could you please share log files having name like - .pgadmin.startup and .pgadmin.<number>. You'll find these files in your user home directory.

On Fri, Jul 26, 2019 at 5:04 PM <wambacher@posteo.de> wrote:

Hi,

The current version 4.11 and 4.x before does not start the server on Ubuntu.

When starting pgadmin4 in a terminal window "pgadmin4" three splash screens open with  "Starting pgAdmin4 server...", "Taking longer than usual...', 'Almost there..." and then "The Application server could not be contacted".

"pgadmin -h" or "pgadmin --help" did not help (options just ignored), "man pgadmin4" is a  "no info".

And i can't find any log files to see what's going on.

regards

wambacher

IIRC pgAdmin3 was ok.



--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Re: pgadmin4 client can't start server

From
Mark Murawski
Date:
I had the same problem.  Just installed the .deb and I'm running on
buster and I accidentally was using the stretch repository.

I updated to the buster pgadmin4 repo and now it's loading.

Make sure your distro matches the package.




On 7/26/19 7:54 AM, Aditya Toshniwal wrote:
> Hi,
>
> Could you please share log files having name like - .pgadmin.startup and
> .pgadmin.<number>. You'll find these files in your user home directory.
>
> On Fri, Jul 26, 2019 at 5:04 PM <wambacher@posteo.de
> <mailto:wambacher@posteo.de>> wrote:
>
>     Hi,
>
>     The current version 4.11 and 4.x before does not start the server on
>     Ubuntu.
>
>     When starting pgadmin4 in a terminal window "pgadmin4" three splash
>     screens open with  "Starting pgAdmin4 server...", "Taking longer
>     than usual...', 'Almost there..." and then "The Application server
>     could not be contacted".
>
>     "pgadmin -h" or "pgadmin --help" did not help (options just
>     ignored), "man pgadmin4" is a  "no info".
>
>     And i can't find any log files to see what's going on.
>
>     regards
>
>     wambacher
>
>     IIRC pgAdmin3 was ok.
>
>     --
>     My projects:
>
>     Admin Boundaries of the World
>     <https://wambachers-osm.website/boundaries>
>     Missing Boundaries
>     <https://wambachers-osm.website/index.php/projekte/internationale-administrative-grenzen/missing-boundaries>
>     Emergency Map <https://wambachers-osm.website/emergency>
>     Postal Code Map (Germany only) <https://wambachers-osm.website/plz>
>     Fools (QA for zipcodes in Germany)
>     <https://wambachers-osm.website/fools>
>     Postcode Boundaries of Germany
>     <https://wambachers-osm.website/pcoundaries>
>     OSM Software Watchlist
>     <https://wambachers-osm.website/index.php/osm-software-watchlist>
>
>
>
> --
> Thanks and Regards,
> Aditya Toshniwal
> Software Engineer | EnterpriseDB India | Pune
> "Don't Complain about Heat, Plant a TREE"





Re: pgadmin4 client can't start server

From
wambacher@posteo.de
Date:


Am 26.07.19 um 13:54 schrieb Aditya Toshniwal:
Hi,

Could you please share log files having name like - .pgadmin.startup and .pgadmin.<number>. You'll find these files in your user home directory.

trying my best:

Startup:

wambacher@server2:~$ pgadmin4
Python path:  "/usr/lib/python3/dist-packages"
Python Home:  ""
Webapp path:  "/usr/share/pgadmin4/web/pgAdmin4.py"
NOTE: Configuring authentication for DESKTOP mode.
wambacher@server2:~$

.pgAdmin4.startup.log

26.07.2019 19:00:18 Checking for system tray...
26.07.2019 19:00:18 Starting pgAdmin4 server...
26.07.2019 19:00:18 Creating server object, port:33507, key:eaa7af0c-4427-477f-952e-b83e36370cdd, logfile:/home/wambacher/.pgAdmin4.
154980911848556348.log
26.07.2019 19:00:18 Python Path: /usr/lib/python3/dist-packages
26.07.2019 19:00:18 Python Home:
26.07.2019 19:00:18 Initializing Python...
26.07.2019 19:00:18 Python initialized.
26.07.2019 19:00:18 Adding new additional path elements
26.07.2019 19:00:18 Redirecting stderr...
26.07.2019 19:00:18 stderr redirected successfully.
26.07.2019 19:00:18 Initializing server...
26.07.2019 19:00:18 Webapp Path: /usr/share/pgadmin4/web/pgAdmin4.py
26.07.2019 19:00:18 Server initialized.
26.07.2019 19:00:18 Starting Server Thread...
26.07.2019 19:00:18 Open the application code and run it.
26.07.2019 19:00:18 Set the port number, key and force SERVER_MODE off
26.07.2019 19:00:18 PyRun_SimpleFile launching application server...
26.07.2019 19:00:19 Application Server URL: http://127.0.0.1:33507/?key=eaa7af0c-4427-477f-952e-b83e36370cdd
26.07.2019 19:00:19 The server should be up, we'll attempt to connect and get a response. Ping the server
26.07.2019 19:00:25 Failed to launch the application server, server thread exiting.
26.07.2019 19:01:50 Attempt to connect one more time in case of a long network timeout while looping

/home/wambacher/.pgadmin/pgadmin4.log   is empty

sessions and storage too.

pgadmin4.db is containing data

Re: pgadmin4 client can't start server

From
wambacher@posteo.de
Date:


Am 26.07.19 um 17:57 schrieb Mark Murawski:
I had the same problem.  Just installed the .deb and I'm running on buster and I accidentally was using the stretch repository.

I updated to the buster pgadmin4 repo and now it's loading.

Make sure your distro matches the package.

Running Ubuntu 19.4 and installed using packet manager. Got version 4.11-1.pgdg18.04+1

is there a better repo availiable?

Re: pgadmin4 client can't start server

From
Aditya Toshniwal
Date:
Hi,

I would suggest removing the ".pgadmin" directory from user home directory and try again. Other things looks fine.

On Fri, Jul 26, 2019 at 10:49 PM <wambacher@posteo.de> wrote:


Am 26.07.19 um 17:57 schrieb Mark Murawski:
I had the same problem.  Just installed the .deb and I'm running on buster and I accidentally was using the stretch repository.

I updated to the buster pgadmin4 repo and now it's loading.

Make sure your distro matches the package.

Running Ubuntu 19.4 and installed using packet manager. Got version 4.11-1.pgdg18.04+1

is there a better repo availiable?



--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Re: pgadmin4 client can't start server

From
wambacher@posteo.de
Date:

Am 29.07.19 um 07:26 schrieb Aditya Toshniwal:

Hi,

I would suggest removing the ".pgadmin" directory from user home directory and try again. Other things looks fine.

That was the first i did. And then i told you the results.

regards
walter