Changed Windows Domain Admin password, no access to Setting

Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
nextcloud version : 21.0.1

I have an issue that happened after I had to change My Windows Administrator Domain Password. Strange thing is, I never joined this Ubuntu computer to the domain, I only added the LDAP settings so that users could access my files on the nextcloud server.
the main issue I am having, is that when you launch the Web UI, I can log in with local account but when ever go to setting section i get this error “internal server error”

Capture

The output of \var\www\html\nextcloud\data\data.log

 sudo tail /var/www/html/nextcloud/data/nextcloud.log
{"reqId":"ANpmfWBdU7cbILuFctVO","level":3,"time":"2021-09-29T09:05:02+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":{"Exception":"Exception","Message":"LDAP Operations error","Code":1,"Trace":[{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":421,"function":"processLDAPError","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":344,"function":"postFunctionCall","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":212,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\LDAP","type":"->","args":["*** sensitive parameters replaced ***"]},{"function":"read","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1095,"function":"OCA\\User_LDAP\\{closure}","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":269,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":214,"function":"executeRead","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_LDAP.php","line":309,"function":"readAttribute","class":"OCA\\User_LDAP\\Access","type":"->"},{"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":82,"function":"call_user_func_array"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Proxy.php","line":169,"function":"walkBackends","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":212,"function":"handleRequest","class":"OCA\\User_LDAP\\Proxy","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":188,"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/User/Manager.php","line":177,"function":"userExists","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/html/nextcloud/apps/settings/lib/Activity/GroupProvider.php","line":194,"function":"get","class":"OC\\User\\Manager","type":"->"},{"file":"/var/www/html/nextcloud/apps/settings/lib/Activity/GroupProvider.php","line":179,"function":"getDisplayName","class":"OCA\\Settings\\Activity\\GroupProvider","type":"->"},{"file":"/var/www/html/nextcloud/apps/settings/lib/Activity/GroupProvider.php","line":85,"function":"generateUserParameter","class":"OCA\\Settings\\Activity\\GroupProvider","type":"->"},{"file":"/var/www/html/nextcloud/apps/activity/lib/MailQueueHandler.php","line":453,"function":"parse","class":"OCA\\Settings\\Activity\\GroupProvider","type":"->"},{"file":"/var/www/html/nextcloud/apps/activity/lib/MailQueueHandler.php","line":358,"function":"parseEvent","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/html/nextcloud/apps/activity/lib/MailQueueHandler.php","line":163,"function":"sendEmailToUser","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/html/nextcloud/apps/activity/lib/BackgroundJob/EmailNotification.php","line":65,"function":"sendEmails","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\Activity\\BackgroundJob\\EmailNotification","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/html/nextcloud/cron.php","line":128,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","Line":388,"CustomMessage":"Failed sending activity email to user \"{user}\""},"userAgent":"--","version":"21.0.1.1"}
{"reqId":"ANpmfWBdU7cbILuFctVO","level":3,"time":"2021-09-29T09:05:02+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":{"Exception":"Exception","Message":"LDAP Operations error","Code":1,"Trace":[{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":421,"function":"processLDAPError","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":344,"function":"postFunctionCall","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":212,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\LDAP","type":"->","args":["*** sensitive parameters replaced ***"]},{"function":"read","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1095,"function":"OCA\\User_LDAP\\{closure}","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":269,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":214,"function":"executeRead","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_LDAP.php","line":309,"function":"readAttribute","class":"OCA\\User_LDAP\\Access","type":"->"},{"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":82,"function":"call_user_func_array"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Proxy.php","line":169,"function":"walkBackends","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":212,"function":"handleRequest","class":"OCA\\User_LDAP\\Proxy","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":190,"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":181,"function":"checkUser","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":137,"function":"checkUsers","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/html/nextcloud/cron.php","line":128,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","Line":388,"CustomMessage":"Error while running background job (class: OCA\\User_LDAP\\Jobs\\CleanUp, arguments: )"},"userAgent":"--","version":"21.0.1.1"}
{"reqId":"Fm37758sRGRPrT37Gp9U","level":2,"time":"2021-09-29T09:09:36+00:00","remoteAddr":"192.168.1.201","user":"administrator","app":"filesystem","method":"GET","url":"/index.php/csrftoken","message":"Storage wrapper 'sharepermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36","version":"21.0.1.1"}
{"reqId":"2cxjxZpS8xIItzOWBX9r","level":2,"time":"2021-09-29T09:10:01+00:00","remoteAddr":"","user":"--","app":"filesystem","method":"","url":"--","message":"Storage wrapper 'sharepermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.","userAgent":"--","version":"21.0.1.1"}
{"reqId":"0F5rql3FJtA2TRMJpYaq","level":2,"time":"2021-09-29T09:15:01+00:00","remoteAddr":"","user":"--","app":"filesystem","method":"","url":"--","message":"Storage wrapper 'sharepermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.","userAgent":"--","version":"21.0.1.1"}
{"reqId":"0F5rql3FJtA2TRMJpYaq","level":2,"time":"2021-09-29T09:15:02+00:00","remoteAddr":"","user":"--","app":"user_ldap","method":"","url":"--","message":"Bind failed: 49: Invalid credentials","userAgent":"--","version":"21.0.1.1"}
{"reqId":"0F5rql3FJtA2TRMJpYaq","level":3,"time":"2021-09-29T09:15:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"ldap_search(): Search: Operations error at /var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php#342","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":230,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"function":"OCA\\User_LDAP\\{closure}","class":"OCA\\User_LDAP\\LDAP","type":"->","args":["*** sensitive parameters replaced ***"]},{"function":"ldap_search"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":342,"function":"call_user_func_array"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":235,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\LDAP","type":"->","args":["*** sensitive parameters replaced ***"]},{"function":"search","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1095,"function":"OCA\\User_LDAP\\{closure}","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1148,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1253,"function":"executeSearch","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1004,"function":"count","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_LDAP.php","line":565,"function":"countUsers","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":350,"function":"countUsers","class":"OCA\\User_LDAP\\User_LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/support/lib/Service/SubscriptionService.php","line":128,"function":"countUsers","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/html/nextcloud/apps/support/lib/Service/SubscriptionService.php","line":270,"function":"getUserCount","class":"OCA\\Support\\Service\\SubscriptionService","type":"->"},{"file":"/var/www/html/nextcloud/apps/support/lib/Service/SubscriptionService.php","line":333,"function":"getSubscriptionInfo","class":"OCA\\Support\\Service\\SubscriptionService","type":"->"},{"file":"/var/www/html/nextcloud/apps/support/lib/BackgroundJobs/CheckSubscription.php","line":47,"function":"checkSubscription","class":"OCA\\Support\\Service\\SubscriptionService","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\Support\\BackgroundJobs\\CheckSubscription","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/html/nextcloud/cron.php","line":128,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"--","version":"21.0.1.1"}
{"reqId":"0F5rql3FJtA2TRMJpYaq","level":3,"time":"2021-09-29T09:15:02+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":{"Exception":"Exception","Message":"LDAP Operations error","Code":1,"Trace":[{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":421,"function":"processLDAPError","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":344,"function":"postFunctionCall","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":235,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\LDAP","type":"->","args":["*** sensitive parameters replaced ***"]},{"function":"search","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1095,"function":"OCA\\User_LDAP\\{closure}","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1148,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1253,"function":"executeSearch","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1004,"function":"count","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_LDAP.php","line":565,"function":"countUsers","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":350,"function":"countUsers","class":"OCA\\User_LDAP\\User_LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/support/lib/Service/SubscriptionService.php","line":128,"function":"countUsers","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/html/nextcloud/apps/support/lib/Service/SubscriptionService.php","line":270,"function":"getUserCount","class":"OCA\\Support\\Service\\SubscriptionService","type":"->"},{"file":"/var/www/html/nextcloud/apps/support/lib/Service/SubscriptionService.php","line":333,"function":"getSubscriptionInfo","class":"OCA\\Support\\Service\\SubscriptionService","type":"->"},{"file":"/var/www/html/nextcloud/apps/support/lib/BackgroundJobs/CheckSubscription.php","line":47,"function":"checkSubscription","class":"OCA\\Support\\Service\\SubscriptionService","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\Support\\BackgroundJobs\\CheckSubscription","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/html/nextcloud/cron.php","line":128,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","Line":388,"CustomMessage":"Error while running background job (class: OCA\\Support\\BackgroundJobs\\CheckSubscription, arguments: )"},"userAgent":"--","version":"21.0.1.1"}
{"reqId":"0F5rql3FJtA2TRMJpYaq","level":3,"time":"2021-09-29T09:15:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"ldap_search(): Search: Operations error at /var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php#342","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":230,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"function":"OCA\\User_LDAP\\{closure}","class":"OCA\\User_LDAP\\LDAP","type":"->","args":["*** sensitive parameters replaced ***"]},{"function":"ldap_search"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":342,"function":"call_user_func_array"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":235,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\LDAP","type":"->","args":["*** sensitive parameters replaced ***"]},{"function":"search","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1095,"function":"OCA\\User_LDAP\\{closure}","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1148,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1320,"function":"executeSearch","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":988,"function":"search","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":872,"function":"searchUsers","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_LDAP.php","line":274,"function":"fetchListOfUsers","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":170,"function":"getUsers","class":"OCA\\User_LDAP\\User_LDAP","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/User/Manager.php","line":534,"function":"getUsers","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/html/nextcloud/apps/integration_jira/lib/Service/JiraAPIService.php","line":61,"function":"callForAllUsers","class":"OC\\User\\Manager","type":"->"},{"file":"/var/www/html/nextcloud/apps/integration_jira/lib/BackgroundJob/CheckOpenTickets.php","line":57,"function":"checkOpenTickets","class":"OCA\\Jira\\Service\\JiraAPIService","type":"->"},{"file":"/var/www/html/nextcloud/lib/public/BackgroundJob/Job.php","line":80,"function":"run","class":"OCA\\Jira\\BackgroundJob\\CheckOpenTickets","type":"->"},{"file":"/var/www/html/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":61,"function":"execute","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/html/nextcloud/cron.php","line":128,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"--","version":"21.0.1.1"}
{"reqId":"0F5rql3FJtA2TRMJpYaq","level":3,"time":"2021-09-29T09:15:02+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":{"Exception":"Exception","Message":"LDAP Operations error","Code":1,"Trace":[{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":421,"function":"processLDAPError","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":344,"function":"postFunctionCall","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","line":235,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\LDAP","type":"->","args":["*** sensitive parameters replaced ***"]},{"function":"search","class":"OCA\\User_LDAP\\LDAP","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1095,"function":"OCA\\User_LDAP\\{closure}","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1148,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":1320,"function":"executeSearch","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":988,"function":"search","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/Access.php","line":872,"function":"searchUsers","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_LDAP.php","line":274,"function":"fetchListOfUsers","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/html/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":170,"function":"getUsers","class":"OCA\\User_LDAP\\User_LDAP","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/User/Manager.php","line":534,"function":"getUsers","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/html/nextcloud/apps/integration_jira/lib/Service/JiraAPIService.php","line":61,"function":"callForAllUsers","class":"OC\\User\\Manager","type":"->"},{"file":"/var/www/html/nextcloud/apps/integration_jira/lib/BackgroundJob/CheckOpenTickets.php","line":57,"function":"checkOpenTickets","class":"OCA\\Jira\\Service\\JiraAPIService","type":"->"},{"file":"/var/www/html/nextcloud/lib/public/BackgroundJob/Job.php","line":80,"function":"run","class":"OCA\\Jira\\BackgroundJob\\CheckOpenTickets","type":"->"},{"file":"/var/www/html/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":61,"function":"execute","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/html/nextcloud/cron.php","line":128,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php","Line":388,"CustomMessage":"Error while running background job (class: OCA\\Jira\\BackgroundJob\\CheckOpenTickets, arguments: )"},"userAgent":"--","version":"21.0.1.1"}




The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):

$CONFIG = array (
‘instanceid’ => ‘ocvnq7bux4z6’,
‘passwordsalt’ => ‘AS03zaE6sdBupwpnTnBOGfKFoeXg/s’,
‘secret’ => ‘Vll/HtHTgML4Hq+GJbap4m5uep0jriJzz4Z9Kw6tTMw5w92U’,
‘trusted_domains’ =>
array (
0 => ‘192.168.1.215’,
1 => ‘cloud.epstein.co.il’,
),
‘datadirectory’ => ‘/var/www/html/nextcloud/data’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘21.0.1.1’,
‘overwrite.cli.url’ => ‘http://192.168.1.215/nextcloud’,
‘dbname’ => ‘nextcloud_db’,
‘dbhost’ => ‘localhost’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘mysql.utf8mb4’ => true,
‘dbuser’ => ‘nextcloud_user’,
‘dbpassword’ => ‘nextcloud_pass’,
‘installed’ => true,
‘maintenance’ => false,
‘theme’ => ‘’,
‘loglevel’ => 2,
‘ldapIgnoreNamingRules’ => false,
‘ldapProviderFactory’ => ‘OCA\User_LDAP\LDAPProviderFactory’,
‘twofactor_enforced’ => ‘false’,
‘default_language’ => ‘he’,
‘skeletondirectory’ => ‘’,
‘session_lifetime’ => 86400,
‘twofactor_enforced_groups’ =>
array (
0 => ‘External Users’,
1 => ‘Metv Users’,
2 => ‘users’,
3 => ‘admin’,
),
‘twofactor_enforced_excluded_groups’ =>
array (
0 => ‘test’,
),
‘mail_from_address’ => ‘Helpdesk’,
‘mail_smtpmode’ => ‘smtp’,
‘mail_sendmailmode’ => ‘smtp’,
‘mail_domain’ => ‘epstein.co.il’,
‘mail_smtpauthtype’ => ‘LOGIN’,
‘mail_smtphost’ => ‘192.168.1.200’,
‘mail_smtpport’ => ‘25’,
‘app_install_overwrite’ =>
array (
0 => ‘twofactor_rcdevsopenotp’,
1 => ‘zimbradrive’,
2 => ‘twofactor_totp’,
),
);


The output of your Apache/nginx/system log in `/var/log/____`:

/var/log/apache2$ cat error.log
[Wed Sep 29 00:00:01.656505 2021] [mpm_prefork:notice] [pid 915] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured – resuming normal operations
[Wed Sep 29 00:00:01.656525 2021] [core:notice] [pid 915] AH00094: Command line: ‘/usr/sbin/apache2’
[Wed Sep 29 06:17:00.422895 2021] [mpm_prefork:notice] [pid 915] AH00169: caught SIGTERM, shutting down
[Wed Sep 29 06:17:00.518772 2021] [mpm_prefork:notice] [pid 14093] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured – resuming normal operations
[Wed Sep 29 06:17:00.518827 2021] [core:notice] [pid 14093] AH00094: Command line: ‘/usr/sbin/apache2’

Hi,
after we have disabled ldap from cli with the command “administrator@nextcloud:/var/www/html/nextcloud$ sudo -u www-data php occ app:disable user_ldap”
now we can run the web UI but without ldap integration but when we enable the ldap again from the gui we get the same error , is there any way to delete/reset the ldap config from the cli ?

I used the following to get what I needed.