Closed MattDahEpic closed 8 months ago
This is working as expected. The foreground backup can only run when the app is open, and the background task will run whenever iOS feels like it. Unfortunately we have no control over that.
A side solution is to create a routine that at a certain time (I set it at night) the application will open for X amount of time, back up all the files and close. This is what I did with Google Photos for a friend with an iPhone, I guess it will work here too.
A side solution is to create a routine that at a certain time (I set it at night) the application will open for X amount of time, back up all the files and close. This is what I did with Google Photos for a friend with an iPhone, I guess it will work here too.
Can you share iOS shortcut you created? How will app open if phone is locked at that time?
The bug
We are having trouble getting the backup functionality on iOS working reliably. It works fine whenever the screen is on and the app is focused, but stops as soon as you change apps (including pushing up into the app switcher) and stops when the screen times out and goes to sleep. When focused and screen on, the uploads work fine and show up on the server. The remaining uploads counts down as expected, shared users are able to see photos as they upload, etc. Everything seems fine there. The moment you switch apps or the screen goes to sleep the backup stops and never continues. Foreground backup only works when the screen is on and the app is focused, and the background backup seems like it has stated sometimes but never actually does anything. We only occasionally see the background upload notification, and when it is present it does not count up instead staying at whatever it started at.
We are logged in as a non-admin user. We have enabled Background App Refresh as detailed in the docs and both foreground and background backups are enabled. The Android app on another phone uploads fine. Running iOS 17.2.1.
The OS that Immich Server is running on
unRAID 6.12.6 w/ Docker Compose plugin
Version of Immich Server
v1.94.1
Version of Immich Mobile App
v1.94.1
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response