Thread: Fatal error: The pgAdmin 4 server could not be contacted
Dear Admin,
Kindly assist me with this problem, see below. I installed PostgreSQL 9.6 and PostGIS 3.1 Bundle .... v3.12 on my Windows 8.1 Pro. I even installed pgAdmin4v5.2 but the error persists. How do I rectify this? Thank you.
Fatal error: The pgAdmin 4 server could not be contacted
pgAdmin Runtime Environment
--------------------------------------------------------
Python Path: "C:\Program Files\pgAdmin 4\v5\python\python.exe"
Runtime Config File: "C:\Users\DELL-3000-I5\AppData\Roaming\pgadmin\runtime_config.json"
pgAdmin Config File: "C:\Program Files\pgAdmin 4\v5\web\config.py"
Webapp Path: "C:\Program Files\pgAdmin 4\v5\web\pgAdmin4.py"
pgAdmin Command: "C:\Program Files\pgAdmin 4\v5\python\python.exe -s C:\Program Files\pgAdmin 4\v5\web\pgAdmin4.py"
Environment:
- ALLUSERSPROFILE: C:\ProgramData
- APPDATA: C:\Users\DELL-3000-I5\AppData\Roaming
- CHROME_CRASHPAD_PIPE_NAME: \\.\pipe\crashpad_4136_LRJVKHMUFAXULQMN
- CHROME_RESTART: NW.js|Whoa! NW.js has crashed. Relaunch now?|LEFT_TO_RIGHT
- CommonProgramFiles: C:\Program Files\Common Files
- CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
- CommonProgramW6432: C:\Program Files\Common Files
- COMPUTERNAME: CT
- ComSpec: C:\Windows\system32\cmd.exe
- Drainmod6: C:\DrainMod
- EnDrain: C:\EnDrain
- FP_NO_HOST_CHECK: NO
- GDAL_DATA: C:\Program Files\PostgreSQL\9.6\gdal-data
- HOMEDRIVE: C:
- HOMEPATH: \Users\DELL-3000-I5
- LOCALAPPDATA: C:\Users\DELL-3000-I5\AppData\Local
- LOGONSERVER: \\MicrosoftAccount
- MOZ_PLUGIN_PATH: C:\Program Files (x86)\Foxit Software\Foxit Reader\plugins\
- NSP_HOST: RNBO_SPN_ALL_MODES
- NUMBER_OF_PROCESSORS: 4
- OS: Windows_NT
- Path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;;C:\Users\DELL-3000-I5\AppData\Local\Programs\Microsoft VS Code\bin
- PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
- pest: C:\pest
- PGADMIN_INT_KEY: 8506d72e-d744-4b1a-8e2a-4ef6ccfe39e2
- PGADMIN_INT_PORT: 64084
- PGADMIN_SERVER_MODE: OFF
- POSTGIS_ENABLE_OUTDB_RASTERS: 1
- POSTGIS_GDAL_ENABLED_DRIVERS: GTiff PNG JPEG GIF XYZ DTED USGSDEM AAIGrid
- PROCESSOR_ARCHITECTURE: AMD64
- PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 61 Stepping 4, GenuineIntel
- PROCESSOR_LEVEL: 6
- PROCESSOR_REVISION: 3d04
- ProgramData: C:\ProgramData
- ProgramFiles: C:\Program Files
- ProgramFiles(x86): C:\Program Files (x86)
- ProgramW6432: C:\Program Files
- PROJ_LIB: C:\Program Files\PostgreSQL\9.6\share\contrib\postgis-3.1\proj
- PSModulePath: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
- PUBLIC: C:\Users\Public
- SESSIONNAME: Console
- SystemDrive: C:
- SystemRoot: C:\Windows
- TEMP: C:\Users\DELL-3~1\AppData\Local\Temp
- TMP: C:\Users\DELL-3~1\AppData\Local\Temp
- USERDOMAIN: CT
- USERDOMAIN_ROAMINGPROFILE: CT
- USERNAME: DELL-3000-I5
- USERPROFILE: C:\Users\DELL-3000-I5
- WaSim: C:\Program Files (x86)\WaSim
- windir: C:\Windows
Regards,
Cuthbert Taguta
PhD.Ag.Eng(Student-UKZN)|+27620752345
Hi Cuthbert,
Could you please try below steps to rectify your issue:
- Take a backup of your 'pgadmin4.db' file which is present at the %APPDATA%\Roaming\pgadmin folder.
- Delete 'pgadmin4.db' file.
- Download pgAdmin4 v5.3 from https://www.postgresql.org/ftp/pgadmin/pgadmin4/v5.3/windows/
- Install and Launch 'pgAdmin4 v5'.
Also, I would suggest you to use the PostgreSQL 10+ or 11+ version as the support for 9.6.22 would be lasting till Nov-2021 to get better support of pgAdmin4 application.
On Tue, Jun 15, 2021 at 2:07 PM cuthbert taguta <ctaguta@gmail.com> wrote:
Dear Admin,Kindly assist me with this problem, see below. I installed PostgreSQL 9.6 and PostGIS 3.1 Bundle .... v3.12 on my Windows 8.1 Pro. I even installed pgAdmin4v5.2 but the error persists. How do I rectify this? Thank you.Fatal error: The pgAdmin 4 server could not be contactedpgAdmin Runtime Environment--------------------------------------------------------Python Path: "C:\Program Files\pgAdmin 4\v5\python\python.exe"Runtime Config File: "C:\Users\DELL-3000-I5\AppData\Roaming\pgadmin\runtime_config.json"pgAdmin Config File: "C:\Program Files\pgAdmin 4\v5\web\config.py"Webapp Path: "C:\Program Files\pgAdmin 4\v5\web\pgAdmin4.py"pgAdmin Command: "C:\Program Files\pgAdmin 4\v5\python\python.exe -s C:\Program Files\pgAdmin 4\v5\web\pgAdmin4.py"Environment:- ALLUSERSPROFILE: C:\ProgramData- APPDATA: C:\Users\DELL-3000-I5\AppData\Roaming- CHROME_CRASHPAD_PIPE_NAME: \\.\pipe\crashpad_4136_LRJVKHMUFAXULQMN- CHROME_RESTART: NW.js|Whoa! NW.js has crashed. Relaunch now?|LEFT_TO_RIGHT- CommonProgramFiles: C:\Program Files\Common Files- CommonProgramFiles(x86): C:\Program Files (x86)\Common Files- CommonProgramW6432: C:\Program Files\Common Files- COMPUTERNAME: CT- ComSpec: C:\Windows\system32\cmd.exe- Drainmod6: C:\DrainMod- EnDrain: C:\EnDrain- FP_NO_HOST_CHECK: NO- GDAL_DATA: C:\Program Files\PostgreSQL\9.6\gdal-data- HOMEDRIVE: C:- HOMEPATH: \Users\DELL-3000-I5- LOCALAPPDATA: C:\Users\DELL-3000-I5\AppData\Local- LOGONSERVER: \\MicrosoftAccount- MOZ_PLUGIN_PATH: C:\Program Files (x86)\Foxit Software\Foxit Reader\plugins\- NSP_HOST: RNBO_SPN_ALL_MODES- NUMBER_OF_PROCESSORS: 4- OS: Windows_NT- Path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;;C:\Users\DELL-3000-I5\AppData\Local\Programs\Microsoft VS Code\bin- PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC- pest: C:\pest- PGADMIN_INT_KEY: 8506d72e-d744-4b1a-8e2a-4ef6ccfe39e2- PGADMIN_INT_PORT: 64084- PGADMIN_SERVER_MODE: OFF- POSTGIS_ENABLE_OUTDB_RASTERS: 1- POSTGIS_GDAL_ENABLED_DRIVERS: GTiff PNG JPEG GIF XYZ DTED USGSDEM AAIGrid- PROCESSOR_ARCHITECTURE: AMD64- PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 61 Stepping 4, GenuineIntel- PROCESSOR_LEVEL: 6- PROCESSOR_REVISION: 3d04- ProgramData: C:\ProgramData- ProgramFiles: C:\Program Files- ProgramFiles(x86): C:\Program Files (x86)- ProgramW6432: C:\Program Files- PROJ_LIB: C:\Program Files\PostgreSQL\9.6\share\contrib\postgis-3.1\proj- PSModulePath: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\- PUBLIC: C:\Users\Public- SESSIONNAME: Console- SystemDrive: C:- SystemRoot: C:\Windows- TEMP: C:\Users\DELL-3~1\AppData\Local\Temp- TMP: C:\Users\DELL-3~1\AppData\Local\Temp- USERDOMAIN: CT- USERDOMAIN_ROAMINGPROFILE: CT- USERNAME: DELL-3000-I5- USERPROFILE: C:\Users\DELL-3000-I5- WaSim: C:\Program Files (x86)\WaSim- windir: C:\WindowsRegards,Cuthbert TagutaPhD.Ag.Eng(Student-UKZN)|+27620752345
Rahul Shirsat
Senior Software Engineer | EnterpriseDB Corporation.