Backed up photos in server show as "Remainder" in photos app after latest update #6841

Open
opened 2026-02-20 04:16:50 -05:00 by deekerman · 27 comments
Owner

Originally created by @EliasMarine on GitHub (Sep 21, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

I backup my iclould photos via immich iOS app to local server. Perviously, I had 40k+ photos backed up (they are still in server) and only initiated new backups on iphone when I had new pictures to push to server.

Now, when i go to backup the new photos I took, the immich app shows:

Backup Albums: Recents (ALL) - this remains the same. I've always used Recent photos as the source.

total photos: 44921

backup: 70 (WRONG!!!!)

remainder: 44851 (WRONG!!!)

iOS app version: 1.142.1 build.224

server version: 1.142.1

Image

The OS that Immich Server is running on

unraid

Version of Immich Server

1.142.1

Version of Immich Mobile App

1.142.1 build.224

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

iPhone 15 pro max iOS 26

Your docker-compose.yml content

na

Your .env content

na

Reproduction steps

1.na
2.
3.
...

Relevant log output

na

Additional information

No response

Originally created by @EliasMarine on GitHub (Sep 21, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug I backup my iclould photos via immich iOS app to local server. Perviously, I had 40k+ photos backed up (they are still in server) and only initiated new backups on iphone when I had new pictures to push to server. Now, when i go to backup the new photos I took, the immich app shows: Backup Albums: Recents (ALL) - this remains the same. I've always used Recent photos as the source. total photos: 44921 backup: 70 (WRONG!!!!) remainder: 44851 (WRONG!!!) iOS app version: 1.142.1 build.224 server version: 1.142.1 <img width="645" height="1398" alt="Image" src="https://github.com/user-attachments/assets/6e50ac41-11f1-45d7-beda-c14b6e66d46b" /> ### The OS that Immich Server is running on unraid ### Version of Immich Server 1.142.1 ### Version of Immich Mobile App 1.142.1 build.224 ### Platform with the issue - [ ] Server - [ ] Web - [x] Mobile ### Device make and model iPhone 15 pro max iOS 26 ### Your docker-compose.yml content ```YAML na ``` ### Your .env content ```Shell na ``` ### Reproduction steps 1.na 2. 3. ... ### Relevant log output ```shell na ``` ### Additional information _No response_
Author
Owner

@shenlong-tanwen commented on GitHub (Sep 21, 2025):

Can you try logging out of the app and logging back in?

@shenlong-tanwen commented on GitHub (Sep 21, 2025): Can you try logging out of the app and logging back in?
Author
Owner

@EliasMarine commented on GitHub (Sep 21, 2025):

Can you try logging out of the app and logging back in?

I attempted this, but the issue still persists.

However, everytime I log back into the app, the Backup quantity increases. First it was 40, then 502, now it's 805.

@EliasMarine commented on GitHub (Sep 21, 2025): > Can you try logging out of the app and logging back in? I attempted this, but the issue still persists. However, everytime I log back into the app, the Backup quantity increases. First it was 40, then 502, now it's 805.
Author
Owner

@SamDaaEpic commented on GitHub (Sep 22, 2025):

Same issue happening with me also after the new update.

@SamDaaEpic commented on GitHub (Sep 22, 2025): Same issue happening with me also after the new update.
Author
Owner

@shenlong-tanwen commented on GitHub (Sep 22, 2025):

Can you share the mobile app logs here?

@shenlong-tanwen commented on GitHub (Sep 22, 2025): Can you share the mobile app logs here?
Author
Owner

@EliasMarine commented on GitHub (Sep 22, 2025):

Can you share the mobile app logs here?

2025-09-21 21:02:24.881850 | severe | IsolateLogger | Error in runInIsolateGentle for remote-sync | ApiException 401: Failed to get sync stream: {"message":"Invalid user token","error":"Unauthorized","statusCode":401,"correlationId":"t4t3ztpf"} |
#0 SyncApiRepository.streamChanges (package:immich_mobile/infrastructure/repositories/sync_api.repository.dart:85)

#1 SyncStreamService.sync (package:immich_mobile/domain/services/sync_stream.service.dart:30)

#2 runInIsolateGentle.. (package:immich_mobile/utils/isolate.dart:56)

#3 runInIsolateGentle. (package:immich_mobile/utils/isolate.dart:35)

#4 WorkerImpl._anotherIsolate. (package:worker_manager/src/worker/worker_io.dart:106)

2025-09-21 21:02:24.881749 | severe | SyncApiRepository | Error processing stream | ApiException 401: Failed to get sync stream: {"message":"Invalid user token","error":"Unauthorized","statusCode":401,"correlationId":"t4t3ztpf"} |
#0 SyncApiRepository.streamChanges (package:immich_mobile/infrastructure/repositories/sync_api.repository.dart:85)

#1 SyncStreamService.sync (package:immich_mobile/domain/services/sync_stream.service.dart:30)

#2 runInIsolateGentle.. (package:immich_mobile/utils/isolate.dart:56)

#3 runInIsolateGentle. (package:immich_mobile/utils/isolate.dart:35)

#4 WorkerImpl._anotherIsolate. (package:worker_manager/src/worker/worker_io.dart:106)

2025-09-21 21:02:24.312607 | severe | WebsocketNotifier | Websocket Error - unauthorized |
2025-09-21 21:02:24.280020 | severe | AuthenticationNotifier | Error getting user information from the server [CATCH ALL] | ParallelWaitError(2 errors): ApiException 401: {"message":"Invalid user token","error":"Unauthorized","statusCode":401,"correlationId":"quimajch"} |
#0 UsersApi.getMyUser (package:openapi/api/users_api.dart:265)

#1 FutureRecord2.wait. (dart:async/future_extensions.dart:88)

#2 UserApiRepository.getMyUser (package:immich_mobile/infrastructure/repositories/user_api.repository.dart:14)

#3 UserService.refreshMyUser (package:immich_mobile/domain/services/user.service.dart:38)

#4 Future.timeout. (dart:async/future_impl.dart:1064)

#5 AuthNotifier.saveAuthInfo (package:immich_mobile/providers/auth.provider.dart:134)

#6 SplashScreenPageState.resumeSession. (package:immich_mobile/pages/common/splash_screen.page.dart:57)

`

@EliasMarine commented on GitHub (Sep 22, 2025): > Can you share the mobile app logs here? 2025-09-21 21:02:24.881850 | severe | IsolateLogger | Error in runInIsolateGentle for remote-sync | ApiException 401: Failed to get sync stream: {"message":"Invalid user token","error":"Unauthorized","statusCode":401,"correlationId":"t4t3ztpf"} | #0 SyncApiRepository.streamChanges (package:immich_mobile/infrastructure/repositories/sync_api.repository.dart:85) <asynchronous suspension> #1 SyncStreamService.sync (package:immich_mobile/domain/services/sync_stream.service.dart:30) <asynchronous suspension> #2 runInIsolateGentle.<anonymous closure>.<anonymous closure> (package:immich_mobile/utils/isolate.dart:56) <asynchronous suspension> #3 runInIsolateGentle.<anonymous closure> (package:immich_mobile/utils/isolate.dart:35) <asynchronous suspension> #4 WorkerImpl._anotherIsolate.<anonymous closure> (package:worker_manager/src/worker/worker_io.dart:106) <asynchronous suspension> 2025-09-21 21:02:24.881749 | severe | SyncApiRepository | Error processing stream | ApiException 401: Failed to get sync stream: {"message":"Invalid user token","error":"Unauthorized","statusCode":401,"correlationId":"t4t3ztpf"} | #0 SyncApiRepository.streamChanges (package:immich_mobile/infrastructure/repositories/sync_api.repository.dart:85) <asynchronous suspension> #1 SyncStreamService.sync (package:immich_mobile/domain/services/sync_stream.service.dart:30) <asynchronous suspension> #2 runInIsolateGentle.<anonymous closure>.<anonymous closure> (package:immich_mobile/utils/isolate.dart:56) <asynchronous suspension> #3 runInIsolateGentle.<anonymous closure> (package:immich_mobile/utils/isolate.dart:35) <asynchronous suspension> #4 WorkerImpl._anotherIsolate.<anonymous closure> (package:worker_manager/src/worker/worker_io.dart:106) <asynchronous suspension> 2025-09-21 21:02:24.312607 | severe | WebsocketNotifier | Websocket Error - unauthorized | 2025-09-21 21:02:24.280020 | severe | AuthenticationNotifier | Error getting user information from the server [CATCH ALL] | ParallelWaitError(2 errors): ApiException 401: {"message":"Invalid user token","error":"Unauthorized","statusCode":401,"correlationId":"quimajch"} | #0 UsersApi.getMyUser (package:openapi/api/users_api.dart:265) <asynchronous suspension> #1 FutureRecord2.wait.<anonymous closure> (dart:async/future_extensions.dart:88) <asynchronous suspension> #2 UserApiRepository.getMyUser (package:immich_mobile/infrastructure/repositories/user_api.repository.dart:14) <asynchronous suspension> #3 UserService.refreshMyUser (package:immich_mobile/domain/services/user.service.dart:38) <asynchronous suspension> #4 Future.timeout.<anonymous closure> (dart:async/future_impl.dart:1064) <asynchronous suspension> #5 AuthNotifier.saveAuthInfo (package:immich_mobile/providers/auth.provider.dart:134) <asynchronous suspension> #6 SplashScreenPageState.resumeSession.<anonymous closure> (package:immich_mobile/pages/common/splash_screen.page.dart:57) <asynchronous suspension> `
Author
Owner

@cmagliba101 commented on GitHub (Sep 22, 2025):

I am experiencing the same exact issue right now.

I though it was just a version mismatch I am coming from v1.129.0 to v1.142.1

I was using CasaOS and it was perfectly okay since September 10 it stopped syncing.

But after updating to the latest version for the server side. The issue still persist and I am still unable to upload photos or sync my mobile photos to the server.

Uploading manually is okay but not the auto-back up. It will only run for a few hundreds and then gets stuck somewhere.

@cmagliba101 commented on GitHub (Sep 22, 2025): I am experiencing the same exact issue right now. I though it was just a version mismatch I am coming from v1.129.0 to v1.142.1 I was using CasaOS and it was perfectly okay since September 10 it stopped syncing. But after updating to the latest version for the server side. The issue still persist and I am still unable to upload photos or sync my mobile photos to the server. Uploading manually is okay but not the auto-back up. It will only run for a few hundreds and then gets stuck somewhere.
Author
Owner

@zatdevil commented on GitHub (Sep 22, 2025):

Same issue happening....

@zatdevil commented on GitHub (Sep 22, 2025): Same issue happening....
Author
Owner

@mzy2240 commented on GitHub (Sep 22, 2025):

Having the same issues for 7 to 10 days, the server version is 1.135.3. The iOS version is always up-to-date. Log out/in does not work. The web version works just fine.

@mzy2240 commented on GitHub (Sep 22, 2025): Having the same issues for 7 to 10 days, the server version is 1.135.3. The iOS version is always up-to-date. Log out/in does not work. The web version works just fine.
Author
Owner

@shenlong-tanwen commented on GitHub (Sep 22, 2025):

Having the same issues for 7 to 10 days, the server version is 1.135.3. The iOS version is always up-to-date. Log out/in does not work. The web version works just fine.

Your server version is out of date. Updating it to the latest version followed by logging out and logging back in to the app would fix your issue

@shenlong-tanwen commented on GitHub (Sep 22, 2025): > Having the same issues for 7 to 10 days, the server version is 1.135.3. The iOS version is always up-to-date. Log out/in does not work. The web version works just fine. Your server version is out of date. Updating it to the latest version followed by logging out and logging back in to the app would fix your issue
Author
Owner

@cmagliba101 commented on GitHub (Sep 22, 2025):

Image

It’s been stuck like this for an hour now. lol not uploading like it used to before. I miss version 129.0

@cmagliba101 commented on GitHub (Sep 22, 2025): <img width="563" height="1218" alt="Image" src="https://github.com/user-attachments/assets/82c06739-43c5-42f3-bbf9-b716e5e30769" /> It’s been stuck like this for an hour now. lol not uploading like it used to before. I miss version 129.0
Author
Owner

@alextran1502 commented on GitHub (Sep 22, 2025):

@cmagliba101 does the number changes? If you toggle the backup button, do you see it starts backing up assets that have been hashed?

@alextran1502 commented on GitHub (Sep 22, 2025): @cmagliba101 does the number changes? If you toggle the backup button, do you see it starts backing up assets that have been hashed?
Author
Owner

@cmagliba101 commented on GitHub (Sep 22, 2025):

Image

It did but its ultra slow. It stops after like 100 queue.

@cmagliba101 commented on GitHub (Sep 22, 2025): <img width="563" height="1218" alt="Image" src="https://github.com/user-attachments/assets/ca205a17-2739-4a8c-a1d6-12d3a086f614" /> It did but its ultra slow. It stops after like 100 queue.
Author
Owner

@EliasMarine commented on GitHub (Sep 22, 2025):

@cmagliba101 does the number changes? If you toggle the backup button, do you see it starts backing up assets that have been hashed?

same with me, extremely slow. Uploads or idk if it's checking already uploaded photos in server. But it takes forever.

@EliasMarine commented on GitHub (Sep 22, 2025): > [@cmagliba101](https://github.com/cmagliba101) does the number changes? If you toggle the backup button, do you see it starts backing up assets that have been hashed? same with me, extremely slow. Uploads or idk if it's checking already uploaded photos in server. But it takes forever.
Author
Owner

@cmagliba101 commented on GitHub (Sep 22, 2025):

It goes up by a hundred and then goes down. Lol it’s super buggy.

@cmagliba101 commented on GitHub (Sep 22, 2025): It goes up by a hundred and then goes down. Lol it’s super buggy.
Author
Owner

@alextran1502 commented on GitHub (Sep 23, 2025):

I think we are going as fast as iCloud let us go. If you turn on download and save original, it will go so much faster

@alextran1502 commented on GitHub (Sep 23, 2025): I think we are going as fast as iCloud let us go. If you turn on download and save original, it will go so much faster
Author
Owner

@alextran1502 commented on GitHub (Sep 23, 2025):

I think we are going as fast as iCloud let us go. If you turn on download and save original option of iCloud, it will go so much faster

@alextran1502 commented on GitHub (Sep 23, 2025): > I think we are going as fast as iCloud let us go. If you turn on download and save original option of iCloud, it will go so much faster
Author
Owner

@DevServs commented on GitHub (Sep 23, 2025):

The latest version has a different, but related, problem. Android.

Image

@DevServs commented on GitHub (Sep 23, 2025): The latest version has a different, but related, problem. Android. ![Image](https://github.com/user-attachments/assets/b9be91e9-d659-4bb4-a5d3-a1fc544405cb)
Author
Owner

@mzy2240 commented on GitHub (Sep 23, 2025):

Having the same issues for 7 to 10 days, the server version is 1.135.3. The iOS version is always up-to-date. Log out/in does not work. The web version works just fine.

Your server version is out of date. Updating it to the latest version followed by logging out and logging back in to the app would fix your issue

It works after upgrading to the latest version. Thanks!

@mzy2240 commented on GitHub (Sep 23, 2025): > > Having the same issues for 7 to 10 days, the server version is 1.135.3. The iOS version is always up-to-date. Log out/in does not work. The web version works just fine. > > Your server version is out of date. Updating it to the latest version followed by logging out and logging back in to the app would fix your issue It works after upgrading to the latest version. Thanks!
Author
Owner

@EliasMarine commented on GitHub (Sep 23, 2025):

Many hashing errors in the logs, is this normal?

Immich_log_2025-09-23T14:07:22.541955.log

@EliasMarine commented on GitHub (Sep 23, 2025): Many hashing errors in the logs, is this normal? [Immich_log_2025-09-23T14:07:22.541955.log](https://github.com/user-attachments/files/22502293/Immich_log_2025-09-23T14.07.22.541955.log)
Author
Owner

@cmagliba101 commented on GitHub (Sep 23, 2025):

Still not working for me. Updated to 143.0

Tried log out log in trick. Still getting stuck at some point on mobile sync/upload.

@cmagliba101 commented on GitHub (Sep 23, 2025): Still not working for me. Updated to 143.0 Tried log out log in trick. Still getting stuck at some point on mobile sync/upload.
Author
Owner

@EliasMarine commented on GitHub (Sep 23, 2025):

Still not working for me. Updated to 143.0

Tried log out log in trick. Still getting stuck at some point on mobile sync/upload.

same here

@EliasMarine commented on GitHub (Sep 23, 2025): > Still not working for me. Updated to 143.0 > > Tried log out log in trick. Still getting stuck at some point on mobile sync/upload. same here
Author
Owner

@shenlong-tanwen commented on GitHub (Sep 23, 2025):

Many hashing errors in the logs, is this normal?

Normal, but certainly not ideal. You have the created at and album details there. Ignore the album since it is just the "Recents" one. Using the created at log entry, can you locate the assets on your Photos app and see if you can share them from there?

@shenlong-tanwen commented on GitHub (Sep 23, 2025): > Many hashing errors in the logs, is this normal? Normal, but certainly not ideal. You have the created at and album details there. Ignore the album since it is just the "Recents" one. Using the created at log entry, can you locate the assets on your Photos app and see if you can share them from there?
Author
Owner

@Flinner commented on GitHub (Sep 27, 2025):

Updated server to v1.132.3 (https://docs.immich.app/errors/#typeorm-upgrade) then to release. Worked after that 🥳 . Now on v1.143.1

Also the date/time on my server was way off for some reason, also fixed that.

    Installed 1.143.1 on Sep 27, 2025
    Installed 1.132.3 on Sep 27, 2025
    Installed 1.123.0 on Dec 18, 2024
@Flinner commented on GitHub (Sep 27, 2025): Updated server to `v1.132.3` (https://docs.immich.app/errors/#typeorm-upgrade) then to `release`. Worked after that 🥳 . Now on [v1.143.1](https://github.com/immich-app/immich/releases/tag/v1.143.1) Also the date/time on my server was way off for some reason, also fixed that. ``` Installed 1.143.1 on Sep 27, 2025 Installed 1.132.3 on Sep 27, 2025 Installed 1.123.0 on Dec 18, 2024 ```
Author
Owner

@jmbrito01 commented on GitHub (Sep 29, 2025):

I was experiencing the same issue on 1.119 and iOS 26, migrated first for 1.136.0 then 1.143.1 and it worked after that.

@jmbrito01 commented on GitHub (Sep 29, 2025): I was experiencing the same issue on 1.119 and iOS 26, migrated first for 1.136.0 then 1.143.1 and it worked after that.
Author
Owner

@irfanhakim-as commented on GitHub (Dec 7, 2025):

Still an issue on one of my family member's account, not an issue on mine. Their account shows over 10k assets in Remainder, but as far as I can tell, all of those assets already exist on the server, on their account. I don't face this on my account. The only difference I can think of is that they're also using iCloud. All I could do is leave Immich open where it'd add these assets to 'Preparing' and 'Ready for upload', tho they're not actually being uploaded again. This isn't ideal tho since it takes a lot of time, it makes the phone really hot, and I'm not even sure if it'll solve this issue in the end.

Both server and client versions are on the current latest version 2.3.1.

@irfanhakim-as commented on GitHub (Dec 7, 2025): Still an issue on one of my family member's account, not an issue on mine. Their account shows over 10k assets in Remainder, but as far as I can tell, all of those assets already exist on the server, on their account. I don't face this on my account. The only difference I can think of is that they're also using iCloud. All I could do is leave Immich open where it'd add these assets to 'Preparing' and 'Ready for upload', tho they're not actually being uploaded again. This isn't ideal tho since it takes a lot of time, it makes the phone really hot, and I'm not even sure if it'll solve this issue in the end. Both server and client versions are on the current latest version 2.3.1.
Author
Owner

@shenlong-tanwen commented on GitHub (Dec 8, 2025):

Still an issue on one of my family member's account, not an issue on mine. Their account shows over 10k assets in Remainder, but as far as I can tell, all of those assets already exist on the server, on their account. I don't face this on my account. The only difference I can think of is that they're also using iCloud. All I could do is leave Immich open where it'd add these assets to 'Preparing' and 'Ready for upload', tho they're not actually being uploaded again. This isn't ideal tho since it takes a lot of time, it makes the phone really hot, and I'm not even sure if it'll solve this issue in the end.

That is a separate issue related to iCloud and hashing and we are hoping to address that in #20418

@shenlong-tanwen commented on GitHub (Dec 8, 2025): > Still an issue on one of my family member's account, not an issue on mine. Their account shows over 10k assets in Remainder, but as far as I can tell, all of those assets already exist on the server, on their account. I don't face this on my account. The only difference I can think of is that they're also using iCloud. All I could do is leave Immich open where it'd add these assets to 'Preparing' and 'Ready for upload', tho they're not actually being uploaded again. This isn't ideal tho since it takes a lot of time, it makes the phone really hot, and I'm not even sure if it'll solve this issue in the end. That is a separate issue related to iCloud and hashing and we are hoping to address that in #20418
Author
Owner

@irfanhakim-as commented on GitHub (Dec 8, 2025):

@shenlong-tanwen thanks for the heads-up! Just would like to inform though that I did let the 'Preparing' and 'Ready for upload' process to complete by leaving Immich open in the foreground, and it actually managed to go from 10k+ assets to 0 :)

Not sure if this issue would reoccur, but I'll continue to monitor it and the PR you linked to. Thanks!

@irfanhakim-as commented on GitHub (Dec 8, 2025): @shenlong-tanwen thanks for the heads-up! Just would like to inform though that I did let the 'Preparing' and 'Ready for upload' process to complete by leaving Immich open in the foreground, and it actually managed to go from 10k+ assets to 0 :) Not sure if this issue would reoccur, but I'll continue to monitor it and the PR you linked to. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/immich#6841
No description provided.