-
Notifications
You must be signed in to change notification settings - Fork 265
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
Unable to configure the helm chart appropriately for preexisting empty postgres db #535
Comments
Can you check that the values in the config.php file match your credentials? They are only set once at the start so they might not be up-to-date |
I've gone and deleted the persistent volume that I'm managing outside of this and started from scratch. I can see the proper values in the install page on the nextcloud web page after it starts up. The password I enter fails there too. I'm copying it from the same password vault I use for testing with the psql command. Still, during initial startup or when I use the web install it just fails to connect to the DB. |
I did notice this about the config.php file though and it seems off. Unclear where the newline is coming from but my env variable doesn't seem to have one. :
Alas, even if I manually fix this and restart apache2 with apache2 graceful or apache2 restart the service still comes back up and greets me with the install screen and no password works to configure the DB on the web installer either. |
To be explicit here. I'm running my own postgres server and not using the option to use the bitnami subchart. The IP and domain names both work if I use psql client directly installed with apt on the image. In my testing I pull directly from the env variables. I also try those variables on the web installer and no dice. Also, I never run my helm commands with the |
I went ahead and created my own nextcloud manifest instead of using this helm chart and everything works. Not sure whats up here but since I'm not using the helm chart anymore I'm going to close out the issue. |
Describe your Issue
I'm unable to get nextcloud to connect to my pre-existing postgres DB but can install psql client in the nextcloud container and connect to my postgres db with the creds I provide.
Logs and Errors
Warnings during install:
Errors:
Working on same container:
Describe your Environment
Kubernetes distribution: k0s
Helm Version (or App that manages helm): 3.6.3
Helm Chart Version: nextcloud-4.5.11
values.yaml
:Additional context, if any
I've tried both 15.2 and 16.1 postgres images
I get errors about setting flags on the helm install even though i have the values set in a custom values file. I'm using this command:
/opt/binaries/helm install -f nextcloud-site.yaml nextcloud nextcloud/nextcloud -n nextcloud
Even if I go to the gui after initial setup it has everything filled in for me except the admin creds and the postgres user password.
I can connect to this DB with the appropriate password from the container its self after using apt to install a psql client.
I can see the appropriate variables set on :
The HOST (IP FORM) and PORT are set in various NEXTCLOUD_POSTGRES_PORT* vars
The text was updated successfully, but these errors were encountered: