I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.
The bug
On iOS, my sync and backup are stuck and won't move. Most Immich features are broken unless I disable access to photo library in privacy settings.
The OS that Immich Server is running on
NixOS
Version of Immich Server
2.0.1
Version of Immich Mobile App
2.0.0
Platform with the issue
Device make and model
iPhone 14 Pro Max
Your docker-compose.yml content
I deploy Immich using the NixOS module
Your .env content
Reproduction steps
- I have a large Apple Photos library - 50k photos, a lot of them are raw, total size in region of 750GB.
- I'm trying to upload it. This is (and is expected to) take a very long time.
- Half way through it gets stuck (this has happened twice, but at different points). The symptoms are:
- When I start the app, there's a sync-related spinner. If I click into the foreground backup UI while it's spinning, I see my progress but it'll never move. If I click into the foreground backup UI after this, it shows the 'select folders to back up' ui and you are now locked in this screen.
- If I go to the 'sync status' settings page, it just shows spinners - local and remote sync might succeed but hashing (which is not done) just spins forever and I never see the numbers.
- I cannot set settings anymore - they are unset when i return to the ui.
- If in Apple privacy settings I remove ability to view the system photo library, I can set settings, set finer log levels, etc, but when i re-enable library access it breaks again.
The only other hint is that before this happened, I did see #22601 in my logs. But I don't think the two can really be relevant as this seems like something is breaking the whole app.
Intuitively I assume that something's taking out a mutex or database lock which then is not being released, or something similar.
Relevant log output
Full device sync took - 2470ms
Device sync took - 2470ms
Resuming backup tasks...
Found 0 tasks
Start a new backup queue
That's kind of it.
Additional information
It's now failed on two different syncs in a way like this.
I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.
The bug
On iOS, my sync and backup are stuck and won't move. Most Immich features are broken unless I disable access to photo library in privacy settings.
The OS that Immich Server is running on
NixOS
Version of Immich Server
2.0.1
Version of Immich Mobile App
2.0.0
Platform with the issue
Device make and model
iPhone 14 Pro Max
Your docker-compose.yml content
I deploy Immich using the NixOS moduleYour .env content
Reproduction steps
The only other hint is that before this happened, I did see #22601 in my logs. But I don't think the two can really be relevant as this seems like something is breaking the whole app.
Intuitively I assume that something's taking out a mutex or database lock which then is not being released, or something similar.
Relevant log output
Full device sync took - 2470ms Device sync took - 2470ms Resuming backup tasks... Found 0 tasks Start a new backup queue That's kind of it.Additional information
It's now failed on two different syncs in a way like this.