Immich App error, no sync stream, Using Server URL: null??
Hey guys,
After a long time, I finally installed at the first time Immich.
System: Docker VM from Truenas
Docker Version:1.119.1
Android App Version: 1.142.1
Log in: check
Create user: check
Add external lib: check
Found photos, recognized locations (Webbased data looks fine): check
Log in via Android app: check
Unfortunately, syncstream doesn't work, so there is no sync to the server.
I tried to connect with
http://IP:port/30041 (the default)
Has anybody a Idea?, whats problem I have, google was not hepfull.
Log Detail Info (because it confused me)
Message:
Using Server URL: null
From
AppLifeCycleNotifier
The First error:
Error processing stream
Details:
ApiException 404: Failed to get sync stream: {"message":"Cannot POST /api/sync/stream","error":"Not Found","statusCode":404,"correlationId":"k8w59l29"}
StackTrace:
#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>
error Message:
Error in runInIsolateGentle for remote-sync
Details:
ApiException 404: Failed to get sync stream: {"message":"Cannot POST /api/sync/stream","error":"Not Found","statusCode":404,"correlationId":"k8w59l29"}
Stack Trace:
(to long)
And Third Message:
PlatformDispatcher - Catch all
Details
Null check operator used on a null value
StackTrace
AppLifeCycleNotifier.handleAppResume
8 Replies
:wave: Hey @becky2642,
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. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
2. :blue_square: read applicable release notes.
3. :blue_square: reviewed the FAQs for known issues.
4. :blue_square: reviewed Github for known issues.
5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
6. :blue_square: uploaded the relevant information (see below).
7. :blue_square: 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.Your server is unbelievably out of date
You say you just installed it??
Yes, I downloaded the version 1.5 hours ago.
I can update my Truenas from TrueNAS-24.04.2 To TrueNAS-24.04.2.5 so my version is not that old.

Idk anything about the truenas app but 1.119.1 is pretty ancient and you shouldn't be getting it for a new install
ok thank you, i will try if I have time 🙂
24.04.2.5 so my version is not that oldbtw, that's so old app migration from 24.04 to 24.10 is not even supported by TrueNAS anymore, let alone app updates. https://www.truenas.com/docs/scale/25.04/gettingstarted/scalereleasenotes/#truenas-apps-
Today I upgrade Truenas to 25.04 and then I installed immich v1.142.1 and now it looks better, the preview & so on needs a bit time, so the result I will see later.
thanks for the help with the version mistake=)