-
Notifications
You must be signed in to change notification settings - Fork 604
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
/pgadmin4/servers.json
content does not show up in web interface 8.1
#7074
Comments
@khteh Are you using a custom entrypoint for the docker container? Or possibly loading an old one somehow? I can see in my logs: Updating my entrypoint to sync with the current master branch entrypoint at https://github.com/pgadmin-org/pgadmin4/blob/master/pkg/docker/entrypoint.sh has fixed the loading for me. |
Yes, @paulmilbank is right. Please refer https://www.pgadmin.org/docs/pgadmin4/8.2/import_export_servers.html#importing-servers |
Not custom entrypoint. There is no |
@khteh did you follow the simple example here to verify - https://www.pgadmin.org/docs/pgadmin4/8.2/container_deployment.html#examples? |
Doesnt seem to work for me
My config.py looks like this
I can see the servers loading in the logs But I dont see the servers in the UI |
@sanhardik You can use import/export from tools menu to add servers for OAuth2 user. Else mark servers in servers.json as shared. |
I have logged in using OAuth2. The "Shared" option worked. However now, its asking for password for the user "postgres". I also see this error |
While connecting to the server in the server mode, pgpass file is looked up in 'var/lib/storage//', hence you are getting password not supplied error. |
I will try out the shared storage.
|
@sanhardik |
With the entrypoint, I see My servers.json file has
|
I'm closing this issue as the original issues seem to be fixed. |
Were you able to resolve the issue? |
Please note that security bugs or issues should be reported to security@pgadmin.org.
Why was #6998 closed!?! It is still an issue! I have
servers.json
mounted in k8s statefulset andpgadmin4
is NOT deployed with the mounted server configuration!Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Error message
If possible, include the full, unedited text of any error messages displayed.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: