-
Notifications
You must be signed in to change notification settings - Fork 59
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
LDAP service does not seem to restart properly #45
Comments
Thanks for the feedback, @binduwavell |
It looks like there was a problem with 'latest'/'stable' version fron openldap Docker Image. Fixed by using 1.4.0 release.
It seems to still not be working. I wonder if the issue is that I'm on windows and native docker volumes should be used? |
Whelp, I tried to upgrade my generator and I don't appear to have gotten the fix to use 1.4.0 so probably that is the issue. |
I've fiddled some more and this is still not working for me on Windows. I did try switching to a normal Docker volume and it didn't help. Angel, are you testing on Windows or Mac? |
I'm using Mac, I'll test in Windows to see what happens. |
Hi, I am experiencing the same problem with 1.4.0. First run is fine, but any subsequent attempt to re-run the container with non-empty /var/lib/ldap leads to:
After deleting the /var/lib/ldap contents it starts normally. Please, do you have any solution? I just noticed it is being discussed also here: Regards, |
May you test with the latest version (0.0.21)? |
Angel, thank you for working on this issue! I just updated alfresco-docker-installer (sudo npm install --global generator-alfresco-docker-installer) to 0.1.21 (to be sure, I checked the version tag in the package.json). However, it (yo alfresco-docker-installer) generates exactly the same configs as before; or at least I have not spotted any difference (same directory size, no diff for docker-compose.yml). Namely, volume mappings for openldap in docker-compose.yml are still ./data/ldap:/var/lib/ldap and ./data/slap.d:/etc/ldap/slap.d . Have a nice day! |
If I accept an LDAP server when I create my project, I spin up the stack, I turn it down and then spin it up again, the LDAP container fails to start.
Here is the logged error:
In fact
./data/ldap
has files while./data/slap.d
is empty.The text was updated successfully, but these errors were encountered: