Error "speicherzugriffsfehler" ooc file:scan - existin lock on file

Sorry, was my first Topic - didn’t get the error description in the right order, here again:

I have a ā€œFile is lockedā€ error after:
sudo -u www-data php /var/www/nextcloud/occ files:scan --all

I tried already the following solutions:

I got: 0 Rows affected

and I also tried it with redis:
sudo redis-cli -s /var/run/redis/redis.sock
$> flushall

and I also don

both solutions didn’t solve the problem:

sudo -u www-data php /var/www/nextcloud/occ files:scan --all
respondes:
Speicherzugriffsfehler

a second call:
sudo -u www-data php /var/www/nextcloud/occ files:scan --all
respondes:
Exception during scan: ā€œfiles/c469b5f877964da68355039067f9e787ā€(ā€œhome::Eva::scanner::ā€) is locked, existing lock on file: exclusive
#0 /var/www/nextcloud/lib/private/Files/Storage/Common.php(758): OC\Lock\MemcacheLockingProvider->acquireLock()
#1 /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(610): OC\Files\Storage\Common->acquireLock()
#2 /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(610): OC\Files\Storage\Wrapper\Wrapper->acquireLock()
#3 /var/www/nextcloud/lib/private/Files/Cache/Scanner.php(335): OC\Files\Storage\Wrapper\Wrapper->acquireLock()
#4 /var/www/nextcloud/lib/private/Files/Utils/Scanner.php(256): OC\Files\Cache\Scanner->scan()
#5 /var/www/nextcloud/apps/files/lib/Command/Scan.php(144): OC\Files\Utils\Scanner->scan()
#6 /var/www/nextcloud/apps/files/lib/Command/Scan.php(200): OCA\Files\Command\Scan->scanFiles()
#7 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\Files\Command\Scan->execute()
#8 /var/www/nextcloud/core/Command/Base.php(168): Symfony\Component\Console\Command\Command->run()
#9 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1009): OC\Core\Command\Base->run()
#10 /var/www/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#11 /var/www/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#12 /var/www/nextcloud/lib/private/Console/Application.php(211): Symfony\Component\Console\Application->run()
#13 /var/www/nextcloud/console.php(100): OC\Console\Application->run()
#14 /var/www/nextcloud/occ(11): require_once(ā€˜ā€¦ā€™)
#15 {main}

so I don’t no were else to debug.