web/nextcloudnew# sudo -u http php70 /volume1/web/nextcloudnew/occ files:scan --all
Scanning files for 7 users
Starting scan for user 1 out of 7 (admin)
Exception during scan: "files/e8482945c9011a1fad7f0293d9760c26" is locked
#0 /volume1/web/nextcloudnew/lib/private/Files/Storage/Common.php(713): OC\Lock\DBLockingProvider->acquireLock('files/e8482945c...', 2)
#1 /volume1/web/nextcloudnew/lib/private/Files/Storage/Wrapper/Wrapper.php(592): OC\Files\Storage\Common->acquireLock('scanner::', 2, Object(OC\Lock\DBLockingProvider))
#2 /volume1/web/nextcloudnew/lib/private/Files/Cache/Scanner.php(331): OC\Files\Storage\Wrapper\Wrapper->acquireLock('scanner::', 2, Object(OC\Lock\DBLockingProvider))
#3 /volume1/web/nextcloudnew/lib/private/Files/Utils/Scanner.php(245): OC\Files\Cache\Scanner->scan('', true, 3)
#4 /volume1/web/nextcloudnew/apps/files/lib/Command/Scan.php(172): OC\Files\Utils\Scanner->scan('/admin', true, NULL)
#5 /volume1/web/nextcloudnew/apps/files/lib/Command/Scan.php(249): OCA\Files\Command\Scan->scanFiles('admin', '/admin', false, Object(Symfony\Component\Console\Output\ConsoleOutput), false, true, false)
#6 /volume1/web/nextcloudnew/3rdparty/symfony/console/Command/Command.php(251): OCA\Files\Command\Scan->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /volume1/web/nextcloudnew/core/Command/Base.php(162): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /volume1/web/nextcloudnew/3rdparty/symfony/console/Application.php(946): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /volume1/web/nextcloudnew/3rdparty/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(OCA\Files\Command\Scan), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /volume1/web/nextcloudnew/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /volume1/web/nextcloudnew/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /volume1/web/nextcloudnew/console.php(96): OC\Console\Application->run()
#13 /volume1/web/nextcloudnew/occ(11): require_once('/volume1/web/ne...')
#14 {main}
/bin/su http -s /bin/sh -c '/usr/local/bin/php70 -c /usr/syno/etc/packages/WebStation/php70/conf.d/user_settings.ini -f /volume1/web/nextcloud/occ db:add-missing-indizes'
Header set Referrer-Policy "no-referrer"
Redirect 301 /.well-known/carddav /nextcloud/remote.php/dav
Redirect 301 /.well-known/caldav /nextcloud/remote.php/dav
In meiner /web/.htaccess-Datei folgendes hinzugefügt:
Weiß leider nicht genau, warum diese Lösung nicht bei der /nextcloud/.htaccess-Datei geklappt hat.
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.