Help Setting Up please

I think I am nearly setup ok but I looked at the logs and realised I did have a major issue. Hope someone can clarify how I can fix this. I am running on Unraid with an Unraid to Unraid sync on local network. The error I’m getting is :[KW76P] 2025/03/05 13:24:52 INFO: Failed to acquire [::]:22000/TCP open port on NAT-PMP@XXX.XX.0.1: getting new lease on NAT-PMP@XXX.XX.0.1 (external port 11130 → internal port 22000): read udp XXX.XX.0.3:55281->XXX.XX.0.1:5351: recvfrom: connection refused

Any help appreciated

The message just means that syncthing wasn’t able to open a port on your router (port mapping). This is due to whatever settings or quirks your router has. If you’re just connecting through a local network, this shouldn’t be a problem.

1 Like

Thanks for the reply . So I need to open ports somehow even though both servers on on the same local network? I don’t understand how I do that, could you explain? Im pretty new to this .

No, you don’t need to do anything. You can just ignore the message. Is there a specific problem you’re trying to troubleshoot?

Now I am confused. The servers were showing as connected but I see the connection is being refused to the receiving server. I see the following all in red letters: connected to self (14:40:24) no recent network activity (14:40:54) received unexpected handshake message of type *tls.clientHelloMs… connection refused (14:40:59)

And then the servers are disconnected. I cant restart them

Okay I restarted the container and the servers are now showing as Up To Date but i can’t see any network activity in the GUI. Download rate 0 Upload rate 0

That’s totally normal. It’s not like there’s much network activity when you’re not syncing. Up to date means everything (besides ignored stuff) has been synced on both sides.

Okay Im back again because I realised nothing at all is syncing. I noticed that the log just stops at “2025-03-23 15:24:03,954 DEBG ‘start-script’ stdout output: [KW76P] 2025/03/23 15:24:03 INFO: Completed initial scan of sendonly folder “movies” (penre-laanq)”

In the receiving server I noticed the connection type is TCP WAN? These servers are on the same local network so how do I set that up because for the life of me I cant see anywhere? .I read something about “allowed networks” setting but where is that? All help is much appreciated.

You mentioned running Unraid, so I’m guessing that your Syncthing instance is running inside a (Docker) container.

Depending on the network settings, the container might be on its own virtual network that’s on top of your local physical network.

So from Syncthing’s perspective, it needs to pass through a network gateway to reach devices physically connected to your local network.

Check Unraid’s documentation on configuring network settings for app containers.

https://docs.syncthing.net/advanced/device-allowednetworks.html

That setting is for filtering connections by IP address and unrelated to your current issue (unless you happened to have already used it to block your Unraid server :wink:).

Hi, Thanks very much for the pointer re the network settings. I have sorted that now and TCP LAN is shown , however I am still confused over sharing . My purpose is to share a folder located at /mnt/user/data/media/movies to a folder on the other server located at /mnt/user/movies but i just don’t get how to set that up . Here is an image of what I have

Any suggestions how I can achieve this as it doesn’t appear to be even scanning the folder otherwise presumably Global State and Local State would be populated. Thanks in advance

According to your screenshot, if “user” is your Syncthing’s username, you’re syncing the directory /home/user/mnt/user/data/media/movies because your folder path starts with a tilde (~), which is an alias for a user’s home directory:

sync

This can be verified via the folder edit panel under the “General” tab. Right below the “Folder Path” input box is a reminder/note.

On my system, my username is “gadget”, so the reminder says:

Path to the folder on the local computer. Will be created if it does not exist. The tilde character (~) can be used as a shortcut for /home/gadget.

Sorry I don’t understand . What is Syncthings user name? Now Im getting errors i.e 2025-03-23 17:19:36: Failed to create folder root directory: mkdir /mnt/user: permission denied

2025-03-23 17:19:36: Error on folder 2d5gg: folder path missing Why is it trying to create a new folder ? Sorry to be so dumb but this really is not clear to me at all.

Syncthing’s user name is the name of the user who is running Syncthing. The actual name depends on what you assigned while installing and configuring the container (if that’s what you’re using).

If the target folder doesn’t exist, Syncthing will create it for you, and Syncthing also needs to create its marker folder as part of its data safety features.

You’ll have to diagnose why there’s a permissions error on /mnt/user. Clearly Syncthing cannot access the folder you are trying to sync (it’s also why your screen shows zero files and folders found).

Please correct me if I’m wrong, but it doesn’t sound like you have much experience with Unraid and/or Docker.

If so, it’ll really help to first brush up on using Docker and Unraid before diving into using Syncthing since the issues aren’t actually due to an incorrect Syncthing setup.