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
When dealing with external storages, there's the topic about remote update detection which is adressed partly by the scanner checking for new oc_filecache entries and discarding old ones.
Currently, when a file is deleted on an external storage outside of ownCloud, the scanner will later on find out about this deletion and delete the oc_filecache entry directly. In this situation, any thumbnail that was associated with this fileid still stays on-disk.
We should make sure that any associated file gets deleted automatically.
For previews, the preview system should listen to the scanner hook about deletion and then delete the matching thumbnails.
Optional addition: occ command to clear thumbnails.
Failing to do so can result in many gigabytes of orphaned thumbnails that need manual deletion.
additionally, once this is implemented we'll need a migration to clear the old orphaned thumbnails from before the system was in place (or just clear all)
GitMate.io thinks possibly related issues are #27274 (delete), #5802 (Thumbnails should be deleted after file deletion), #205 (Files: thumbnails), #14671 (Thumbnail cache gets deleted after upload from smartphone), and #13824 (Delete File).
When dealing with external storages, there's the topic about remote update detection which is adressed partly by the scanner checking for new oc_filecache entries and discarding old ones.
Currently, when a file is deleted on an external storage outside of ownCloud, the scanner will later on find out about this deletion and delete the oc_filecache entry directly. In this situation, any thumbnail that was associated with this fileid still stays on-disk.
We should make sure that any associated file gets deleted automatically.
For previews, the preview system should listen to the scanner hook about deletion and then delete the matching thumbnails.
Optional addition: occ command to clear thumbnails.
Failing to do so can result in many gigabytes of orphaned thumbnails that need manual deletion.
Related:
@DeepDiver1975 @pmaier1 @jvillafanez @butonic
The text was updated successfully, but these errors were encountered: