[BUG] iOS background backup does not immediately pick up foreground process after app exit #702

Closed
opened 2026-02-04 22:01:03 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @klejejs on GitHub (Feb 22, 2023).

The bug

iOS app cancels foreground upload if app is exited even for a few seconds and does not do it in background.
This is annoying, especially if trying to upload on mobile data.

The OS that Immich Server is running on

Ubuntu 22

Version of Immich Server

v1.48.0

Version of Immich Mobile App

v1.48.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Unrelated, can provide if needed

Your .env content

Unrelated, can provide if needed

Reproduction steps

1. Open iOS app
2. Start foreground upload for e.g. a long video
3. Switch to another app for 3 seconds
4. Open Immich again to see that the video upload has restarted

Additional information

No response

Originally created by @klejejs on GitHub (Feb 22, 2023). ### The bug iOS app cancels foreground upload if app is exited even for a few seconds and does not do it in background. This is annoying, especially if trying to upload on mobile data. ### The OS that Immich Server is running on Ubuntu 22 ### Version of Immich Server v1.48.0 ### Version of Immich Mobile App v1.48.0 ### Platform with the issue - [ ] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML Unrelated, can provide if needed ``` ### Your .env content ```Shell Unrelated, can provide if needed ``` ### Reproduction steps ```bash 1. Open iOS app 2. Start foreground upload for e.g. a long video 3. Switch to another app for 3 seconds 4. Open Immich again to see that the video upload has restarted ``` ### Additional information _No response_
Author
Owner

@alextran1502 commented on GitHub (Feb 22, 2023):

This is not the intended usage. Foreground backup and background backup operate independently.

And the background backup is operating as follow based on the strict timing of iOS background task

"The background mechanism from the iPhone has two modes, a shorter task which runs around every 10 minutes and lasts for about 30 seconds, and a longer task which runs every 30-45 minutes and lasts longer. From our extensive testing, the app can upload about 1000 pictures overnight without plugging in and on WIFI."

@alextran1502 commented on GitHub (Feb 22, 2023): This is not the intended usage. Foreground backup and background backup operate independently. And the background backup is operating as follow based on the strict timing of iOS background task "The background mechanism from the iPhone has two modes, a shorter task which runs around every 10 minutes and lasts for about 30 seconds, and a longer task which runs every 30-45 minutes and lasts longer. From our extensive testing, the app can upload about 1000 pictures overnight without plugging in and on WIFI."
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#702