Proebleme mit Files Scan

Hallo,

ich bekomme bei einem Benutzer diese Fehlermedung beim Filescan

Exception during scan: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”?
#0 /var/www/html/nextcloud/lib/composer/composer/ClassLoader.php(444): OCA\Files\Command\Scan->exceptionErrorHandler(2, ‘“continue” targ…’, ‘/var/www/html/n…’, 55, Array)
#1 /var/www/html/nextcloud/lib/composer/composer/ClassLoader.php(444): include()
#2 /var/www/html/nextcloud/lib/composer/composer/ClassLoader.php(322): Composer\Autoload\includeFile(’/var/www/html/n…’)
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass(‘OCA\WorkflowEng…’)
#4 /var/www/html/nextcloud/apps/workflowengine/lib/Service/RuleMatcher.php(124): spl_autoload_call(‘OCA\WorkflowEng…’)
#5 /var/www/html/nextcloud/apps/workflowengine/lib/Service/RuleMatcher.php(114): OCA\WorkflowEngine\Service\RuleMatcher->getMatchingOperations(‘OCA\FilesAutoma…’, false)
#6 /var/www/html/nextcloud/apps/files_automatedtagging/lib/Operation.php(85): OCA\WorkflowEngine\Service\RuleMatcher->getFlows(false)
#7 /var/www/html/nextcloud/apps/files_automatedtagging/lib/CacheListener.php(45): OCA\FilesAutomatedTagging\Operation->checkOperations(Object(OCA\Files_Trashbin\Storage), 300017, ‘files/Fotos’)
#8 /var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(247): OCA\FilesAutomatedTagging\CacheListener->onCacheEvent(Object(OCP\Files\Cache\CacheUpdateEvent), ‘OCP\Files\Cache…’, Object(Symfony\Component\EventDispatcher\EventDispatcher))
#9 /var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, ‘OCP\Files\Cache…’, Object(OCP\Files\Cache\CacheUpdateEvent))
#10 /var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php(80): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(OCP\Files\Cache\CacheUpdateEvent), ‘OCP\Files\Cache…’)
#11 /var/www/html/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php(63): OC\EventDispatcher\EventDispatcher->dispatch(‘OCP\Files\Cache…’, Object(OCP\Files\Cache\CacheUpdateEvent))
#12 /var/www/html/nextcloud/lib/private/Files/Cache/Cache.php(393): OC\EventDispatcher\SymfonyAdapter->dispatch(‘OCP\Files\Cache…’, Object(OCP\Files\Cache\CacheUpdateEvent))
#13 /var/www/html/nextcloud/lib/private/Files/Cache/Scanner.php(418): OC\Files\Cache\Cache->update(300017, Array)
#14 /var/www/html/nextcloud/lib/private/Files/Cache/Scanner.php(410): OC\Files\Cache\Scanner->scanChildren(‘files/Fotos’, true, 3, 300017, true)
#15 /var/www/html/nextcloud/lib/private/Files/Cache/Scanner.php(410): OC\Files\Cache\Scanner->scanChildren(‘files’, true, 3, 174431, true)
#16 /var/www/html/nextcloud/lib/private/Files/Cache/Scanner.php(339): OC\Files\Cache\Scanner->scanChildren(’’, true, 3, 174430, true)
#17 /var/www/html/nextcloud/lib/private/Files/Utils/Scanner.php(261): OC\Files\Cache\Scanner->scan(’’, true, 3)
#18 /var/www/html/nextcloud/apps/files/lib/Command/Scan.php(151): OC\Files\Utils\Scanner->scan(’/Emily’, true, NULL)
#19 /var/www/html/nextcloud/apps/files/lib/Command/Scan.php(207): OCA\Files\Command\Scan->scanFiles(‘Emily’, ‘/Emily’, Object(Symfony\Component\Console\Output\ConsoleOutput), false, true, false)
#20 /var/www/html/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\Files\Command\Scan->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /var/www/html/nextcloud/core/Command/Base.php(168): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(915): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /var/www/html/nextcloud/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))
#24 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /var/www/html/nextcloud/lib/private/Console/Application.php(214): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#26 /var/www/html/nextcloud/console.php(99): OC\Console\Application->run()
#27 /var/www/html/nextcloud/occ(11): require_once(’/var/www/html/n…’)
#28 {main}

Zuvor sind Datein aus dem Groupfolder Trash gelöscht worden. Hat jemand eine Idee?

Nextcloud 18.01

Grüße
Olaf

Das hatte ich auch eben. Suche ergab: https://github.com/nextcloud/server/issues/19504 bzw. https://github.com/nextcloud/server/commit/41fd0aaa264cde537aff20f951bf75eaf23d36c0, d.h. du musst nur in apps/workflowengine/lib/Helper/LogContext.php in Zeile 55 " 2" einfügen…oder auf 18.0.2 warten.

1 Like

Super danke, gesehen hatte ich das auch aber nicht auf meinen Fehler bezogen, aber nachdem ich die erste Zeile gesehen habe war das aber klar, danke dir vielmals.

Gruß

Olaf