immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
49.15k stars 2.58k forks source link

Android app re-uploads all assets and backup album selection screen breaks if background backup is in progress when starting the app #7395

Open ported-pw opened 7 months ago

ported-pw commented 7 months ago

The bug

See repro steps. I can consistently reproduce both issues, so please let me know if I can give more information for this to be more useful. Also, a massive thanks for this project, it's an amazing upgrade for me.

The OS that Immich Server is running on

TrueNAS Scale Apps/K3s

Version of Immich Server

1.95.1

Version of Immich Mobile App

1.95.1

Platform with the issue

Your docker-compose.yml content

N/A, using TrueNAS Community Helm chart

Your .env content

N/A, using TrueNAS Community Helm chart

Reproduction steps

  1. Have previous uploads
  2. Clear app data
  3. Login to server
  4. Select backup albums, and enable Foreground- and background backup
  5. App says that everything needs to be backed up again (Total = Remaining count), while icons on the pictures show a successful backup
  6. Close the app
  7. On re-opening the app, selected backup albums appear to be cleared, with the following error in the log:
cannot get backup info - background backup is in progress!
  1. Some minutes later, the screen appears to start working correctly, saying "Background backup is currently running", which is expected given above issue.
ported-pw commented 7 months ago

I came back to this after a night of letting the background upload run, and now it shows a much lower number for total assets, still equaling the remaining assets.