Closed tomflenner closed 3 years ago
Hi,
I tried to use SETUP_TYPE=MANUAL in order to get a configuration database backend, but i have some trouble while using MongoDB with configuration backend :(
There is my configuration file:
[configuration] type = MongoDB dbName = llConfDB collectionName = configuration host = 51.83.70.224:27017 ssl = 0 db_name = admin user = **** password = ****
But i have these logs in docker :
lemonldap-app | [Thu Jun 3 08:46:32 2021] [LLNG:1550] [error] Lemonldap::NG::Handler::Server::Main: Unable to load configuration: Lemonldap::NG::Common::Conf::Backends::MongoDB loaded. lemonldap-app | MongoDB::DatabaseError: command distinct requires authenticationError: No configuration available in backend. lemonldap-app | Get remote configuration (localStorage unavailable).
I dont know why, i tried to use root mongodb on user and password but i didnt change nothing...
Have you any idea?
Thanks.
Just before closing.
There is the solution :
After editing manually the .ini file we need to enter in the Docker container :
docker exec -it [lemonldap_container_name] /bin/bash
and run
convertConfig
Hi,
I tried to use SETUP_TYPE=MANUAL in order to get a configuration database backend, but i have some trouble while using MongoDB with configuration backend :(
There is my configuration file:
But i have these logs in docker :
I dont know why, i tried to use root mongodb on user and password but i didnt change nothing...
Have you any idea?
Thanks.