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
ERROR ==> Could not connect to the database on *fresh install* #25390
Comments
Please, note that the Bitnami team is not actively monitoring GitHub Issues for this project. This issue will stay open for 20 days to allow the community to contribute, after 15 days without activity the issue will be marked as stale, being closed after 5 days. If you would like to contribute to this container image by fixing a bug or adding a new feature, feel free to create a PR, the Bitnami team will be happy to review it and provide feedback. |
I encountered the same error and with the help of a good friend we managed to fix/work around it. Down below you see my whole installation process and I hope it will help you and it is not too hard to read :-)
There were three major hurdles:
Greetings, ThiloteE |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Same issue as @zoubinho, but hereafter the error during the creation of the database (with an ad-hoc volume for persistence):
What are the users and the permissions for the persistent volumes ? |
I'm having the same issue with Suitecrm version 7
The SuiteCRM server always stops working with this message: I've verified that both containers are in the same network, and even launching telnet from the SuiteCRM's container terminal it can access the Mariadb service. |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
i'm also having this issue with default docker-compose file. |
@hlearr, If I remember right (i am not sure though. It has been such a long time since I did it!), it would be the following step from my workaround:
|
For everybody: I described a workaround in this comment. I think for this docker file to work flawlessly from the get go, it would need to be adapted the following way:
|
Name and Version
bitnami/suitecrm:latest
What architecture are you using?
amd64
What steps will reproduce the bug?
using instructions on https://github.com/bitnami/containers/tree/main/bitnami/suitecrm
Step 1: Create a network
docker network create suitecrm-network
Step 2: Create a volume for MariaDB persistence and create a MariaDB container
Step 3: Create volumes for SuiteCRM persistence and launch the container
mariadb starts correctly, but suitecrm start and stop after 20s with this error stack:
What is the expected behavior?
expecting service to start and suitecrm to connect to mariadb
What do you see instead?
suitecrm not connecting to mariadb
The text was updated successfully, but these errors were encountered: