Nextcloud 18.02 massive log flooding with LDAP Errors

Today I tried again to upgrade my Nextcloud on the Univention Corporate Server to version 18.0.4.
The error messages appeared again and flooded my nextcloud.log

So I searched though internet and found a workaroud/solution in the Nextcloud help-forum

0 = DEBUG
1 = INFO
2 = WARN
3 = ERROR
4 = FATAL

Default without explicit configuration is 2. During the upgrade it’s set to 0 and after successful upgrade to the previous value.

So I did the following:

  • univention-app shell nextcloud
  • apt-get install
  • cd var/www/html/config/
  • config.php
    Change the value of the line
    ‘loglevel’ => 0,
    to
    ‘loglevel’ => 2,
  • and safe the file.

Starting from this point no messages flood the log file anymore.

The main reason to do this was the sentence:

Default without explicit configuration is 2

I am testing my Nextcloud instance sind 2 hours using its apps, synchronizing several devices, CalDAV and CardDav and could not find any malfunction since then. Installing additional apps worked fine, too.

1 Like