Today migrated my nextcloud instance from a lxc VM to a docker container. After migrating upgraded from nextcloud 18.0.4 to 19.0.
now when I scan files, for 1 users I get this errors, the rest of the users scans fine without these error. Any idea how to fix this issue?
Also, when running the same scan in the still existing lxc container, I donāt get this error.
www-data@4b0b4a3f1e81:~/html$ php occ files:scan linda
Starting scan for user 1 out of 1 (linda)
Exception during scan: Trying to access array offset on value of type null
#0 /var/www/html/lib/private/Files/Cache/Scanner.php(418): OCA\Files\Command\Scan->exceptionErrorHandler(8, āTrying to accesā¦ā, ā/var/www/html/lā¦ā, 418, Array)
#1 /var/www/html/lib/private/Files/Cache/Scanner.php(388): OC\Files\Cache\Scanner->handleChildren(āfiles/Documentsā¦ā, true, 3, 36285, true, 654)
#2 /var/www/html/lib/private/Files/Cache/Scanner.php(391): OC\Files\Cache\Scanner->scanChildren(āfiles/Documentsā¦ā, true, 3, 36285, true)
#3 /var/www/html/lib/private/Files/Cache/Scanner.php(391): OC\Files\Cache\Scanner->scanChildren(āfiles/Documentsā¦ā, true, 3, 35157, true)
#4 /var/www/html/lib/private/Files/Cache/Scanner.php(391): OC\Files\Cache\Scanner->scanChildren(āfiles/Documentsā, true, 3, 35061, true)
#5 /var/www/html/lib/private/Files/Cache/Scanner.php(391): OC\Files\Cache\Scanner->scanChildren(āfilesā, true, 3, 35060, true)
#6 /var/www/html/lib/private/Files/Cache/Scanner.php(340): OC\Files\Cache\Scanner->scanChildren(āā, true, 3, 35059, true)
#7 /var/www/html/lib/private/Files/Utils/Scanner.php(260): OC\Files\Cache\Scanner->scan(āā, true, 3)
#8 /var/www/html/apps/files/lib/Command/Scan.php(151): OC\Files\Utils\Scanner->scan(ā/lindaā, true, NULL)
#9 /var/www/html/apps/files/lib/Command/Scan.php(207): OCA\Files\Command\Scan->scanFiles(ālindaā, ā/lindaā, Object(Symfony\Component\Console\Output\ConsoleOutput), false, true, false)
#10 /var/www/html/3rdparty/symfony/console/Command/Command.php(255): OCA\Files\Command\Scan->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/core/Command/Base.php(169): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/3rdparty/symfony/console/Application.php(1012): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/3rdparty/symfony/console/Application.php(272): Symfony\Component\Console\Application->doRunCommand(Object(OCA\Files\Command\Scan), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/console.php(100): OC\Console\Application->run()
#17 /var/www/html/occ(11): require_once(ā/var/www/html/cā¦ā)
#18 {main}
Ā±--------Ā±------Ā±-------------+
| Folders | Files | Elapsed time |
Ā±--------Ā±------Ā±-------------+
| 46 | 833 | 00:00:00 |
Ā±--------Ā±------Ā±-------------+