-
Notifications
You must be signed in to change notification settings - Fork 969
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
Container fails to start subsequent to first (initial) start #472
Comments
Could it be the case that the database is kept in-memory and that we need to commit it to disc at least once before stopping/restarting the container? |
|
Thank you very much for paying attention to this issue! Any progress or workaround suggestions, please? It is also most likely the underlying problem for this issue: With regards |
I hope the docker-compose you shared is not a copy of the one you are using.
|
Hi, my openldap section of docker-compose is:
but still experiencing the problem described here: Alfresco/alfresco-docker-installer#45 David |
@reinierjh Well, that typo you spotted, was indeed the problem. Removing the 'h' in the second path made the container chown the folder and there are also now files in it, start-ups subsequent to initialization show no errors. Thanks a lot! Btw.: Given recent fails committed even by entities thought of to be professional, your suspicion regarding the compose file is sensible. This is nothing we are using in our deployment. I just tried to post an example as complete as possible (not just posting a snipped). |
@zejdad Now that I removed the typo it works for me. I tried version e55926b7c377 of the osixia/openldap image. |
I tried starting the image without ldiff or other seeding. On the first run the image initializes and the containers keeps running. However, when I start the deployment again, the openldap container keeps exiting. Error message below.
docker-compose.yml:
Log on first start (clean directory):
Log on second start (there indeed is something in the config dir but not in the data dir):
I also noticed that config and data dir had been created by the docker daemon. The config dir was chowned to 911:911 but the data dir was still root:root ..
The text was updated successfully, but these errors were encountered: