public inbox for [email protected]  
help / color / mirror / Atom feed
Unable to start pgAdmin on first install
2+ messages / 2 participants
[nested] [flat]

* Unable to start pgAdmin on first install
@ 2025-01-30 22:13 Toscan, Nicholas <[email protected]>
  2025-02-04 04:17 ` Re: Unable to start pgAdmin on first install Yogesh Mahajan <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Toscan, Nicholas @ 2025-01-30 22:13 UTC (permalink / raw)
  To: [email protected] <[email protected]>

I installed the latest version of pgAdmin on my Win11 laptop (where I've never installed pgAdmin before).

I rebooted per the final instruction.

I clicked the pgAdmin icon and got a splash screen. Then, after waiting around 2 minutes for the splash screen to complete whatever it was trying to complete, I got a message with the title "Fatal Error": The pgAdmin 4 server could not be contacted.

I tried clearing pg* from the Roaming folder per this: https://stackoverflow.com/questions/43211296/pgadmin4-postgresql-application-server-could-not-be-con...

No luck.

Since this is a fresh install, I'm not keen to keep debugging before moving on to some other tool which works upon install. I can get my data using python+psycopg2 already, pretty easily.

Any thoughts?

Here's the full output from that window:

```pgAdmin Runtime Environment
--------------------------------------------------------
Python Path: "C:\Program Files\pgAdmin 4\python\python.exe"
Runtime Config File: "C:\Users\me\AppData\Roaming\pgadmin4\config.json"
Webapp Path: "C:\Program Files\pgAdmin 4\web\pgAdmin4.py"
pgAdmin Command: "C:\Program Files\pgAdmin 4\python\python.exe -s C:\Program Files\pgAdmin 4\web\pgAdmin4.py"
Environment:
  - ALLUSERSPROFILE: C:\ProgramData
  - APPDATA: C:\Users\me\AppData\Roaming
  - CommonProgramFiles: C:\Program Files\Common Files
  - CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
  - CommonProgramW6432: C:\Program Files\Common Files
  - ComSpec: C:\WINDOWS\system32\cmd.exe
  - DISPLAY: 127.0.0.1:0.0
  - DriverData: C:\Windows\System32\Drivers\DriverData
  - HOMEDRIVE: C:
  - LOCALAPPDATA: C:\Users\me\AppData\Local
 - HTTP_PROXY: redacted
 - HTTPS_PROXY: redacted
  - NO_PROXY: localhost, 192.168.0.0/16,127.0.0.0/8,10.0.0.0/8
  - NUMBER_OF_PROCESSORS: 8
  - ORIGINAL_XDG_CURRENT_DESKTOP: undefined
  - OS: Windows_NT
  - Path: C:\Program Files\pgAdmin 4\runtime;C:\Program Files\Python313\Scripts\;C:\Program Files\Python313\;C:\Program Files\Microsoft\jdk-21.0.4.7-hotspot\bin;C:\Program Files\Python312\Scripts\;C:\Program Files\Python312\;c:\PROGRA~1\MBTools\sys;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\Python37\Scripts\;C:\Program Files\Python37\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Neovim\bin;C:\Users\me\AppData\Roaming\Cloud Foundry;c:\PROGRA~1\MBTools;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files (x86)\Intel\netbatch\lib;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\me\bin;C:\Users\me\AppData\Local\Microsoft\WindowsApps;C:\Users\me\AppData\Local\Programs\Neovim\bin;C:\Users\me\AppData\Local\Microsoft\WinGet\Packages\Kubernetes.kubectl_Microsoft.Winget.Source_8wekyb3d8bbwe;C:\Program Files\JetBrains\PyCharm 2024.2.3\bin;C:\Users\me\.dotnet\tools
  - PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW
  - PGADMIN_INT_KEY: be3939d9-1001-447c-9fa1-5e9ef218bec0
  - PGADMIN_INT_PORT: 58421
  - PGADMIN_SERVER_MODE: OFF
  - PROCESSOR_ARCHITECTURE: AMD64
  - PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 140 Stepping 1, GenuineIntel
  - PROCESSOR_LEVEL: 6
  - PROCESSOR_REVISION: 8c01
  - ProgramData: C:\ProgramData
  - ProgramFiles: C:\Program Files
  - ProgramFiles(x86): C:\Program Files (x86)
  - ProgramW6432: C:\Program Files
  - PSModulePath: C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
  - PUBLIC: C:\Users\Public
  - SystemDrive: C:
  - SystemRoot: C:\WINDOWS
  - TEMP: C:\Users\me\AppData\Local\Temp
  - TMP: C:\Users\me\AppData\Local\Temp
  - windir: C:\WINDOWS
  - ZES_ENABLE_SYSMAN: 1
  - _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
  - __COMPAT_LAYER: Installer
  - __PSLockDownPolicy: 0
--------------------------------------------------------

Total spawn time to start the pgAdmin4 server: 0.026 Sec
NOTE: Configuring authentication for DESKTOP mode.
pgAdmin 4 - Application Initialisation

======================================


2025-01-30 13:55:24,607: WARNING  werkzeug:          Werkzeug appears to be used in a production deployment. Consider switching to a production web server instead.

* Serving Flask app 'pgadmin'
* Debug mode: off
```

# -- Nicholas



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Unable to start pgAdmin on first install
  2025-01-30 22:13 Unable to start pgAdmin on first install Toscan, Nicholas <[email protected]>
@ 2025-02-04 04:17 ` Yogesh Mahajan <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Yogesh Mahajan @ 2025-02-04 04:17 UTC (permalink / raw)
  To: Toscan, Nicholas <[email protected]>; +Cc: [email protected] <[email protected]>

Hi,

Can you please try setting the value for environment variable NO_PROXY
equals 127.0.0.1 and restart application?

Thanks,
Yogesh Mahajan
EnterpriseDB


On Mon, Feb 3, 2025 at 8:13 PM Toscan, Nicholas <[email protected]>
wrote:

> I installed the latest version of pgAdmin on my Win11 laptop (where I’ve
> never installed pgAdmin before).
>
>
>
> I rebooted per the final instruction.
>
>
>
> I clicked the pgAdmin icon and got a splash screen. Then, after waiting
> around 2 minutes for the splash screen to complete whatever it was trying
> to complete, I got a message with the title “Fatal Error”: The pgAdmin 4
> server could not be contacted.
>
>
>
> I tried clearing pg* from the Roaming folder per this:
> https://stackoverflow.com/questions/43211296/pgadmin4-postgresql-application-server-could-not-be-con...
>
>
>
> No luck.
>
>
>
> Since this is a fresh install, I’m not keen to keep debugging before
> moving on to some other tool which works upon install. I can get my data
> using python+psycopg2 already, pretty easily.
>
>
>
> Any thoughts?
>
>
>
> Here’s the full output from that window:
>
>
>
> ```pgAdmin Runtime Environment
>
> --------------------------------------------------------
>
> Python Path: "C:\Program Files\pgAdmin 4\python\python.exe"
>
> Runtime Config File: "C:\Users\me\AppData\Roaming\pgadmin4\config.json"
>
> Webapp Path: "C:\Program Files\pgAdmin 4\web\pgAdmin4.py"
>
> pgAdmin Command: "C:\Program Files\pgAdmin 4\python\python.exe -s
> C:\Program Files\pgAdmin 4\web\pgAdmin4.py"
>
> Environment:
>
>   - ALLUSERSPROFILE: C:\ProgramData
>
>   - APPDATA: C:\Users\me\AppData\Roaming
>
>   - CommonProgramFiles: C:\Program Files\Common Files
>
>   - CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
>
>   - CommonProgramW6432: C:\Program Files\Common Files
>
>   - ComSpec: C:\WINDOWS\system32\cmd.exe
>
>   - DISPLAY: 127.0.0.1:0.0
>
>   - DriverData: C:\Windows\System32\Drivers\DriverData
>
>   - HOMEDRIVE: C:
>
>   - LOCALAPPDATA: C:\Users\me\AppData\Local
>
>  - HTTP_PROXY: redacted
>
>  - HTTPS_PROXY: redacted
>
>   - NO_PROXY: localhost, 192.168.0.0/16,127.0.0.0/8,10.0.0.0/8
>
>   - NUMBER_OF_PROCESSORS: 8
>
>   - ORIGINAL_XDG_CURRENT_DESKTOP: undefined
>
>   - OS: Windows_NT
>
>   - Path: C:\Program Files\pgAdmin 4\runtime;C:\Program
> Files\Python313\Scripts\;C:\Program Files\Python313\;C:\Program
> Files\Microsoft\jdk-21.0.4.7-hotspot\bin;C:\Program
> Files\Python312\Scripts\;C:\Program
> Files\Python312\;c:\PROGRA~1\MBTools\sys;C:\Program Files\Common
> Files\Oracle\Java\javapath;C:\Program Files\Python37\Scripts\;C:\Program
> Files\Python37\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program
> Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL
> Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program
> Files\Neovim\bin;C:\Users\me\AppData\Roaming\Cloud
> Foundry;c:\PROGRA~1\MBTools;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program
> Files\dotnet\;C:\Program Files (x86)\Intel\netbatch\lib;C:\Program Files
> (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program
> Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program
> Files\Git\usr\bin;C:\Users\me\bin;C:\Users\me\AppData\Local\Microsoft\WindowsApps;C:\Users\me\AppData\Local\Programs\Neovim\bin;C:\Users\me\AppData\Local\Microsoft\WinGet\Packages\Kubernetes.kubectl_Microsoft.Winget.Source_8wekyb3d8bbwe;C:\Program
> Files\JetBrains\PyCharm 2024.2.3\bin;C:\Users\me\.dotnet\tools
>
>   - PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW
>
>   - PGADMIN_INT_KEY: be3939d9-1001-447c-9fa1-5e9ef218bec0
>
>   - PGADMIN_INT_PORT: 58421
>
>   - PGADMIN_SERVER_MODE: OFF
>
>   - PROCESSOR_ARCHITECTURE: AMD64
>
>   - PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 140 Stepping 1,
> GenuineIntel
>
>   - PROCESSOR_LEVEL: 6
>
>   - PROCESSOR_REVISION: 8c01
>
>   - ProgramData: C:\ProgramData
>
>   - ProgramFiles: C:\Program Files
>
>   - ProgramFiles(x86): C:\Program Files (x86)
>
>   - ProgramW6432: C:\Program Files
>
>   - PSModulePath: C:\Program
> Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
>
>   - PUBLIC: C:\Users\Public
>
>   - SystemDrive: C:
>
>   - SystemRoot: C:\WINDOWS
>
>   - TEMP: C:\Users\me\AppData\Local\Temp
>
>   - TMP: C:\Users\me\AppData\Local\Temp
>
>   - windir: C:\WINDOWS
>
>   - ZES_ENABLE_SYSMAN: 1
>
>   - _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
>
>   - __COMPAT_LAYER: Installer
>
>   - __PSLockDownPolicy: 0
>
> --------------------------------------------------------
>
>
>
> Total spawn time to start the pgAdmin4 server: 0.026 Sec
>
> NOTE: Configuring authentication for DESKTOP mode.
>
> pgAdmin 4 - Application Initialisation
>
>
>
> ======================================
>
>
>
>
>
> 2025-01-30 13:55:24,607: WARNING  werkzeug:          Werkzeug appears to
> be used in a production deployment. Consider switching to a production web
> server instead.
>
>
>
> * Serving Flask app 'pgadmin'
>
> * Debug mode: off
>
> ```
>
>
>
> *# -- Nicholas*
>
>
>


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-02-04 04:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-01-30 22:13 Unable to start pgAdmin on first install Toscan, Nicholas <[email protected]>
2025-02-04 04:17 ` Yogesh Mahajan <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox