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
{{ message }}
Repository navigation
[Feature Request] Centralise thumbnail store and make the location configurable #28939
Thumbnails are currently created and stored for each user
This has some negative impacts like:
very high space consumption due to duplicates
deleting a mount creates orphan thumbs and database entries
Example 20k pictures can create up to 3GB of thumbs.
Sharing the picture store with 100 people creates 300GB of space consumption
If you remove the picture mount, you have 300GB filespace as file and database orphans
This FR is about to centralize the thumbnail store and make the location configurable
Existing issues/Feature Requests I found related were:
#25770 [Feature Request] adding column "ref_storage" in table oc_filecache #25213 make thumbnail, trashbin and version paths configurable #22058 (comment) Primary storage - object store and encryption
Had a discussion with @butonic for adding a new "target_fileid" column in oc_filecache for future symlink support and maybe pointing directly to target storages for mounts. If we had such column, it could also be used to achieve the purpose of the "ref_storage" you suggested.
For encryption, I think currently thumbnails aren't encrypted. If one day we encrypt them, then they'd need to be encrypted with the same keys like the original file, share keys, etc, so everyone who has access to the original file also has access to the thumbnail. It might need additional hook listeners in the thumbnail code.
As user_x which has admin status, I had historically all my private mounts under admin and not under personal settings. I corrected this today by removing all mounts affected from admin and readded them under personal. Because I also have many pictures, I was wondering about the quantity of items rescanned.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.
Activity
PVince81 commentedon Sep 9, 2017
Had a discussion with @butonic for adding a new "target_fileid" column in oc_filecache for future symlink support and maybe pointing directly to target storages for mounts. If we had such column, it could also be used to achieve the purpose of the "ref_storage" you suggested.
For encryption, I think currently thumbnails aren't encrypted. If one day we encrypt them, then they'd need to be encrypted with the same keys like the original file, share keys, etc, so everyone who has access to the original file also has access to the thumbnail. It might need additional hook listeners in the thumbnail code.
PVince81 commentedon Sep 9, 2017
@butonic @DeepDiver1975
mmattel commentedon Oct 4, 2017
Another use case beside thumbs for pictures would be thumbs for/from audio/video files (eg cover or album art)
PVince81 commentedon Oct 9, 2017
There was an older ticket about this feature request: #17186
PVince81 commentedon Oct 27, 2017
linking another ticket with more discussions #10808
PVince81 commentedon Oct 27, 2017
another one. #17186
PVince81 commentedon Dec 18, 2017
Linking to duplicate: #19548
mmattel commentedon Feb 16, 2018
As user_x which has admin status, I had historically all my private mounts under admin and not under personal settings. I corrected this today by removing all mounts affected from admin and readded them under personal. Because I also have many pictures, I was wondering about the quantity of items rescanned.
Remembering about this issue here, I deleted manually the orphaned thumbs for user_x and rerun scanning...
The difference was 4.2G in:
Thumbnail orphans is really an issue !
stale commentedon Sep 20, 2021
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.