NC 21 Error: ldap_read(): Search

Hallo ich habe seit dem Update von Nextcloud 21.0.0

folgenden Fehler in der nextcloud.log
Error: ldap_read(): Search: No such object at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#342

<<closure>>

OC\Log\ErrorHandler::onError()

<<closure>>

ldap_read()

/var/www/nextcloud/apps/user_ldap/lib/LDAP.php - line 342:

call_user_func_array()

/var/www/nextcloud/apps/user_ldap/lib/LDAP.php - line 212:

OCA\User_LDAP\LDAP->invokeLDAPMethod("*** sensiti ... *")

<<closure>>

OCA\User_LDAP\LDAP->read()

/var/www/nextcloud/apps/user_ldap/lib/Access.php - line 1091:

call_user_func_array()

/var/www/nextcloud/apps/user_ldap/lib/Access.php - line 1095:

OCA\User_LDAP\Access->OCA\User_LDAP\{closure}("*** sensiti ... *")

/var/www/nextcloud/apps/user_ldap/lib/Access.php - line 269:

OCA\User_LDAP\Access->invokeLDAPMethod("*** sensiti ... *")

/var/www/nextcloud/apps/user_ldap/lib/Access.php - line 214:

OCA\User_LDAP\Access->executeRead()

/var/www/nextcloud/apps/user_ldap/lib/User_LDAP.php - line 309:

OCA\User_LDAP\Access->readAttribute()

<<closure>>

OCA\User_LDAP\User_LDAP->userExistsOnLDAP()

/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php - line 82:

call_user_func_array()

/var/www/nextcloud/apps/user_ldap/lib/Proxy.php - line 169:

OCA\User_LDAP\User_Proxy->walkBackends()

/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php - line 212:

OCA\User_LDAP\Proxy->handleRequest()

/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php - line 188:

OCA\User_LDAP\User_Proxy->userExistsOnLDAP()

/var/www/nextcloud/lib/private/User/Manager.php - line 644:

OCA\User_LDAP\User_Proxy->userExists()

/var/www/nextcloud/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php - line 90:

OC\User\Manager->callForSeenUsers()

/var/www/nextcloud/lib/private/BackgroundJob/Job.php - line 52:

OCA\Files_Trashbin\BackgroundJob\ExpireTrash->run()

/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php - line 59:

OC\BackgroundJob\Job->execute()

/var/www/nextcloud/cron.php - line 128:

OC\BackgroundJob\TimedJob->execute()

Der fehler tritt alle 30 min auf wie man hier sieht. Wenn User in der Oberfläche angemeldet sindauch etwas öfter.
Scheint durch die Hintergrund Aufgabe ausgelöst zu werden.

> ungefähr alle 20 - 30 je nadam wieviel eingeloggt sind
> hier sind nur 3 NC-clients permanent verbunden
{"reqId":"KVAKyKo2aEwHt57UglGt","level":3,"time":"2021-04-15T00:15:01+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"ldap_read(): Search: No such object at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#342","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"function":"ldap_read"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/LDAP.php","line":342,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":269,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":214,"function":"executeRead","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":82,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Proxy.php","line":169,"function":"walkBackends","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":212,"function":"handleRequest","class":"OCA\\User_LDAP\\Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":190,"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":181,"function":"checkUser","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":137,"function":"checkUsers","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":128,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"--","version":"21.0.1.1"}
{"reqId":"mniMJuPGsFDgnr254s75","level":3,"time":"2021-04-15T00:25:01+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"ldap_read(): Search: No such object at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#342","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"function":"ldap_read"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/LDAP.php","line":342,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":269,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":214,"function":"executeRead","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":82,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Proxy.php","line":169,"function":"walkBackends","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":212,"function":"handleRequest","class":"OCA\\User_LDAP\\Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":188,"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/Manager.php","line":644,"function":"userExists","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php","line":90,"function":"callForSeenUsers","class":"OC\\User\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":128,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"--","version":"21.0.1.1"}
{"reqId":"USzwaMzJI9prPtjXATuI","level":3,"time":"2021-04-15T00:55:02+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"ldap_read(): Search: No such object at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#342","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"function":"ldap_read"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/LDAP.php","line":342,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":269,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":214,"function":"executeRead","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":82,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Proxy.php","line":169,"function":"walkBackends","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":212,"function":"handleRequest","class":"OCA\\User_LDAP\\Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":188,"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/Manager.php","line":644,"function":"userExists","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php","line":90,"function":"callForSeenUsers","class":"OC\\User\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":128,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"--","version":"21.0.1.1"}
{"reqId":"5fLgrBHUmCjJF7wePUww","level":3,"time":"2021-04-15T01:10:02+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"ldap_read(): Search: No such object at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#342","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"function":"ldap_read"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/LDAP.php","line":342,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":269,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":214,"function":"executeRead","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":82,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Proxy.php","line":169,"function":"walkBackends","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":212,"function":"handleRequest","class":"OCA\\User_LDAP\\Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":190,"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":181,"function":"checkUser","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":137,"function":"checkUsers","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":128,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"--","version":"21.0.1.1"}
{"reqId":"5fLgrBHUmCjJF7wePUww","level":3,"time":"2021-04-15T01:10:02+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"ldap_read(): Search: No such object at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#342","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"function":"ldap_read"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/LDAP.php","line":342,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":269,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":214,"function":"executeRead","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":82,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Proxy.php","line":169,"function":"walkBackends","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":212,"function":"handleRequest","class":"OCA\\User_LDAP\\Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":190,"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":181,"function":"checkUser","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":137,"function":"checkUsers","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":128,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"--","version":"21.0.1.1"}
{"reqId":"3t87cWM1ihmj8haC0AeJ","level":3,"time":"2021-04-15T01:30:02+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"ldap_read(): Search: No such object at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#342","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"function":"ldap_read"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/LDAP.php","line":342,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":269,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":214,"function":"executeRead","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":82,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Proxy.php","line":169,"function":"walkBackends","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":212,"function":"handleRequest","class":"OCA\\User_LDAP\\Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":188,"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/Manager.php","line":644,"function":"userExists","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php","line":90,"function":"callForSeenUsers","class":"OC\\User\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":128,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"--","version":"21.0.1.1"}
{"reqId":"orDB99bb6F8Pji2YuJz7","level":3,"time":"2021-04-15T02:10:02+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"ldap_read(): Search: No such object at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#342","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"function":"ldap_read"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/LDAP.php","line":342,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":269,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":214,"function":"executeRead","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":82,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Proxy.php","line":169,"function":"walkBackends","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":212,"function":"handleRequest","class":"OCA\\User_LDAP\\Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":188,"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/Manager.php","line":644,"function":"userExists","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php","line":90,"function":"callForSeenUsers","class":"OC\\User\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":128,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"--","version":"21.0.1.1"}
{"reqId":"orDB99bb6F8Pji2YuJz7","level":3,"time":"2021-04-15T02:10:02+02:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":{"Exception":"Error","Message":"ldap_read(): Search: No such object at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#342","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"function":"ldap_read"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/LDAP.php","line":342,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":1091,"function":"call_user_func_array"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php","line":269,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\Access","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Access.php","line":214,"function":"executeRead","class":"OCA\\User_LDAP\\Access","type":"->"},{"file":"/var/www/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/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":82,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Proxy.php","line":169,"function":"walkBackends","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php","line":212,"function":"handleRequest","class":"OCA\\User_LDAP\\Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":190,"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_Proxy","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":181,"function":"checkUser","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php","line":137,"function":"checkUsers","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\User_LDAP\\Jobs\\CleanUp","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":128,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"--","version":"21.0.1.1"}

Im Moment merken die User keine Beeinträchtigung. Sie können sich einloggen und arbeiten.
Ein Update auf 21.0.1 hat nichts gebraucht.

Die Nextcloud hängt an einem AD
Die Nextcloud läuft auf einer VM
4 Corse 8 GB Ram
42 User
php 8.03
mariadb 10.3.25
Apache 2
Gigabit Anbindung
Fehler tritt erst seit Nextcloud 21.0.0 auf und an der LDAP Anbindung wurde seit 1 Jahr nichts gemacht
Ich kan bei Bedarf auch die mal posten

Gruß Markus

Bei uns tritt derselbe Fehler auf

Error: ldap_read(): Search: No such object at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#342

Details:

{“reqId”:“NtlWWXjKKLME9wPvRzg4”,“level”:3,“time”:“2021-04-17T07:50:04+02:00”,“remoteAddr”:"",“user”:"–",“app”:“PHP”,“method”:"",“url”:"–",“message”:{“Exception”:“Error”,“Message”:“ldap_read(): Search: No such object at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#342”,“Code”:0,“Trace”:[{“function”:“onError”,“class”:“OC\Log\ErrorHandler”,“type”:"::"},{“function”:“ldap_read”},{“file”:"/var/www/nextcloud/apps/user_ldap/lib/LDAP.php",“line”:342,“function”:“call_user_func_array”},{“file”:"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php",“line”:1091,“function”:“call_user_func_array”},{“file”:"/var/www/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/nextcloud/apps/user_ldap/lib/Access.php",“line”:269,“function”:“invokeLDAPMethod”,“class”:“OCA\User_LDAP\Access”,“type”:"->",“args”:[" sensitive parameters replaced ***"]},{“file”:"/var/www/nextcloud/apps/user_ldap/lib/Access.php",“line”:214,“function”:“executeRead”,“class”:“OCA\User_LDAP\Access”,“type”:"->"},{“file”:"/var/www/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/nextcloud/apps/user_ldap/lib/User_Proxy.php",“line”:82,“function”:“call_user_func_array”},{“file”:"/var/www/nextcloud/apps/user_ldap/lib/Proxy.php",“line”:169,“function”:“walkBackends”,“class”:“OCA\User_LDAP\User_Proxy”,“type”:"->"},{“file”:"/var/www/nextcloud/apps/user_ldap/lib/User_Proxy.php",“line”:212,“function”:“handleRequest”,“class”:“OCA\User_LDAP\Proxy”,“type”:"->"},{“file”:"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php",“line”:190,“function”:“userExistsOnLDAP”,“class”:“OCA\User_LDAP\User_Proxy”,“type”:"->"},{“file”:"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php",“line”:181,“function”:“checkUser”,“class”:“OCA\User_LDAP\Jobs\CleanUp”,“type”:"->"},{“file”:"/var/www/nextcloud/apps/user_ldap/lib/Jobs/CleanUp.php",“line”:137,“function”:“checkUsers”,“class”:“OCA\User_LDAP\Jobs\CleanUp”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/BackgroundJob/Job.php",“line”:52,“function”:“run”,“class”:“OCA\User_LDAP\Jobs\CleanUp”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php",“line”:59,“function”:“execute”,“class”:“OC\BackgroundJob\Job”,“type”:"->"},{“file”:"/var/www/nextcloud/cron.php",“line”:128,“function”:“execute”,“class”:“OC\BackgroundJob\TimedJob”,“type”:"->"}],“File”:"/var/www/nextcloud/lib/private/Log/ErrorHandler.php",“Line”:92,“CustomMessage”:"–"},“userAgent”:"–",“version”:“21.0.1.1”,“id”:“607a7cac2cf85”}

Server
ubuntu server 20.04.2
Nginx 1.19
PostgreSQl 13.2
PHP 8.0.3
NC 21.0.1

LDAP meldet keine Fehler bei der Prüfung der Verbindung. User können sich anmelden und arbeiten.

Das Problem trit seit Migration von NC 20.0.8 → 21.0.1 auf.
Ich habe in Verbindung mit dem Upgrade auf NC21.x auch das Upgrade von PHP 7.4 auf 8.0 gemacht
gem.

bzw. nachgerüstet über

Hallo,

Der Fehler tritt bei mir alle 35 min auf auch wenn keiner angemeldet ist.
ich vermute das es an php 8.0 liegt.
ich habe mir jetzt mal eine clone von meiner NC gemacht und werde jetzt mal auf php 7.4 zurück gehen.

Ich werde berichten wenn ich was gefunden habe.

Gruß

Markus

Hallo,

hier mein workaround:

ich habe zusätzlich zu php 8.0 nochmal php7.4 installiert.
Jeder sollte halt schauen was er installiert hat

check installation

php -v
php -m

Bei mir Apache2 und apu Caching

php 7.4
apt install php7.4-common php7.4-cli

Module nachinstallieren
apt install libapache2-mod-php7.4 php7.4-zip php7.4-xml php7.4-mbstring php7.4-gd php7.4-curl php7.4-imagick php7.4-intl php7.4-bcmath php7.4-gmp php7.4-cli php7.4-mysql php7.4-zip php7.4-gd php7.4-mbstring php7.4-curl php7.4-xml php7.4-apcu php7.4-redis php7.4-gmp php7.4-intl php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-cgi

php 7.4 anpassungen ( weiss nicht ob das Notwendig ist Sollte jeder für sich anpassen)
nano /etc/php/7.4/apache2/php.ini

opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1

#File Upload
post_max_size = 4G
upload_max_filesize = 4G
max_file_uploads = 10000
memory_limit 4G

Ganz ans Ende
apc.enable_cli=1

Dann den Crontab über php7.4 laufen lassen
crontab -u www-data -e
*/5 * * * * php -f /var/www/nextcloud/cron.php > /dev/null 2>&1

NC 21 läuft weiterhin über php 8.03

Fehler ist bei mir seit ca 2 Stunden aus der log weg.
Würde mich freuen wenn das mal jemand bei sich testet und bestätig.

Gruß

Markus

Bei mir ist seit der Umstellung auf PHP 8.0.3 die bisherige PHP 7.4.x nicht deaktiviert worden.

Meine Anpassung

sudo update-alternatives --config php

habe ich bei “0” (automatischer Modus) und somit auf php -v => 8.0.3 belassen.

In sudo -u www-data crontab habe ich folgendes angepasst

statt
php -f /var/www/nextcloud/cron.php

habe ich für den cronjob
php7.4 -f /var/www/nextcloud/cron.php

eingestellt. Das beobachte ich dann mal im Log …

Du kannst php 7.4 aber auch deaktivieren.
Es muss nur noch vorhanden sein.

Grundsätzlich würde ich auf php 7.4 bleiben bis bei php8 die Fehler beseitig sind.