-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't launch pgadmin4 on master #169322
Comments
cc maintainer @gador |
Hi, thanks for the bug report and ping. This seems to be culprit. The new version of pgadmin4 seems to have addressed the issue here. I'll update the pgadmin4 package and see if the error persists. |
Alright. Even with an update to 6.8 the tests partially fail for pgadmin. The reason are the updates of I am unsure how to continue from here. Adding an override for Flask and/or Werkzeug within the pgadmin4 derivation results in duplicate packages and errors. @SuperSandro2000 maybe you have an idea? I can only think of downgrading Nix-wide |
I added locally |
NOTE: mainProgram set in #174010 Sorry to bump the thread for an unrelated issue but I am a bit puzzled by pgadmin4 on nixos and thought you might know since it's a silly question. First of all it's weird that
Seems like the path on unstable is rather |
The The directory Setting another directory for Pgadmin is described in their docs. |
I've created the /etc/pgadmin/config_system.py and it seems to take it into account since it triggers errors when badly formatted but I can't manage to disable SERVER_MODE (setting it to None or False accomplishes nothing). reading https://www.pgadmin.org/docs/pgadmin4/6.9/desktop_deployment.html#desktop-runtime-standalone-application it seems like the packaging should contain something that can be run in desktop mode without any pyuthon overrides (no critique, just trying to understand how it works). |
Desktop Mode didn't work for me. It just disables the multi-user Mode and one cannot set a user/pw programmatically. Se the discussion around it here. What exactly do you mean with python overrides? If you are on a non-nixos system and can't use the systemd service, I'd suggest creating the directories mentioned above and starting |
sry I didn't get straightaway that there was a service to run too. To troubleshoot the numerous errors (first my password was not readable etc), I ran the systemd prescript as Finally when trying to run pgadmin4 as my user, it failed to read /etc/pgadmin/config_system.py because its permissions are 0600 so I had to run |
Glad it finally worked for you! I just assigned the directories to my user name and ran pgadmin from my user account. |
Describe the bug
on master b07f020, trying to run pgadmin4 fails:
another issue is that nix run .#pgadmin wont work, we could set mainProgram.
The text was updated successfully, but these errors were encountered: