Android client keeps uploading deleted duplicates #4156

Closed
opened 2026-02-05 09:48:07 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @eklavya on GitHub (Aug 26, 2024).

The bug

If you delete duplicates from the immich web app via the duplicate finding utility. The android client shows the deleted items as not uploaded and starts uploading them again. Tried this multiple times. I don't know if this behaviour is exhibited by the ios client or not.

The OS that Immich Server is running on

Ubuntu 22.04.04

Version of Immich Server

v1.112.1

Version of Immich Mobile App

1.112.1.build.154

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Stock, no changes whatsoever.

Your .env content

# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
UPLOAD_LOCATION=/media/2TB/immich/library
# The location where your database files are stored
DB_DATA_LOCATION=/media/2TB/immich/postgres

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=postgres

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich


### Reproduction steps

```bash
1. Login to the web app, go to utilities > duplicates.
2. Delete all the duplicates.
3. Open android client to see all the deleted items are being uploaded again.

Relevant log output

No response

Additional information

No response

Originally created by @eklavya on GitHub (Aug 26, 2024). ### The bug If you delete duplicates from the immich web app via the duplicate finding utility. The android client shows the deleted items as not uploaded and starts uploading them again. Tried this multiple times. I don't know if this behaviour is exhibited by the ios client or not. ### The OS that Immich Server is running on Ubuntu 22.04.04 ### Version of Immich Server v1.112.1 ### Version of Immich Mobile App 1.112.1.build.154 ### Platform with the issue - [X] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML Stock, no changes whatsoever. ``` ### Your .env content ```Shell # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables # The location where your uploaded files are stored UPLOAD_LOCATION=/media/2TB/immich/library # The location where your database files are stored DB_DATA_LOCATION=/media/2TB/immich/postgres # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List # TZ=Etc/UTC # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=release # Connection secret for postgres. You should change it to a random password # Please use only the characters `A-Za-z0-9`, without special characters or spaces DB_PASSWORD=postgres # The values below this line do not need to be changed ################################################################################### DB_USERNAME=postgres DB_DATABASE_NAME=immich ``` ``` ### Reproduction steps ```bash 1. Login to the web app, go to utilities > duplicates. 2. Delete all the duplicates. 3. Open android client to see all the deleted items are being uploaded again. ``` ### Relevant log output _No response_ ### Additional information _No response_
Author
Owner

@bo0tzz commented on GitHub (Aug 26, 2024):

This is currently working as expected, there's a few open requests for changing this behaviour.

@bo0tzz commented on GitHub (Aug 26, 2024): This is currently working as expected, there's a few open requests for changing this behaviour.
Author
Owner

@eklavya commented on GitHub (Aug 26, 2024):

Hi @bo0tzz, I respectfully disagree. Deleting duplicates to only have them uploaded again doesn't sound reasonable behaviour to me. Would it be possible to link where this was discussed before so I can get better informed about the reasoning behind it?

I can understand that repeating or explaining yourself again and again can get tiresome, your time is much appreciated.

@eklavya commented on GitHub (Aug 26, 2024): Hi @bo0tzz, I respectfully disagree. Deleting duplicates to only have them uploaded again doesn't sound reasonable behaviour to me. Would it be possible to link where this was discussed before so I can get better informed about the reasoning behind it? I can understand that repeating or explaining yourself again and again can get tiresome, your time is much appreciated.
Author
Owner

@Bananas-Are-Yellow commented on GitHub (Nov 25, 2024):

This is happening to me too and it's is quite maddening.

I removed all duplicates using the web interface. At this stage the problem does not occur, because they still exist on the server in the trash, but as soon as you empty the trash, the Android app decides to upload them all again!

Duplicates occur each time you share photos via WhatsApp. You have the original photo and also the WhatsApp version, which is usually lower resolution. The deduplicate operation correctly removes the WhatsApp version, but it still exists on my phone, so it gets uploaded again.

Why is this closed? Is there a workaround?

UPDATE: This appears to be the same problem as described in #8285, which is still open.

@Bananas-Are-Yellow commented on GitHub (Nov 25, 2024): This is happening to me too and it's is quite maddening. I removed all duplicates using the web interface. At this stage the problem does not occur, because they still exist on the server in the trash, but as soon as you empty the trash, the Android app decides to upload them all again! Duplicates occur each time you share photos via WhatsApp. You have the original photo and also the WhatsApp version, which is usually lower resolution. The deduplicate operation correctly removes the WhatsApp version, but it still exists on my phone, so it gets uploaded again. Why is this closed? Is there a workaround? UPDATE: This appears to be the same problem as described in #8285, which is still open.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#4156