Re: pgadmin-4.30 upgrade from 4.27
От | James B. Byrne |
---|---|
Тема | Re: pgadmin-4.30 upgrade from 4.27 |
Дата | |
Msg-id | 16320fde9b0133c21121e328ecaef5a3.squirrel@webmail.harte-lyne.ca обсуждение исходный текст |
Ответ на | Re: pgadmin-4.30 upgrade from 4.27 (Dave Page <dpage@pgadmin.org>) |
Список | 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@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@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@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 по дате отправления: