Re: pgAdmin4 won't start after OS upgrade - Mailing list pgadmin-support

From Dave Page
Subject Re: pgAdmin4 won't start after OS upgrade
Date
Msg-id CA+OCxozu7Np-UZkyxWfTSgMf6SrJiBjvyTvqqBsnAgEvNXLv8w@mail.gmail.com
Whole thread Raw
In response to Re: pgAdmin4 won't start after OS upgrade  (Bo Guo <bo.guo@gisticinc.com>)
Responses pgAdmin4 presents blank screen after login  (Bo Guo <bo.guo@gisticinc.com>)
List pgadmin-support
Please post your question to a new thread rather than replying to an existing one so people don't get confused.

Thanks.

On Wed, Sep 2, 2020 at 1:58 AM Bo Guo <bo.guo@gisticinc.com> wrote:

Hi there,

pgAdmin4 acted up today when I start using it mid afternoon - I was presented a "blank" page after login (see image below).  We tried different browsers on different OS with the same issue.  Please kindly advise.

My server is Ubuntu 18.04 and here is the content of file "/etc/apt/sources.list.d/pgdg.list"

deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main

On 9/1/20 9:07 AM, Dave Page wrote:


On Tue, Sep 1, 2020 at 5:03 PM Ray O'Donnell <ray@rodonnell.ie> wrote:
On 01/09/2020 16:58, Dave Page wrote:
> Hi
>
> On Tue, Sep 1, 2020 at 4:33 PM Ray O'Donnell <ray@rodonnell.ie
> <mailto:ray@rodonnell.ie>> wrote:
>
>     Hi all,
>
>     I upgraded my laptop yesterday from Debian 9 to 10 (Buster), and now
>     pgAdmin4 won't start. It tries to start for a while, and then I get a
>     little dialog saying "An error occurred initialising the pgAdmin server:
>     Failed to launch the application server, server thread exiting."

<snip>

>
>
> Probably due to the library differences in stretch vs. buster. 
>
> I would remove the existing pgAdmin packages with dpkg, then
> edit /etc/apt/sources.list.d/pgadmin4.list and correct the URL (change
> stretch to buster). Then do an apt get update before installing pgAdmin
> again.

Hi Dave,

Thanks for responding so quickly. I should have been clearer - I did
that before the OS upgrade, going for the big-bang approach to the
upgrade (yes, I know that that's living dangerously!), so my current
installation is from the buster repo. I assumed that the pgAdmin and
Python libraries would have been upgraded along with everything else
when I did the OS upgrade - was I wrong?

I don't know if dist-upgrade would have dealt with pgAdmin as well or not. It's possible there's some dependency or other missing now though I guess, so it probably wouldn't hurt to uninstall and then reinstall the packages.

If that doesn't work, try running the pgAdmin binary from the command line and see if it complains about anything that's missing.
 
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: http://www.enterprisedb.com

-- 
Regards,

Bo Guo, PhD, PE
President
Gistic Research, Inc.
2033 E Warner Rd Ste 105
Tempe, AZ 85284
www.gisticinc.com
www.youtube.com/linearbench
Office: 480-656-9962
Cell: 602-570-4697


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: http://www.enterprisedb.com

Attachment

pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: pgAdmin4 won't start after OS upgrade
Next
From: androxkentaki
Date:
Subject: Query editor lagging in 4.25