I’m in big need for help. So I had my Nextcloud server up and running. After I went to do some LDAP changes why server started crashing. I know how to fix it but it’s not working.
Basically there’s an error in my LDAP config file.
I actually got it to work by giving chown to nextcloud. Now I know my server keeps crashing because of "ldapAgentPassword | *********** | " - This is wrong password.
Now I’m trying to change the password by using sudo -u nextcloud php occ ldap:set-config but I’m not sure how to because right now it’s giving me Not enough arguments (missing: “configID, configKey, configValue”) error.
sudo -u nextcloud php occ ldap:set-config ldapAgentName gave me Not enough arguments (missing: “configKey, configValue”) error. Not sure what’s configKey supposed to mean. Value probably is the new desired password.
https://docs.nextcloud.com/server/15/admin_manual/configuration_server/occ_command.html?
occ ldap:set-config is used to modify your config so you have to add arguments to tell it what to do.
I was dumb and changed the password to test if LDAP works. This is what the conf currently looks like, the only thing I changed was the ldapAgentPassword.
Did you try the link ? You could decode the actual password from the database and then put it in the config or try to put the password in base64 in your config
I had to add s01 in the query but I found the actual password from my config this way
The password was shown as *** but was actually set to 123456. Now I set it to back to what it was, my Nextcloud is working again! Thank you so much, I was going to spend hours on rebuilding my cloud.