I
Immich•2y ago
MarcMK

Deleting Images

When using the mobile App Sync Feature, you can delete Image from the WebUI, but the Image will be reupload the next time the App Sync would triggerh. The only option is delete image directly in the App, which is a bit inconvenient. Is there a known workaround for this?
10 Replies
Alex Tran
Alex Tran•2y ago
We haven't implemented a "black list" mechanism yet, we are planning to work on this eventually
MarcMK
MarcMKOP•2y ago
Cool thing! Just to report things: For some reasons this just works now for me without me doing anything to my instance. I can delete photos on the webui without my phone reuploading them again. Cant tell why, its still the same system
Alex Tran
Alex Tran•2y ago
is it in the trash?
MarcMK
MarcMKOP•2y ago
Yes I can even clean the trash and it still doesnt reupload Im not sure why this didnt work yesterday, even with you noting that you didnt impl it :D AHHHH I KNOW WHY When clearing the trash from the phone, Immich asks to also delete the originals from the phone itself, hence actually removing the file When clearing the trash from the pc, this gets skipped, the image get un-marked as trash and then reuploaded from the phone So: You can click delete (actually just marking as deleted) the file from any platform, but must clear (actually delete) from the device, where it was originally uploaded That also means, that one cant rely on the 30day auto deletion, because that would also not actually delete the file from the phone and would result in it being reuploaded I think that should actually be something added to FAQ, if the actual upload behavior doesnt get changed to account for deleted photos
Alex Tran
Alex Tran•2y ago
Correct, the goal is to make the deletion process smarter, including black list, mass removal which I am planning to getting it in when the "stable" release is near
MarcMK
MarcMKOP•2y ago
yea i see! I saw this MR being merged https://github.com/immich-app/immich/pull/4635, but what do you mean with 'black listed by the app' ?
Alex Tran
Alex Tran•2y ago
it means that if the photos is deemed as duplicated, it will be put into the local database. When the app indexes which asset will get uploaded, it will excludes assets that are exist on the server and the entries in this local database Some people get into a problem with the negative remainder count in the upload page, clearing this helps to temporarily resolve the annoying cosmetic bugs the cause is still unknown though and I want to spend time to refactor the whole reupload mechanism entirely so this is the least efford to fix the issue at hands right now 😄
MarcMK
MarcMKOP•2y ago
Ahh yea i have this problem aswell, but im pretty sure i dont have any duplicates in my library But if it help it help i guess :D
Alex Tran
Alex Tran•2y ago
yeah the cause is still unknown, my guess is some state management logic in include/exclude we will be reworking this so I am not bothering touching it since it is a pretty hairy part of the code base and it has been doing its job
MarcMK
MarcMKOP•2y ago
For me i happended after reinstalling the app, if that information helps mobile app*

Did you find this page helpful?