-
Notifications
You must be signed in to change notification settings - Fork 193
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
passbolt can't connect to the database with default docker image #133
Comments
Hi @noraj, Thanks for reaching out! I can't reproduce your issue, could you confirm that after launching just the db container you can manually access it from the host? On Linux and making use of the mysql.env credentials:
|
@dlen The issue I described was happening on openSUSE 15.1. And no, I can't connect to MariaDB:
|
Hi @noraj, Does running a standalone mariadb container output the same result? For example:
|
@dlen Same error with the mariadb container alone. EDIT: Ok now it works, it is just there is a long delay before the mariadb is available.
The issue is caused because passbolt container try to start when mariadb is still unavailable so it fails and crash while trying to connect. So I guess you already followed https://docs.docker.com/compose/startup-order/ |
Yes, you are right, the default timeout is 15 seconds, more than that wait-for exits. It is possible to tune the timeout on the docker-compose.yaml file modifying the command line:
Thanks for the report I will add this timeout to the composer ASAP. |
I faced the same issue. The issue was with mariadb version, at that time |
What you did 📝
What happened 💥 📋
The default configuration seems not to work, the app seems to fail to connect to the DB even with the default password which are identical in mysql.env and passbolt.env.
The same happens with the -dev.yml docker-compose.
What you expected to happen
Start.
Environment
The issue was reproduced on:
The text was updated successfully, but these errors were encountered: