Delete orphaned DB entry of deleted files automatically

9.1.x
help

#1

Hi.

I have quite some files, which I (accidently) directly deleted on the filesystem (./owncloud/data/...) instead of using an oC interface (e.g. web). Hence, the DB entries of these files still exist.

Is there any possibility to rescan the entire filesystem and delete these orphaned DB entries automatically?

Manually deleting the entries works of course, but I try to avoid this due to the high amount of workload.

Thanks,


#2

-> The files:scan command scans for new files and updates the file cache.

https://doc.owncloud.org/server/latest/admin_manual/configuration_server/occ_command.html#file-operations


#3

Perfectly worked ... many thanks!