Skip to content

[BUG] Unable to delete photos on Server when automatic backup is turned on #739

Description

Describe the bug
This is related to #165
Photo will not be deleted when Android app's automatic backup feature is turned on.

Task List

Please complete the task list below. We need this information to help us reproduce the bug or point out problems in your setup. You are not providing enough info may delay our effort to help you.

  • I have read thoroughly the README setup and installation instructions.
  • I have included my docker-compose file.
  • I have included my redacted .env file.
  • I have included information on my machine, and environment.

To Reproduce
Steps to reproduce the behavior:
I turned on the automatic backup feature on my android device and upload my Camera folder.
In the Immich Android app, I select and delete the photo.
The app contacts the server and deletes the selected photo briefly.
After just a moment, the automatic backup feature is triggered and the exact same photo gets uploaded to server from my Camera folder.
At the end, nothing gets deleted effectively.

Expected behavior
There are multiple feature requests in #165.
Immich app can provide choices to one of the following feature:

  • Act as a local gallery app, synced to cloud all the time. When photo gets deleted in the software, cloud + local copy get deleted all at once together. Keep server/client (local folder) download + upload two way synced.
  • Act as a backup app, only upload, one way synced. However, when one uploaded photo gets deleted in the app (meaning the server side), the automatic backup feature will not trigger automatic upload of the once deleted photo. Instead, a wait list of "uploaded but deleted" queue will be shown in the mobile app to have the user choose whether to upload some of the deleted photos.
  • Act as a one time upload app, not synced. Uploaded photo will not trigger any further upload unless user manually pick specific photos to be uploaded. Delete on the server and local storage happens separately and will not interfere. (This is Nextcloud auto-upload behavior)

Screenshots
If applicable, add screenshots to help explain your problem.

System

  • Phone OS Android: 12
  • Server Version: 1.29.4
  • Mobile App Version: 1.29.1 build.43

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions