Periodic Error from Scanner.php

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

Nextcloud version _:

Betriebssystem: Linux 5.4.0-40-generic x86_64
Prozessor: Intel® Celeron® CPU N3450 @ 1.10GHz (4 cores)
Speicher: 3.69 GB

Operating system and version: Linux Mint 20 Ulyana
Apache or nginx version: Apache/2.4.41 built 2020-04-13T17:19:17
PHP version: PHP 7.4.3 (cli) (built: May 26 2020 12:24:22)

The issue you are facing:
After upgrading to Nexcloud19 I get errors in the log-file regulary (each second!)

Is this the first time you’ve seen this error? Y

Steps to replicate it: None

The output of your Nextcloud log in Admin > Logging:

{"reqId":"xxxx","level":3,"time":"2020-07-16T10:41:50+00:00","remoteAddr":"x.x.x.x","user":"--","app":"PHP","method":"GET","url":"/nextcloud/cron.php","message":"Trying to access array offset on value of type null at /var/nextcloud/lib/private/Files/Cache/Scanner.php#418","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36","version":""}

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

$CONFIG = array (
  'instanceid' => 'xxx',
  'passwordsalt' => 'xxx',
  'secret' => 'xxx',
  'trusted_domains' =>
  array (
  'datadirectory' => '/var/nextcloud',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => 'https://xxx',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'xxx',
  'installed' => true,
  'mail_from_address' => 'nextcloud',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'xxx',
  'mail_smtphost' => 'localhost',
1 Like

Same error flooding the logs, not sure what to do about it.
Any help welcome