Nextcloud version (15.4):
Operating system and version (eg, Debian 8):
Apache or nginx version (eg, Apache 2.4.1):
PHP version (eg, 7.2):
Im uploading lots of files manually into a nextclouds user dir. They are from several cam which feed about 100 files per minute via ftp but dont show up in Files despite executing the occ service to scan them.
Steps to replicate it:
Execute: sudo -u www-data php occ files:scan --verbose vvv --all
Sucessfully scans all files including the new ones since last upload.
Execute: sudo -u www-data php occ files:scan --verbose vvv --unscanned --all
Finds no new files Only outputs this:
+---------+-------+--------------+
| Folders | Files | Elapsed time |
+---------+-------+--------------+
| 0 | 0 | 00:00:00 |
+---------+-------+--------------+
But thats impossible, there are several 100 new files in numerous folders since the last scan.
All files have ownership the nextcloud user -www-data.
I also used --path /path/to/userdir with no effect just as with --all.
Data Dir is local not a external mount.
But without --unscanned all is found. Which i cant use because there are so many files it takes to much time as to many new ones arrive during it scan.
The Log shows no errors.
config.php
<?php
$CONFIG = array (
'instanceid' => 'REMOVED',
'passwordsalt' => 'REMOVED',
'secret' => 'REMOVED',
'trusted_domains' =>
array (
0 => 'REMOVED',
1 => 'REMOVED',
2 => 'REMOVED',
),
'datadirectory' => '/var/data',
'skeletondirectory' => '/var/data/mydir/skeleton',
'dbtype' => 'mysql',
'version' => '15.0.5.3',
'overwrite.cli.url' => 'REMOVED',
'dbname' => 'REMOVED',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'REMOVED',
'dbpassword' => 'REMOVED',
'installed' => true,
'user_backends' =>
array (
0 =>
array (
'class' => 'OC_User_IMAP',
'arguments' =>
array (
0 => '{REMOVED:993/imap/ssl}',
),
),
),
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.secret' => 'REMOVED',
);
Thanks for any help.