I’ve all my photos linked as external (local) storage into my nextcloud instance. For browsing them smoothly, I’m also using the preview generator app.
For some reasons, some previews are getting deleted over night and i was not able to figure out the cause for that deletion right now.
So my use case looks like followed:
- added a new photo folder in the external storage
- performed occ files:scan for the new folder
- performed occ preview:generate-all for that new folder
After that, all previews are available and browsable in the file systems preview folder.
When performing the occ preview:generate-all on the next day, some previews are created from scratch. And the reason is, that the previews have been deleted from the preview folder and also from the filecache table. I’ve inspected that behaviour some days and it is reproducable every day for the same images.
I’ve also tried to “reimport” the folder, by renaming, occ files:scan and occ preview:generate-all, but it didn’t fixed the problem. I can reproduce that behaviour for some other images now.
My nextcloud is based on the official docker image with nextcloud version 24.0.1. Database is MariaDB, also based on the official docker image and up to date.
I’ve also inspected the database and was not able to see any cause there. The affected images are entered into filecache table and after preview generationg, the previews are entered into file cache, too.
Any ideas, what can cause the nightly deletion of some (and allways the same previews)?
Kind regards Jonas