pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

pgAdmin starts but doesnt open

Open Bokizz opened this issue 1 year ago • 15 comments

A clear and concise description of what the bug is: I start pgAdmin 4 but it just doesnt open or show up it stays there and i cant quit it also without force quitting it

Steps to reproduce the behavior:

  1. Start pgAdmin 4

Expected behavior: The app to open and show up

  • OS: [macOS monterey ]
  • Version: [12.7.6]
  • Mode: [Desktop]

Bokizz avatar Aug 07 '24 09:08 Bokizz

@Bokizz Can you please provide version for pgadmin? Also screenshot if any error shown? Does it shows only splash screen or any window with error?

yogeshmahajan-1903 avatar Aug 07 '24 10:08 yogeshmahajan-1903

@yogeshmahajan-1903 im using pgAdmin 4 version 8.10, no errors appear pgAdmin starts the pop up closes and it just stays in my Dock and doesnt open and i can only shut it down through force quit

Bokizz avatar Aug 07 '24 12:08 Bokizz

@Bokizz Are you able to see pgAdmin 4 main menu? If yes, kindly share logs by clicking view logs button as shown below -

Screenshot 2024-08-08 at 4 28 01 PM

yogeshmahajan-1903 avatar Aug 08 '24 10:08 yogeshmahajan-1903

This is what i got from the logs pgAdmin Runtime Environment

Python Path: "/Applications/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3" Runtime Config File: "/Users/pc3d/Library/Application Support/pgAdmin 4/config.json" Webapp Path: "/Applications/pgAdmin 4.app/Contents/Resources/web/pgAdmin4.py" pgAdmin Command: "/Applications/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3 -s /Applications/pgAdmin 4.app/Contents/Resources/web/pgAdmin4.py" Environment:

  • USER: pc3d
  • MallocNanoZone: 0
  • __CFBundleIdentifier: org.pgadmin.pgadmin4
  • COMMAND_MODE: unix2003
  • LOGNAME: pc3d
  • PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
  • SSH_AUTH_SOCK: /private/tmp/com.apple.launchd.svhKXUo22p/Listeners
  • SYSTEM_VERSION_COMPAT: 0
  • SHELL: /bin/zsh
  • HOME: /Users/pc3d
  • __CF_USER_TEXT_ENCODING: 0x1F5:0x0:0x2
  • TMPDIR: /var/folders/xq/gtlm286j26qb9g61cf7tctrm0000gn/T/
  • XPC_SERVICE_NAME: application.org.pgadmin.pgadmin4.12886270252.12886285416
  • XPC_FLAGS: 0x0
  • ORIGINAL_XDG_CURRENT_DESKTOP: undefined
  • ELECTRON_ENABLE_SECURITY_WARNINGS: false
  • PGADMIN_INT_PORT: 50448
  • PGADMIN_INT_KEY: ccb6aab2-48cc-43a6-88e1-bdb751871e02
  • PGADMIN_SERVER_MODE: OFF

Total spawn time to start the pgAdmin4 server: 0.023 Sec 2024-08-08 13:25:14,044: 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

Total time taken to ping pgAdmin4 server: 9.061 Sec

Total launch time of pgAdmin4: 9.702 Sec

Application Server URL: http://127.0.0.1:50448/?key=ccb6aab2-48cc-43a6-88e1-bdb751871e02

Bokizz avatar Aug 08 '24 11:08 Bokizz

@Bokizz Can you please provide information from About dialogue. Main Menu Help > About pgAdmin4. Also can you please check if there any errors in console which can be accessed via Main Menu View > Toggle Developer Tools.

Can you please try clearing cache at /Users//Library/Application Support/pgAdmin 4/Cache ? Also have you downloaded correct installer as per your machine architecture?

yogeshmahajan-1903 avatar Aug 08 '24 12:08 yogeshmahajan-1903

I tried these steps unfortunately the about info is not opening and the console isnt showing up i downloaded the right installer, im going to try a total reinstall again

Bokizz avatar Aug 16 '24 12:08 Bokizz

We have the same Problem. The weird thing is, that it is working on our Laptops but not on our Workingstation. On the Workingstation outside the our Network is the Installation also not a problem.

Shelicus avatar Aug 22 '24 07:08 Shelicus

Hi @Bokizz @Shelicus try removing directory /Users/<user>/Library/Application Support/pgAdmin 4 and then start pgAdmin.

adityatoshniwal avatar Aug 23 '24 11:08 adityatoshniwal

Hi @Bokizz @Shelicus try removing directory /Users/<user>/Library/Application Support/pgAdmin 4 and then start pgAdmin.

It's still not working :/ I delted the folder /Users/<user>/ AppData/Roaming/pgadmin4

Shelicus avatar Aug 23 '24 12:08 Shelicus

Hi @Bokizz @Shelicus try removing directory /Users/<user>/Library/Application Support/pgAdmin 4 and then start pgAdmin.

It's still not working :/ I delted the folder /Users/<user>/ AppData/Roaming/pgadmin4

Did you replace the with your system username?

adityatoshniwal avatar Aug 23 '24 12:08 adityatoshniwal

Hi @Bokizz @Shelicus try removing directory /Users/<user>/Library/Application Support/pgAdmin 4 and then start pgAdmin.

It's still not working :/ I delted the folder /Users/<user>/ AppData/Roaming/pgadmin4

Did you replace the with your system username?

Of course I did. I think there is something blocked from our Network. I am not sure if it is a a Bug of the pgAdmin or postgres

Shelicus avatar Aug 23 '24 12:08 Shelicus

Please check if its a UI problem. Maybe its this: https://github.com/pgadmin-org/pgadmin4/issues/7781

rodgermoore avatar Aug 29 '24 10:08 rodgermoore

I had the same problem, and I managed to fix it by editing the config.json file, which on macOS is located at ~/Library/Application Support/pgadmin. I changed the parameters to x=0, y=0, and width=100, and it worked for me.

felipeduarte26 avatar Sep 04 '24 02:09 felipeduarte26

Check https://github.com/pgadmin-org/pgadmin4/issues/7781

khushboovashi avatar Sep 06 '24 11:09 khushboovashi

Hi Bokizz

Can you please check on the latest version? Electron seems to have fixed the issue.

akshay-joshi avatar Sep 24 '24 06:09 akshay-joshi

There is no response from the author, hence closing it.

akshay-joshi avatar Oct 09 '24 08:10 akshay-joshi

Yeah, now it is working without Problems 👍

Shelicus avatar Oct 18 '24 13:10 Shelicus

I was investigating the same issue, was not starting under W10 x64 Pro, (not) running pgAdmin 4 v8, as far as I know; did not matter what I tried, I restarted both my pg Windows Services 16 and 14, 16 for which I have database catalog and tables in particular, I am working with at the moment. Both of which restarted, neither of which helped. About to restart my computer, but would be helpful if I understood better if/where any pgAdmin logs were being documented.

mwpowellhtx avatar Dec 13 '24 05:12 mwpowellhtx