Nextcloud Container didn't work with LDAP Sync

Good evening everyone,
I have been running my Nextcloud instance on an Unraid server for about half a year - a whole year. The Docker image from linuxserver.io with the latest tag is used for this.

This is currently running in the Nextcloud version:

  • Nextcloud Hub 10
  • Nextcloud 31.0.0

I synchronize all my users (except the administrator) via LDAP from my Active Directory to my Nextcloud server. This has worked smoothly until recently. Unfortunately, I now always get an error message that seems to be related to the LDAP synchronization. Unfortunately, this “spamms” the logs a bit. This happens every 10 seconds or so.

Logs:
{"reqId":"AuqX2tqrwunaEEMrrOlL","level":0,"time":"2025-03-04T20:46:07+00:00","remoteAddr":"192.168.20.177","user":"Administrator","app":"user_ldap","method":"GET","url":"/apps/logreader/api/log?offset=0&query=","message":"The loading of lazy AppConfig values have been triggered by app \"user_ldap\"","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36","version":"31.0.0.18","exception":{"Exception":"RuntimeException","Message":"The loading of lazy AppConfig values have been triggered by app \"user_ldap\"","Code":0,"Trace":[{"file":"/app/www/public/lib/private/AppConfig.php","line":1193,"function":"loadConfig","class":"OC\\AppConfig","type":"->"},{"file":"/app/www/public/lib/private/AppConfig.php","line":106,"function":"loadConfigAll","class":"OC\\AppConfig","type":"->"},{"file":"/app/www/public/lib/private/AllConfig.php","line":172,"function":"getKeys","class":"OC\\AppConfig","type":"->"},{"file":"/config/www/nextcloud/apps/user_ldap/lib/Helper.php","line":109,"function":"getAppKeys","class":"OC\\AllConfig","type":"->"},{"file":"/config/www/nextcloud/apps/user_ldap/lib/Helper.php","line":50,"function":"getServersConfig","class":"OCA\\User_LDAP\\Helper","type":"->"},{"file":"/config/www/nextcloud/apps/user_ldap/lib/AppInfo/Application.php","line":113,"function":"getServerConfigurationPrefixes","class":"OCA\\User_LDAP\\Helper","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":28,"function":"OCA\\User_LDAP\\AppInfo\\{closure}","class":"OCA\\User_LDAP\\AppInfo\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/AppFramework/Bootstrap/BootContext.php","line":32,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->"},{"file":"/config/www/nextcloud/apps/user_ldap/lib/AppInfo/Application.php","line":104,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Bootstrap/Coordinator.php","line":157,"function":"boot","class":"OCA\\User_LDAP\\AppInfo\\Application","type":"->"},{"file":"/app/www/public/lib/private/App/AppManager.php","line":479,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/app/www/public/lib/private/App/AppManager.php","line":248,"function":"loadApp","class":"OC\\App\\AppManager","type":"->"},{"file":"/app/www/public/lib/private/legacy/OC_App.php","line":82,"function":"loadApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/app/www/public/lib/base.php","line":990,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/app/www/public/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/app/www/public/lib/private/AppConfig.php","Line":1208,"message":"The loading of lazy AppConfig values have been triggered by app \"user_ldap\"","exception":[],"CustomMessage":"The loading of lazy AppConfig values have been triggered by app \"user_ldap\""},"id":"67c7668faf3ef"}

I have already tried the following things:

  • Restart container
  • Check available updates
  • Check LDAP Configuration
  • Check Logs
  • Check Security and Environmentwarnings
  • Check Database Connection
  • Check Redis Connection

The logs that are written cause the integrity check to complain that files exist that shouldn’t exist. But the content only contains the logs from the recording.

Unfortunately, I’m running out of ideas at the moment, does anyone have any ideas? The users still seem to exist, but when I try to send an email I just get the message that the password is wrong.

Maybe someone has an idea what I can do…

The log entry you posted looks to only be occurring because you have debug level logging (0) on.

The logs that are written cause the integrity check to complain that files exist that shouldn’t exist.

Logs don’t impact the integrity check unless you’re logging somewhere unusual.

Please fill out the support template and perhaps we can be more helpful.