Re: pgadmin-4.30 upgrade from 4.27 - Mailing list pgadmin-support

From James B. Byrne
Subject Re: pgadmin-4.30 upgrade from 4.27
Date
Msg-id 580efcb8a758e063a873a6b798fbea01.squirrel@webmail.harte-lyne.ca
Whole thread Raw
In response to Re: pgadmin-4.30 upgrade from 4.27  (Dave Page <dpage@pgadmin.org>)
Responses Re: pgadmin-4.30 upgrade from 4.27  (Dave Page <dpage@pgadmin.org>)
List pgadmin-support

On Fri, February 19, 2021 04:33, Dave Page wrote:
> Hi
>
> On Thu, Feb 18, 2021 at 7:34 PM James B. Byrne <byrnejb@harte-lyne.ca>
> wrote:
>
>> When starting pgadmin4 in a python venv I get a warning that I am starting
>> version 4.27 and that 4.30 is available.
>>
>> However, I have updated that venv to 4.30:
>>
. . .
>> Successfully installed pgadmin4-4.30
>>
>> (pgadmin4) [root@vhost01 ~ (master)]# python
>> /opt/python_venv/3.7/pgadmin4/lib/python3.7/site-packages/pgadmin4/setup.py
>> . . .
>> pgAdmin 4 - Application Initialisation
>> ======================================
>>
>> (pgadmin4) [root@vhost01 ~ (master)]#
>> /opt/python_venv/3.7/pgadmin4/bin/pgadmin4&
>> Starting pgAdmin 4. Please navigate to http://127.0.0.1:5050 in your
>> browser.
>>
>> So what am I missing here?
>>
>
> The text above shows you updating to 4.28 in the beginning, but then claims
> it installed 4.30. Did you copy/paste the wrong output for the first
> section perhaps?

I had previously updated to 4.28 using the same procedure. The application
continued to report that it was 4.27 and warn that a new version was available.
 I skipped 4.29 because I never could get 4.28 to take.  I decided to try again
with 4.30 and ask for help.  What I posted here I likely copied from the wrong
set of notes.

>
> The easiest way to check what code is actually installed is to look in the
> config.py file (as well as config_local.py and config_distro.py if
> present), eg.
>
> dpage@hal:~/git/pgadmin4$ grep "APP_REVISION = "
> /Users/dpage/.virtualenvs/pgatest/lib/python3.8/site-packages/pgadmin4/config*.py
> /Users/dpage/.virtualenvs/pgatest/lib/python3.8/site-packages/pgadmin4/config.py:APP_REVISION
> = 30
>
> (adjust the path appropriately for your venv of course).
>

# grep "APP_REVISION = "
/opt/python_venv/3.7/pgadmin4/lib/python3.7/site-packages/pgadmin4/config.py
APP_REVISION = 30

I got a similar result (APP_REVISION = 28) after installing 4.28.  Nonetheless,
when I connect to http://localhost:5050 the splash pages says it is loading
4.27 and the outdated version warning appears.

       You are currently running version 4.27 of pgAdmin 4,
       however the current version is 4.30.

Thanks.

-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: pgadmin-4.30 upgrade from 4.27
Next
From: Dave Page
Date:
Subject: Re: pgadmin-4.30 upgrade from 4.27