pgAdmin fails to run after installing newer version
Under certain conditions, pgAdmin may fail to run for the first time after installing a newer version. In this instance the previous version of PSQL was v9.4, and the newly installed version was v14.9. This appears to be tied to pgAdmin trying to upgrade the user database from the old version to the new one.
Sample error:
pgAdmin Runtime Environment
--------------------------------------------------------
Python Path: "C:\Program Files\PostgreSQL\14\pgAdmin 4\python\python.exe"
... (very long)The fix is to delete the pgAdmin local user database:
C:\Users\<USER>\AppData\Roaming\pgAdmin\pgadmin4.db
This should allow pgAdmin to run for the first time.
© 2023 Foray, LLC - All Rights Reserved