-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Centralise thumbnail store and make the location configurable #28939
Comments
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. |
Another use case beside thumbs for pictures would be thumbs for/from audio/video files (eg cover or album art) |
There was an older ticket about this feature request: #17186 |
linking another ticket with more discussions #10808 |
another one. #17186 |
Linking to duplicate: #19548 |
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 ! |
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. |
Thumbnails are currently created and stored for each user
This has some negative impacts like:
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
Note: could be done in steps.
The text was updated successfully, but these errors were encountered: