Re: pgAdmin4 won't start after OS upgrade

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Bo Guo <bo(dot)guo(at)gisticinc(dot)com>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: pgAdmin4 won't start after OS upgrade
Date: 2020-09-02 07:51:33
Message-ID: CA+OCxozu7Np-UZkyxWfTSgMf6SrJiBjvyTvqqBsnAgEvNXLv8w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)guo(at)gisticinc(dot)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(at)rodonnell(dot)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(at)rodonnell(dot)ie
>> > <mailto:ray(at)rodonnell(dot)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 85284www.gisticinc.comwww.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

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message androxkentaki 2020-09-02 11:54:41 Query editor lagging in 4.25
Previous Message Dave Page 2020-09-02 07:50:58 Re: pgAdmin4 won't start after OS upgrade