Re: pgadmin-4.30 upgrade from 4.27

From: "James B(dot) Byrne" <byrnejb(at)harte-lyne(dot)ca>
To: "Dave Page" <dpage(at)pgadmin(dot)org>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: pgadmin-4.30 upgrade from 4.27
Date: 2021-02-19 14:57:35
Message-ID: 16320fde9b0133c21121e328ecaef5a3.squirrel@webmail.harte-lyne.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Fri, February 19, 2021 09:10, Dave Page wrote:
> Hi
>

>
> A couple of possibilities spring to mind:
>
> 1) Python hasn't noticed the update, and is using the older bytecode. Try
> searching for and removing any __pycache__ directories under
> /opt/python_venv/3.7/pgadmin4/lib/python3.7/site-packages/pgadmin4.
>
> 2) Either pgAdmin hasn't been restarted, or you're not running the copy you
> think you are. Take a look at the process list (ps -ef or similar), and
> check what is actually running.

The host that pgadmin4 is running on went through a OS upgrade this week which
involved several reboots. I am confident that pgadmin4 did not not continue to
run.

[root(at)vhost01 ~ (master)]# source /opt/python_venv/3.7/pgadmin4/bin/activate &&
/opt/python_venv/3.7/pgadmin4/bin/pgadmin4& # access at http://localhost:5050/
PW pgadmin4
[1] 85118
[root(at)vhost01 ~ (master)]# Starting pgAdmin 4. Please navigate to
http://127.0.0.1:5050 in your browser.
* Serving Flask app "pgadmin" (lazy loading)
* Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
* Debug mode: off

The problem has been resolved. How, I do not know. But this morning after
starting the pgadmin4 service I was presented with a different log on screen
with the warning message. This warning has now disappeared.

It is not possible for pgadmin4 to have survived reboots. And I have done
nothing else to this system respecting pgadmin4 since the update to 4.30. The
warning I copied above appeared when I connected to localhost:5050 this morning
and was copied directly from that web page.

It does not much matter now. So long as the update works. But I am sorely
confused as to how this happened.

Thank you for your help.

--
*** 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(at)Harte-Lyne(dot)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

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message James B. Byrne 2021-02-19 20:00:13 db restore from sql file
Previous Message Dave Page 2021-02-19 14:10:31 Re: pgadmin-4.30 upgrade from 4.27