Files not syncing. Please help!

I’m trying to setup Syncthing for the first time.

I have the remote devices connected. The folder “pizza” is synced and “up to date”. The file paths are correct. And when I add a file to seedbox (mariner.whatbox.ca), then TrueNAS (4028ff337c8c) successfully recognizes a new file was added (papajohn.txt) and finds it under the Latest Change. This only happens in one direction. When I add something to seedbox, it recognizes it as the Lastest Change on TrueNAS, but not when I add something to TrueNAS. However the main problem is that files are NOT syncing in either direction.

Here is the log from TrueNAS:

2025-10-17 09:41:55 INF Synced file (folder.label=pizza folder.id=ccpse-6hkze folder.type=sendreceive file.name=papajohn.txt file.modified="2025-10-17 09:41:44.407945997 -0500 CDT" file.permissions=0640 file.size=6 file.blocksize=131072 blocks.local=0 blocks.download=1 log.pkg=model)

2025-10-17 09:51:31 WRN Failed to acquire open port (mapping="[::]:22000/TCP" id=NAT-PMP@172.16.12.1 error="getting new lease on NAT-PMP@172.16.12.1 (external port 6760 -> internal port 22000): read udp 172.16.12.2:52083->172.16.12.1:5351: recvfrom: connection refused" log.pkg=nat)

Here is the log from seedbox:

2025-10-17 14:37:56 INF Ready to synchronize (folder.label=pizza folder.id=ccpse-6hkze folder.type=sendreceive log.pkg=model)

2025-10-17 14:37:56 INF Folder changed state (folder=ccpse-6hkze state=scan-waiting log.pkg=model)

2025-10-17 14:37:56 INF Folder changed state (folder=ccpse-6hkze state=scanning log.pkg=model)

2025-10-17 14:37:56 INF Folder changed state (folder=ccpse-6hkze state=idle log.pkg=model)

2025-10-17 14:37:56 INF Completed initial scan (folder.label=pizza folder.id=ccpse-6hkze folder.type=sendreceive log.pkg=model)

2025-10-17 14:38:37 INF Peer has a new index ID (device=XXXXXX folder.label=pizza folder.id=ccpse-6hkze folder.type=sendreceive indexid=0xD62584DD8494F319 log.pkg=model)

2025-10-17 14:40:27 INF Folder changed state (folder=ccpse-6hkze state=scan-waiting log.pkg=model)

2025-10-17 14:40:27 INF Folder changed state (folder=ccpse-6hkze state=scanning log.pkg=model)

2025-10-17 14:40:27 INF Folder changed state (folder=ccpse-6hkze state=idle log.pkg=model)

2025-10-17 14:41:15 INF Folder changed state (folder=ccpse-6hkze state=scan-waiting log.pkg=model)

2025-10-17 14:41:15 INF Folder changed state (folder=ccpse-6hkze state=scanning log.pkg=model)

2025-10-17 14:41:15 INF Folder changed state (folder=ccpse-6hkze state=idle log.pkg=model)

2025-10-17 14:41:54 INF Folder changed state (folder=ccpse-6hkze state=scan-waiting log.pkg=model)

2025-10-17 14:41:54 INF Folder changed state (folder=ccpse-6hkze state=scanning log.pkg=model)

2025-10-17 14:41:54 INF Folder changed state (folder=ccpse-6hkze state=idle log.pkg=model)

2025-10-17 14:48:09 INF Folder changed state (folder=mqfib-mmplj state=scan-waiting log.pkg=model)

2025-10-17 14:48:09 INF Folder changed state (folder=mqfib-mmplj state=scanning log.pkg=model)

2025-10-17 14:48:09 INF Folder changed state (folder=mqfib-mmplj state=idle log.pkg=model)

This feels like a permissions issue, but It’s odd to me that it says ““Synced file” in the logs. I wouldn’t expect it to appear successful if the file didn’t actually make it. Here are some ownership info.

TrueNAS ownership:

ls -ld /mnt/MyPool/MyDataset/pizza drwxrwxrwx+ 2 root root 7 Oct 17 10:56 /mnt/MyPool/MyDataset/pizza

seedbox ownership: ls -ld ${PWD}/pizza drwxr-x— 3 hankmountain hankmountain 78 Oct 17 15:01 /home/hankmountain/pizza

I’m at a loss as what to do. It feels like a permissions issue, but the lack of error message makes it difficult to diagnose. I’ve tried different permutations of chown to try to get the ownership correct, but I’ve been unsuccessful.

Okay I finally figured this out. My issue turned out to be with my TrueNAS instance of syncthing. I was sharing from my seedbox to TrueNAS. In TrueNAS I setup a dataset for syncthing, but I didn’t actually want to sync anything there. I wanted to sync to some other datasets. So when it came time to choose the folder path for the shared folder, I was entering the absolute path that I wanted the files to end up in. BIG MISTAKE. Unfortunately this manifests as no files appearing anywhere and no error messages. The files don’t even appear in the syncthing dataset.

So, to fix this, you need to add Additional Storage in the syncthing app settings. You chose the internal Mount Path for inside of the syncthing container and the Host Path actually want the files to go.

Then when setting up the file path for the receiving folder you need to specify the Mount Path folder. Hopefully this is helpful to anyone else setting up on TrueNAS. Definitely was a head scratcher for me!~