-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
[Bug] Missing database credentials, check your environment variables! #1291
Comments
Can you post your docker-compose? |
`version: "3" volumes: services: romm-db: |
And you've set both DB_PASSWD and MYSQL_PASSWORD to something, since they can't be empty? |
Yeah |
Hmmm the code with that check should pass in this case, unless you have a whitespace after the
|
Nope, added the password directly after the =. It's really weird. |
any chance it has to do with indentation, make sure the yaml is correct by pasting it in a web verifier? |
RomM version
latest
Describe the bug
I use the default docker-compose.yml example. First with changes to use my already running mysql server which gave the error that it cant find the database credentials. Then I tried the example yml directly with it's included mysql server which also gave this error. I'm using portainer
To Reproduce
Create a new stack in portainer, use example docker yml
Expected behavior
Starts up fine
The text was updated successfully, but these errors were encountered: