Comments (4)
Thanks for the detailed issue!
After migrating from WebP to Jpeg I noticed that all of the Jpeg files were left over inside the thumbnails folder
This is an oversight. It used to be that there was only one possible path, so re-running thumbnail generation could only overwrite the existing thumbnail. But now we need to clean up more explicitly to avoid having leftover images.
I think Live Previews do have a thumbnail of their own which means extra storage used. Why is that?
This was a bug that was recently fixed in #8891. It’s because we mostly treat the motion part as a regular video in jobs.
the ACTUAL bug is, sure the job regenerated their thumbnails into WebP format, but it forgot to update the database, it seems, because in my Offline Paths section now I have 1048 missing assets and faces
I think it’s the opposite. They show up as untracked because the paths in the DB were updated, so there’s no longer any reference to them. We should change the job to clean up the old thumbnail.
from immich.
I think it’s the opposite. They show up as untracked because the paths in the DB were updated, so there’s no longer any reference to them. We should change the job to clean up the old thumbnail.
At first there were untracked paths (a ton of Jpeg thumbnails indeed), however after my brutal attempt at cleanup I have offline paths!
Again, if I take a look at the actual paths, the offline path ends in .jpeg, but there is a .webp counterpart available.
from immich.
What I think happened is that the job runs for all thumbnails including live previews, but since the live previews are "invisible" the thumbnail reference doesn't get updated in the database (it's supposed to not even exist by now). Since I have an Immich instance that existed before that MR you pointed me at, probably it's an issue for upgraded instances only, as they still have live previews with a generated thumbnail and a reference to that.
However this should mean that, in new instances, there'd be a lot of untracked files in the case someone also stores live previews. I think that may also happen if a live preview video is uploaded before the image counterpart and the two are still not linked (on a fast server perhaps?) but that's only speculation.
from immich.
I think that may also happen if a live preview video is uploaded before the image counterpart and the two are still not linked (on a fast server perhaps?) but that's only speculation.
Oh, you're right: the motion part can still end up going through the full pipeline before it's linked. I'm not sure how often this would happen, but it's a bit unfortunate that it can. I guess the best we could do there is to clean it up during linking after it wastes time processing them.
from immich.
Related Issues (20)
- Cannot Login App IOS v1.103.0 HOT 2
- https works in browser, but not for app
- [Bug] Can't view images in app after deleting local copy using external app HOT 1
- Edited photos on iPhone are not synced automatically HOT 6
- Video rotation wrong when played back. HOT 8
- Unassigning Faces - Selected face is not the one unassigned
- Cant delete images HOT 6
- High CPU usage starting at 00:00 when external Library is not available since around v1.100.x HOT 1
- App starts from beginning if scrolled after end HOT 3
- [Translation] PT-BR translation misconfigured HOT 1
- Weird loading behaviour when clicking on a face without a name HOT 4
- Mouse browser navigation (back/forward) doesn't work when cursor is over image viewer HOT 3
- Issue with Machine Learning and Smart Search
- Edited HEIF/JPEGs should be backed up, even when shooting RAW on iOS. HOT 2
- bi-directional text direction is wrong
- Timeline slider dissapears behind bottom menu HOT 1
- Mobile app fails to show new assets HOT 19
- Lost library after upgrade
- iOS app background sync fails HOT 2
- Screen shaking when scrolling down memory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from immich.