Cant see/scan manually moved files

Nextcloud version: Nextcloud Hub 9 (30.0.0)
Operating system and version: Ubuntu 22.04.5 LTS (Proxmox CT)

Hi,

i manually moved files (photos) from one folder to another folder, using the ‘mv’ command in the console. Now i realized that it didnt update the files and folders new structure in nextcloud.

I googled and found a way, i would have to add

'filesystem_check_changes' => 1,

So I added that to the file:

/var/www/nextcloud/config/config.php

>>Looks like that now<<
 <?php
> $CONFIG = array (
>   'instanceid' => 'ocao6dsh82gl',
>   'passwordsalt' => 'XXXXXXXXXXXXXX',
>   'secret' => 'XXXXXXXXXXXXX',
>   'trusted_domains' => 
>   array (
>     0 => 'XXX.XXX.XXX.XXX',
>   ),
>   'datadirectory' => '/Daten',
>   'dbtype' => 'mysql',
>   'version' => '30.0.0.14',
>   'overwrite.cli.url' => 'http://XXX.XXX.XXX.XXX',
>   'dbname' => 'nextcloud',
>   'dbhost' => 'localhost',
>   'dbport' => '',
>   'dbtableprefix' => 'oc_',
>   'mysql.utf8mb4' => true,
>   'dbuser' => 'XXXXX',
>   'dbpassword' => 'XXXXX',
>   'installed' => true,
>   'defaultapp' => 'files',
>   'filesystem_check_changes' => 1,
>   'enabledPreviewProviders' =>
>   array (
>     0 => 'OC\\Preview\\BMP',
>     1 => 'OC\\Preview\\GIF',
>     2 => 'OC\\Preview\\JPEG',
>     3 => 'OC\\Preview\\MarkDown',
>     4 => 'OC\\Preview\\MP3',
>     5 => 'OC\\Preview\\PNG',
>     6 => 'OC\\Preview\\TXT',
>     7 => 'OC\\Preview\\XBitmap',
>     8 => 'OC\\Preview\\OpenDocument',
>     9 => 'OC\\Preview\\Krita',
>     10 => 'OC\\Preview\\WebP',
>     11 => 'OC\\Preview\\Movie',
>   ),
> )

i rebooted the nextcloud proxmox ct, waited a little bit, but it didnt work. Then i found another way, i used:

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

The result:

Exception during scan: "files/2d95e12f5385722e11aba6ea37bc5081"("scanner::") is locked
#0 /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(592): OC\Files\Storage\Common->acquireLock()
#1 /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(592): OC\Files\Storage\Wrapper\Wrapper->acquireLock()
#2 /var/www/nextcloud/lib/private/Files/Cache/Scanner.php(323): OC\Files\Storage\Wrapper\Wrapper->acquireLock()
#3 /var/www/nextcloud/lib/private/Files/Utils/Scanner.php(255): OC\Files\Cache\Scanner->scan()
#4 /var/www/nextcloud/apps/files/lib/Command/Scan.php(153): OC\Files\Utils\Scanner->scan()
#5 /var/www/nextcloud/apps/files/lib/Command/Scan.php(214): OCA\Files\Command\Scan->scanFiles()
#6 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(298): OCA\Files\Command\Scan->execute()
#7 /var/www/nextcloud/core/Command/Base.php(161): Symfony\Component\Console\Command\Command->run()
#8 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1040): OC\Core\Command\Base->run()
#9 /var/www/nextcloud/3rdparty/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#10 /var/www/nextcloud/3rdparty/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#11 /var/www/nextcloud/lib/private/Console/Application.php(183): Symfony\Component\Console\Application->run()
#12 /var/www/nextcloud/console.php(87): OC\Console\Application->run()
#13 /var/www/nextcloud/occ(11): require_once('...')
#14 {main}
+---------+-------+-----+---------+---------+--------+--------------+
| Folders | Files | New | Updated | Removed | Errors | Elapsed time |
+---------+-------+-----+---------+---------+--------+--------------+
| 13      | 58    | 0   | 0       | 0       | 1      | 00:00:01     |
+---------+-------+-----+---------+---------+--------+--------------+

so, that didn’t work either, what can i do now? what is that locked file?

btw, my files (photos) are located here:

/Data/Flow/files

Please help me :frowning: