Nextcloud version (eg, 20.0.5): 25.0.2
Operating system and version (eg, Ubuntu 20.04): Unraid 6.11.0
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me
The issue you are facing: When I try and run files:scan --all I get the following error
Starting scan for user 1 out of 2 (digitalwindowpane)
Exception during scan: “files/029bc56d305a1f60aa4351ea4cde3e1f”(“home::digitalwindowpane::scanner::”) is locked
#0 /config/www/nextcloud/lib/private/Files/Storage/Common.php(763): OC\Lock\DBLockingProvider->acquireLock()
#1 /config/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(610): OC\Files\Storage\Common->acquireLock()
#2 /config/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(610): OC\Files\Storage\Wrapper\Wrapper->acquireLock()
#3 /config/www/nextcloud/lib/private/Files/Cache/Scanner.php(335): OC\Files\Storage\Wrapper\Wrapper->acquireLock()
#4 /config/www/nextcloud/lib/private/Files/Utils/Scanner.php(256): OC\Files\Cache\Scanner->scan()
#5 /config/www/nextcloud/apps/files/lib/Command/Scan.php(161): OC\Files\Utils\Scanner->scan()
#6 /config/www/nextcloud/apps/files/lib/Command/Scan.php(217): OCA\Files\Command\Scan->scanFiles()
#7 /config/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\Files\Command\Scan->execute()
#8 /config/www/nextcloud/core/Command/Base.php(177): Symfony\Component\Console\Command\Command->run()
#9 /config/www/nextcloud/3rdparty/symfony/console/Application.php(1009): OC\Core\Command\Base->run()
#10 /config/www/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#11 /config/www/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#12 /config/www/nextcloud/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run()
#13 /config/www/nextcloud/apps/occweb/lib/Controller/OccController.php(59): OC\Console\Application->run()
#14 /config/www/nextcloud/apps/occweb/lib/Controller/OccController.php(75): OCA\OCCWeb\Controller\OccController->run()
#15 /config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(225): OCA\OCCWeb\Controller\OccController->cmd()
#16 /config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(133): OC\AppFramework\Http\Dispatcher->executeController()
#17 /config/www/nextcloud/lib/private/AppFramework/App.php(172): OC\AppFramework\Http\Dispatcher->dispatch()
#18 /config/www/nextcloud/lib/private/Route/Router.php(298): OC\AppFramework\App::main()
#19 /config/www/nextcloud/lib/base.php(1047): OC\Route\Router->match()
#20 /config/www/nextcloud/index.php(36): OC::handleRequest()
#21 {main}
Is this the first time you’ve seen this error? (Y/N):Y
Steps to replicate it:
- occ web
- files:scan --all
The output of your Nextcloud log in Admin > Logging:
Nothing in logs
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'memcache.local' => '\\OC\\Memcache\\APCu',
'datadirectory' => '/data',
'instanceid' => '',
'passwordsalt' =>
'secret' => '',
'trusted_domains' =>
array (
0 => '',
1 => '',
),
'trusted_proxies' =>
array (
0 => 'swag',
),
'default_phone_region' => 'US',
'dbtype' => 'mysql',
'version' => '25.0.2.3',
'overwrite.cli.url' => '',
'overwritehost' => '',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => '',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => '',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_sendmailmode' => 'smtp',
'mail_smtphost' => 'smtp.gmail.com',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpport' => '587',
'mail_smtpsecure' => 'tls',
'mail_from_address' => '',
'mail_domain' => 'gmail.com',
'mail_smtpname' => 'm',
'mail_smtppassword' => '',
'app_install_overwrite' =>
array (
0 => 'occweb',
1 => 'ocjobs',
),
);
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
PASTE HERE
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
PASTE HERE