I’m encountering an issue accessing phpLDAPAdmin on my server and could use some assistance troubleshooting it. While I can successfully access the ODK-X Endpoint web UI login page without any issues, I’m unable to access phpLDAPAdmin using my server address.
I’ve tried accessing phpLDAPAdmin through the browser using the appropriate URL, but it seems to be inaccessible. I’ve double-checked my server configurations and ensured that phpLDAPAdmin is properly installed. However, despite these efforts, I’m still unable to access it.
Could someone please guide me on how to troubleshoot this issue or suggest any possible solutions? I would greatly appreciate any assistance or insights you can provide.
A couple of things could cause this; From the top of my mind:
1: Have you tried to connect using both https:// and http:// on the correct port (e.g. 4000)?
2: The phpLdapAdmin container is not running. You can check this with the command;
docker stack ps syncldap
Chech that ‘Current State’ for the container with image odk/phpldapadmin:latest is ‘Running’.
3: The container running the nginx server cannot reach the phpldapadmin container - verify that they share a network in the docker-compose.yml configuration you have deployed and that the phpldapadmin container exposes ports 80/tcp and/or 443/tcp
To troubleshoot this, first ensure phpLDAPAdmin is correctly installed and verify the URL you’re using is accurate (e.g., http://your-server-address/phpldapadmin). Check your web server configuration (Apache or Nginx) to confirm phpLDAPAdmin is set up properly and accessible. Verify file permissions, restart your web server, and review error logs (/var/log/apache2/error.log or /var/log/nginx/error.log) for clues. Clear browser cache, check firewall settings. You can contact ODK-X community forum .
Is the openldap container running? Again it’s hard to help without have more insight into the issues. IF all the components of the Docker swarm are not running you will have issues. Check the docker logs to find the possible reason a container is not running.