helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Custom serverDefinitions not being displayed in PgAdmin console

Open zach-iwx opened this issue 2 years ago • 5 comments

Describe the bug Custom serverDefinitions not being displayed in PgAdmin console

Version of Helm and Kubernetes: Kubernetes (AKS): v1.24.9 Helm: v3.8.0

Which chart: pgadmin4 (v1.14.3)

What happened: Once instance has been deployed, validated that servers.json file is indeed mounted into the pod. To confirm that the output file is valid, I saved it to my local machine and was able to re-import the file with no issues. Is this a file permission problem perhaps? I tried setting VolumePermissions.enabled to true but that did not make any difference.

What you expected to happen: Server should appear in the PgAdmin console

How to reproduce it (as minimally and precisely as possible): Not sure exactly?

Anything else we need to know:

zach-iwx avatar Jan 31 '23 03:01 zach-iwx

Any news about this one? I'm experiencing the same issue. Downgrading to pgAdmin chart v1.13.10 "fixes" the problem for the moment.

hhorvat0305 avatar Feb 08 '23 12:02 hhorvat0305

I saw a weird error when I tried to reproduce the issue described here, and since @hhorvat0305 applied it is working in an older version of the chart it had to be an issue in the docker image. Searching on the error: 'AnonymousUser' object has no attribute 'username' brought me here: https://github.com/pgadmin-org/pgadmin4/issues/5751

The issue is resolved in the latest tag, so either we wait for the 6.20 release or you adjust your values file to use the latest tag rather then 6.19 tag.

rowanruseler avatar Feb 08 '23 18:02 rowanruseler

Thanks @rowanruseler will try updating to the latest tag and report back

zach-iwx avatar Feb 08 '23 20:02 zach-iwx

The issue is resolved in the latest tag, so either we wait for the 6.20 release or you adjust your values file to use the latest tag rather then 6.19 tag.

this didn't resolve the import issue for me - i'll dig a bit more and report back

smitphilip avatar Feb 09 '23 08:02 smitphilip

@smitphilip Were you able to solve the problem? Unfortunately I have the same problem

akierat avatar Feb 28 '23 22:02 akierat