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
Immich
Immich3w ago
: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.
Alex Tran
Alex Tran3w ago
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
Sondrey
SondreyOP3w ago
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
Alex Tran
Alex Tran3w ago
Do you mind share the mobile app logs? And the screenshot of Sync Stats under the App Settings?
Sondrey
SondreyOP3w ago
No description
Alex Tran
Alex Tran3w ago
Thanks, looks good, how is the backup page looking?
Sondrey
SondreyOP3w ago
No description
Sondrey
SondreyOP3w ago
This one? It was at 600 around 8 hours ago
Alex Tran
Alex Tran3w 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?
Sondrey
SondreyOP3w ago
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
Alex Tran
Alex Tran3w ago
are you using nginx? do you use CloudFlare in between?
Sondrey
SondreyOP3w ago
yes, and yes Nginx Reverse Proxy, DNS handeled by cloudflare
Alex Tran
Alex Tran3w ago
Do you use CloudFlare tunnel?
Sondrey
SondreyOP3w ago
No, regular port forwarding
Alex Tran
Alex Tran3w ago
do you have client_max_body_size in your nginx settings?
Sondrey
SondreyOP3w ago
I did, and it stopped working completly
Alex Tran
Alex Tran3w ago
what value do you put there? here is our example https://immich.app/docs/administration/reverse-proxy#nginx-example-config
Sondrey
SondreyOP3w ago
here, right?
Sondrey
SondreyOP3w ago
No description
Alex Tran
Alex Tran3w ago
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 uploads
Sondrey
SondreyOP3w ago
But when using this GUI, i should only put hat one line, right?
Alex Tran
Alex Tran3w ago
if it does and we can look into nginx settings more correct
Sondrey
SondreyOP3w ago
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
Alex Tran
Alex Tran3w ago
can you go to the detail page from the under the upload button? are they uploading videos and how large are they?
Sondrey
SondreyOP3w ago
Its blank
Alex Tran
Alex Tran3w ago
can you help show the backup page again?
Sondrey
SondreyOP3w ago
Oh its 0 now Ok, let me check my wifes phone when she gets back in a minute
Alex Tran
Alex Tran3w ago
Sure, can you enable websocket on your nginx?
Sondrey
SondreyOP3w ago
its already enabled Thanks for the help so far
Alex Tran
Alex Tran3w ago
no problem
Sondrey
SondreyOP3w ago
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?
Alex Tran
Alex Tran3w ago
Yes
Sondrey
SondreyOP3w ago
Same for external network? When i start the app on my wifes phone, it freezes after 3 sec
Alex Tran
Alex Tran3w ago
Which phone model is this? Does the phone has any storage left?
Sondrey
SondreyOP3w ago
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
Alex Tran
Alex Tran3w ago
No, after syncing to Immich, you can delete on the device

Did you find this page helpful?