Corrupt asset check
Hi,
I was doing some testing with the application. I wanted to re-backup all my images from my phone to the server again.
So what I did, I removed just the whole library of the images of the account from where my server stores the images.
There doesn't really seem to happen anything with that though. I remember vaguely something about a feature for watching the folder for changes. So that explains that.
But then, I wondered about the checking of corrupt assets. Because first with images, clicking the button inside the mobile app would instantly be done. So expect it to be okay. But now, with a empty library, the effect is the same.
So I was wondering how that function works. Does the check only happen on images that are newly added? Shouldn't it detect also when a image is corrupt or not even there even if the server says it's there.
Maybe I'm getting ahead in terms of functionally. But I'm curious
Thanks in advance 🙂
10 Replies
The assets information and metadata is stored in the database, so if you remove the library directory, your database will be out of sync
We don't have the "watching" mechanism on the library folder
What you are refering to is probably this https://immich.app/docs/features/read-only-gallery
And we don't have mechanism to check for the out-of-sync database and the library folder
Thanks for the fast reply! One thing that is still not clear for me. Maybe I'm missing something in the link you provided.
What does the check then perform? Corruption in the assets?
Can you elaborate more? which checking mechanism are you thinking about?
The button with "Perform check"

The text says what it does. But because it's almost instant for me I'm wondering. Or maybe it's just fast because I only have 1600 images/videos.
Ah this is only available on Android, I forgot we have this mechanism. I will loop @zody for this question.
This checks whether your assets on your mobile device have been correctly backed up. If there no candidates (same file name different hash/fingerprint), the check finishes instant.
Hm okay! Thanks for the answers 🙂
Kudo's for the application btw. Enjoying it very much. Looking forward to the future 😁