File lock prevents file scan on external webdav storage #25596
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
needs info
stale
Ticket or PR with no recent activity
Steps to reproduce
Expected behaviour
The file scan should scan internal as well as the external files.
Actual behaviour
The file scan stops after scanning some of the locally stored files and reports an error on an external file:
Starting scan for user 1 out of 2 (xxx)
Exception during scan: "files/93f47f2219cd30e07a85b622ab4xxxxxx"("webdav::someuser1234@webdav.hidrive.ionos.com///users/someuser1234/::scanner::") is locked
#0 /var/www/html/cloud/lib/private/Files/Storage/Common.php(751): OC\Lock\DBLockingProvider->acquireLock()
#1 /var/www/html/cloud/lib/private/Files/Storage/Wrapper/Wrapper.php(594): OC\Files\Storage\Common->acquireLock()
#2 /var/www/html/cloud/lib/private/Files/Storage/Wrapper/Wrapper.php(594): OC\Files\Storage\Wrapper\Wrapper->acquireLock()
#3 /var/www/html/cloud/lib/private/Files/Cache/Scanner.php(333): OC\Files\Storage\Wrapper\Wrapper->acquireLock()
#4 /var/www/html/cloud/lib/private/Files/Utils/Scanner.php(260): OC\Files\Cache\Scanner->scan()
#5 /var/www/html/cloud/apps/files/lib/Command/Scan.php(152): OC\Files\Utils\Scanner->scan()
#6 /var/www/html/cloud/apps/files/lib/Command/Scan.php(208): OCA\Files\Command\Scan->scanFiles()
#7 /var/www/html/cloud/apps/mail/vendor/symfony/console/Command/Command.php(258): OCA\Files\Command\Scan->execute()
#8 /var/www/html/cloud/core/Command/Base.php(169): Symfony\Component\Console\Command\Command->run()
#9 /var/www/html/cloud/apps/mail/vendor/symfony/console/Application.php(920): OC\Core\Command\Base->run()
#10 /var/www/html/cloud/apps/mail/vendor/symfony/console/Application.php(266): Symfony\Component\Console\Application->doRunCommand()
#11 /var/www/html/cloud/apps/mail/vendor/symfony/console/Application.php(142): Symfony\Component\Console\Application->doRun()
#12 /var/www/html/cloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run()
#13 /var/www/html/cloud/console.php(100): OC\Console\Application->run()
#14 /var/www/html/cloud/occ(11): require_once('/var/www/html/c...')
#15 {main}
Server configuration
Operating system:
Linux 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Web server:
Server version: Apache/2.4.41 (Ubuntu)
Server built: 2020-08-12T19:46:17
Database:
Server version: 10.3.25-MariaDB-0ubuntu0.20.04.1 Ubuntu 20.04
PHP version:
PHP 7.4.3 (cli) (built: Oct 6 2020 15:47:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies
Nextcloud version: (see Nextcloud admin page)
Nextcloud 20.0.5
Updated from an older Nextcloud/ownCloud or fresh install:
Started at Nextcloud 15 and updated over the "years" to 20.0.5
Where did you install Nextcloud from:
From download page and via updater
Signing status:
No errors have been found.
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
webdav on IONOS hidrive
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Chrome
Operating system:
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Please let me know if I should produce some other debug information!
The text was updated successfully, but these errors were encountered: