Android App Stuck on "Building the Timeline"

immich runs fine on my debian / casaos node. I am running version v1.130.3. That is what the casaos app is. Android app log: #0 AssetResponseDto.fromJson (package:openapi/model/asset_response_dto.dart:291) #1 ApiClient.fromJson (package:openapi/api_client.dart:264) #2 ApiClient.fromJson.<anonymous closure> (package:openapi/api_client.dart:683) #3 MappedIterable.elementAt (dart:_internal/iterable.dart:402) #4 ListIterator.moveNext (dart:_internal/iterable.dart:371) #5 new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:166) #6 new _List.of (dart:core-patch/array.dart:130) #7 new List.of (dart:core-patch/array_patch.dart:40) #8 ListIterable.toList (dart:_internal/iterable.dart:224) #9 ApiClient.fromJson (package:openapi/api_client.dart:684) #10 ApiClient.deserialize (package:openapi/api_client.dart:158) <asynchronous suspension> #11 SyncApi.getFullSyncForUser (package:openapi/api/sync_api.dart:147) <asynchronous suspension> #12 AssetService._getRemoteAssets (package:immich_mobile/services/asset.service.dart:149) <asynchronous suspension> #13 SyncService._syncRemoteAssetsForUser (package:immich_mobile/services/sync.service.dart:291) <asynchronous suspension> #14 SyncService._syncRemoteAssetsFull (package:immich_mobile/services/sync.service.dart:281) <asynchronous suspension> #15 SyncService.syncRemoteAssetsToDb.<anonymous closure> (package:immich_mobile/services/sync.service.dart:110) <asynchronous suspension> #16 AssetService.refreshRemoteAssets (package:immich_mobile/services/asset.service.dart:90) <asynchronous suspension> #17 AssetNotifier.getAllAsset (package:immich_mobile/providers/asset.provider.dart:68) <asynchronous suspension> #18 AppLifeCycleNotifier.handleAppResume (package:immich_mobile/providers/app_life_cycle.provider.dart:71) <asynchronous suspension>
16 Replies
Immich
Immich4w ago
:wave: Hey @Greypic, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed.
Greypic
GreypicOP4w ago
No description
Immich
Immich4w ago
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Greypic
GreypicOP4w ago
NAMES STATUS IMAGE immich-server Up 23 hours (healthy) ghcr.io/immich-app/immich-server:v1.130.3 immich-postgres Up 23 hours tensorchord/pgvecto-rs:pg14-v0.2.0 immich-machine-learning Up 23 hours (healthy) ghcr.io/immich-app/immich-machine-learning:v1.130.3 immich-redis Up 23 hours redis:6.2-alpine Is it posible that i have the new app but the casaos immich app is stil on v1.130.3?
Greypic
GreypicOP4w ago
Server log with errors - won't fit in one post
shenlong-tanwen
Looks like you have corrupt assets in your library which is preventing the mobile app from syncing all the changes. Can you follow the steps from this github issue? https://github.com/immich-app/immich/issues/16046#issuecomment-2764126232
Greypic
GreypicOP4w ago
Thanks for the reply, I read it twice and still don't know what to do. I will have some coffee and walk my dog and then read it again. Can you throw me a bone and tell me where I need to start in that thread? Me and DeepSeek/Chatgpt are gonna try to thug it out. Well, DeepSeek couldn't do it but ChatGPT could. I got all the files deleted that were listed. restarted immich, but still now
Greypic
GreypicOP4w ago
No description
Greypic
GreypicOP4w ago
Invalid argument(s): No host specified in URI /users
shenlong-tanwen
Is your server still up? Can you access the web UI? If so, can you try logging out from the app and try logging back in. Ideally, you need to remove both the corrupted files and their database entries. Did you run the delete command for those specific assets to remove them from postgres?
Greypic
GreypicOP4w ago
Yeah it works fine. I tried that and got the same result. So I deleted the app. Restarted my server reinstalled the app and this is what I get. I deleted the images, and rescanned pictures. When I searched the database for those null data sets nothing comes back. So I didn't remove the database entries I was hoping they would remove themselves if I rescanned and the pictures weren't there. Does that make sense? I'll gladly delete the database and rebuild it as long as I don't have to reinstall the server because getting that set up right was a super pain in the butt.
Alex Tran
Alex Tran4w ago
do you mind posting the query that you used?
Greypic
GreypicOP4w ago
So i ran it again and the null records were still there, I ran I ran DELETE FROM assets WHERE "fileCreatedAt" IS NULL; Then: LINE 1: immich=# ^ immich=# SELECT COUNT(*) FROM assets WHERE "fileCreatedAt" IS NULL; count ------- 0 (1 row) But now when I try to log in with the app I get
Server not reachable
I realized since I am running tailscale I have to access through the tailscale ip, which is less than ideal. I think i will go with a cloudflare tunnel tommorow and report back. Current error #0 AssetResponseDto.fromJson (package:openapi/model/asset_response_dto.dart:291) #1 ApiClient.fromJson (package:openapi/api_client.dart:264) #2 ApiClient.fromJson.<anonymous closure> (package:openapi/api_client.dart:685) #3 MappedIterable.elementAt (dart:_internal/iterable.dart:402) #4 ListIterator.moveNext (dart:_internal/iterable.dart:371) #5 new _List._ofEfficientLengthIterable (dart:core-patch/array.dart:166) #6 new _List.of (dart:core-patch/array.dart:130) #7 new List.of (dart:core-patch/array_patch.dart:40) #8 ListIterable.toList (dart:_internal/iterable.dart:224) #9 ApiClient.fromJson (package:openapi/api_client.dart:686) #10 ApiClient.deserialize (package:openapi/api_client.dart:158) <asynchronous suspension> #11 SyncApi.getFullSyncForUser (package:openapi/api/sync_api.dart:147) <asynchronous suspension> #12 AssetService._getRemoteAssets (package:immich_mobile/services/asset.service.dart:148) <asynchronous suspension> #13 SyncService._syncRemoteAssetsForUser (package:immich_mobile/services/sync.service.dart:291) <asynchronous suspension> #14 SyncService._syncRemoteAssetsFull (package:immich_mobile/services/sync.service.dart:281) <asynchronous suspension> #15 SyncService.syncRemoteAssetsToDb.<anonymous closure> (package:immich_mobile/services/sync.service.dart:110) <asynchronous suspension> #16 AssetService.refreshRemoteAssets (package:immich_mobile/services/asset.service.dart:89) <asynchronous suspension> #17 AssetNotifier.getAllAsset (package:immich_mobile/providers/asset.provider.dart:68) <asynchronous suspension> #18 AppLifeCycleNotifier.handleAppResume (package:immich_mobile/providers/app_life_cycle.provider.dart:71) <asynchronous suspension> i can log in through tailscale ip on my desktop, not on mobile
Alex Tran
Alex Tran4w ago
Can you check if there is date that less than 1900 year?
Greypic
GreypicOP4w ago
Tomorrow, Chatgpt and I will do that.
Alex Tran
Alex Tran4w ago
If you follow a post above, there are comments show you how to do that

Did you find this page helpful?