You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upload matching files to /data/%/%user%/files/%folder% via FTP (or similar)
run occ files:scan
The files are not tagged.
Expected behaviour
Normal uploads are added & tagged.
FTP file-uploads: If I add 'filesystem_check_changes' => 1 to config.php and then visit the folder in web UI newly uploaded files are added & tagged.
Thus I would expect that that executing occ files:scan would as well tag newly added files.
Actual behaviour
Running occ files:scan does not tag added files.
What I actually want to achieve is to emulare an NVR storage in nextcloud. A camera drops files to my nextcloud instance all the time. New files should be added via occ files:scan using crontab.
While scanning new files that match my tag rules should be tagged like delete-in-3-days.
To delete files I use https://docs.nextcloud.com/server/latest/admin_manual/file_workflows/retention.html app which deletes all files with specific tags older than X days.
Now everything seems to work, but currently I have to set 'filesystem_check_changes' => 1 and manually visit my nextcloud folders every day to have new files added & tagged - to have them deleted automatically afterwards.
Steps to reproduce
occ files:scan
Expected behaviour
Normal uploads are added & tagged.
FTP file-uploads: If I add 'filesystem_check_changes' => 1 to config.php and then visit the folder in web UI newly uploaded files are added & tagged.
Thus I would expect that that executing
occ files:scan
would as well tag newly added files.Actual behaviour
Running
occ files:scan
does not tag added files.What I actually want to achieve is to emulare an NVR storage in nextcloud. A camera drops files to my nextcloud instance all the time. New files should be added via
occ files:scan
using crontab.While scanning new files that match my tag rules should be tagged like
delete-in-3-days
.To delete files I use https://docs.nextcloud.com/server/latest/admin_manual/file_workflows/retention.html app which deletes all files with specific tags older than X days.
Now everything seems to work, but currently I have to set 'filesystem_check_changes' => 1 and manually visit my nextcloud folders every day to have new files added & tagged - to have them deleted automatically afterwards.
List of apps that should work in combination:
Server configuration
PHP 8.3.x
Nextcloud 28.0.4
List of activated apps:
The text was updated successfully, but these errors were encountered: