Sync issues
Hi! I have immich running on a TrueNAS CE, both recently installed and the latest versions (except immich is 0.0.1 behind). When i select a folder to sync from my iPhone, it starts counting up files to-be-synched, sometimes it runs through like 300 files (of the ~2000) sometimes 50. But in general it does some and then conpletly stop. I have opened the app every noe and then and found that it has done a few more images, but now its been like a week. And its still not done.
Im running this behind a Nginx Proxy Manager server with HTTPS.
It seems to behave the same way on my wifes Android device. I have setup LAN address when on our wifi. Both devices has background workers enabled
37 Replies
:wave: Hey @Sondrey,
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.Hello, are you guys using iCloud?
are you guys on the new timeline and if you can help, please try logout and log back in, see if it helps
Im using icloud, she is using google photos, we are using the new timeline, have tried logging in and out
Og and the backup notofocation is popping up constantly, like i can be using my phone and it pops up like 10 times in a row
Do you mind share the mobile app logs? And the screenshot of Sync Stats under the App Settings?

Thanks, looks good, how is the backup page looking?

This one?
It was at 600 around 8 hours ago
How do you connect to your server, is it via DNS or local IP?
if you press on the move detail inter the "Remainder" card, what type of assets are you seeing? videos or images?
Images
When logging in, i use the public IP, in settings i have it set up to use the LAN address
if im on the home wifi
are you using nginx? do you use CloudFlare in between?
yes, and yes
Nginx Reverse Proxy, DNS handeled by cloudflare
Do you use CloudFlare tunnel?
No, regular port forwarding
do you have
client_max_body_size
in your nginx settings?I did, and it stopped working completly
what value do you put there?
here is our example https://immich.app/docs/administration/reverse-proxy#nginx-example-config
here, right?

yes
you can try
client_max_body_size 50000M;
then reset nginx and try uploading again
if it doesn't work, then try log out and log back in via local IP and see if it uploadsBut when using this GUI, i should only put hat one line, right?
if it does and we can look into nginx settings more
correct
Now its down to 61 remaining and it stops
Thats the strange part i think, Cause it seems to work for a handfull, and then just stops
can you go to the detail page from the under the upload button?
are they uploading videos and how large are they?
Its blank
can you help show the backup page again?
Oh its 0 now
Ok, let me check my wifes phone when she gets back in a minute
Sure, can you enable websocket on your nginx?
its already enabled
Thanks for the help so far
no problem
When i click on the "use current connection" for Wifi -> LAN Setting, it adds "/api" tot he end of the URL. Should that be there?
Yes
Same for external network?
When i start the app on my wifes phone, it freezes after 3 sec
Which phone model is this?
Does the phone has any storage left?
Oh, thats a good question. Its a S24 i think. She has been struggeling with storage, but im not certain at this point.
We deleted a bunch of stuff a while ago, but it might have filled up again. I will check with her.
Is the sync to Immich only one way?
Sorry, i mean, does deleting photos on the device, also delete them on immich
No, after syncing to Immich, you can delete on the device