Skip to content
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

enabling mariadb effects admin account creation #49

Closed
hobyte opened this issue Nov 30, 2020 · 3 comments
Closed

enabling mariadb effects admin account creation #49

hobyte opened this issue Nov 30, 2020 · 3 comments
Labels
externalDatabase Topics related to external databases, such as mariaDB or PostgreSQL

Comments

@hobyte
Copy link

hobyte commented Nov 30, 2020

Installing Nextcloud without any values changed creates a admin account with the credentials admin/changeme. But when enabling mariadb like so:

internalDatabase:
    enabled: false
mariadb:
    enabled: true
    master:
        persistence:
            enabled: true

Nextcloud asks you to create an admin account at first and starts the installation procedure.
nextcloud-createAdmin

@lukasmrtvy
Copy link

Its probably duplicate to #42

@jessebot jessebot added the externalDatabase Topics related to external databases, such as mariaDB or PostgreSQL label Jan 27, 2023
@jessebot
Copy link
Collaborator

Quick thoughts on this: Yes, it could also be related to #42, but you may also need the following configured:

externalDatabase:
enabled: false
## Supported database engines: mysql or postgresql
type: mysql
## Database host
host:
## Database user
user: nextcloud
## Database password
password:
## Database name
database: nextcloud
## Use a existing secret
existingSecret:
enabled: false
# secretName: nameofsecret
# usernameKey: username
# passwordKey: password

If you're still having this issue, please reply and post the full externalDatabase and mariadb sections of your values.yaml. Be sure to anonymize any sensitive data.

Otherwise, I will close this in a while, but if I close it before you get a chance to come back and ask further questions, please just ask me to reopen it and I will do so for you :)

@jessebot
Copy link
Collaborator

Linking also to our latest documentation on databases here:
https://github.com/nextcloud/helm/blob/master/charts/nextcloud/README.md#database-configurations

Closing now due to inactivity. If you still have any issues, please feel free to open a new issue and we'll take a look :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
externalDatabase Topics related to external databases, such as mariaDB or PostgreSQL
Projects
None yet
Development

No branches or pull requests

3 participants