#Immich uploads duplicates of pictures
1 messages · Page 1 of 1 (latest)
Did you install from different source? Apk, fdroid, PlayStore?
I installed from play store instead of Fdroid since in F droid it was still at 1.53 and in Play store it was already 1.54
I wanted the versions of server and client to match
I see so this is not something that should be done?
Yes if you use one installation method you should stick to it since there is a device id which is used to query the uploaded vs not uploaded asset. The device id will be different on different instruction methods
I don’t like how the device id changes but this is the limitation we have to work with
Just a quick question, does that mean that if I switch devices and move all my photos from old phone to new phone, it will assume all the photos haven't been backed up and will start uploading them again?
Thats a good question. I guess since they are backed up already, you dont have to copy them to your new phone though.
Anyways, I wonder if a per account solution could be done by comparing the sha256sum of the uploaded pictures?
I generally use a software like Samsung Smart Switch to copy apps and data to a new phone. And apps like WhatsApp download the images automatically when logged into a new phone. So I guess the current system can cause issues in this scenario.
Yeah I get it. Tbh, it would make sense to be able to.have the uploads compare the uploaded.pictures, no matter from.which phone it comes. Why is the device ID used even? couldn't a randomly generated one be used that can be saved and copied.to a new phone? curious
according to github issues they're working on a feature that just hashes the photos
so even if you switch phones there won't be dupes
trade off of complexity would be the answer
thats what I was meaning
well lets see where it goes then
yeah there is PR opened for client side hashing, which eventually will be fix for this issue
Sorry to dig up old question. Is the client side hashing merged? I am on server 1.103.1 and iOS app v1.103.0. I uninstalled the app and re-installed it again. It's uploading the entire library again. I think it's no adding the duplicate photos to the library but it goes through the upload before deciding that it's a duplicate. It would be good to skip the upload if the image with hash already exists.
It is not yet. Still being worked on. https://github.com/immich-app/immich/issues/1553