Re: pgAdmin4 won't start after OS upgrade

From: Dave Page <dpage(at)pgadmin(dot)org>
To: "Ray O'Donnell" <ray(at)rodonnell(dot)ie>
Cc: "pgadmin-support(at)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-01 16:07:40
Message-ID: CA+OCxowqTyRSfTYbYHYQPUBoe6tON+r6S29ZCBnd7NfNYxvw9A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

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

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Ray O'Donnell 2020-09-01 16:28:45 Re: pgAdmin4 won't start after OS upgrade
Previous Message Ray O'Donnell 2020-09-01 16:03:48 Re: pgAdmin4 won't start after OS upgrade