Out of Sync but in ingnore file.

I am synching between 2 data pools on the same instance of unRAID and using 2 instances of Syncthing, Prod and Spare. I have a Media share tha sync w/ the following ignore patters: $RECYCLE.BIN/ $RECYCLE.BIN/desktop.ini !/eBooks !/Halloween !/Home Movies !/Images !/Misc !/Movies !/Movies 4K !/Music !/Music Videos !/MusicKODI !/Pictures_Old !/TV Shows !/Youtube * The directory I exclude is Media/Pictures, becuase I sync that from another source. This works fine and does not sync /Media/Pictures. All looks well with exceptio of Out of Sync on my spare instance, see below:

Even though I am excluding /Media/Pictures from the share folder of Media, but populating Media/Pictures from another process, Syncthing still sees that and thinks Media/Pictures is out of sync or is my logic incorrect?

Questions:

  • Please post your ignore files.
  • It’s not entirely clear to me what your setup looks like. I understand that you’re using two different instances of Syncthing, Prod and Spare – please post with the Folders that are shared on those instances and how they’re configured, along with basics of their Syncthing peers.
  • Are any of these Folders set up as Send Only, or Receive Only?
  • Have you considered reconfiguring so that the subfolders under \Media are shared as different Syncthing shared Folders? This would keep Ignore Patterns from being needed to not sync /Media/Pictures.

Ignore Patterns:

Syncthing Prod, running in Docker, /data1 is mapped to the share of /Media

Syncthing Spare same as above

Syncthing Prod is a ZFS Pool (Data) where my production data and shares are located.

Syncthing-2 Spare is a ZFS pool (Data_Backup) where I sync to, Send only and recieve only, Prod (Send) and Spare (Recive).

In addition, I have another task, that syncs from another share, /Media/OneDrive/Pictures to /Media/Pictures on Data ZFS Pool. That’s why I exclude the initial task not to sync Media/Pictures, because is occurring from an additional sync task.

All seems to be working, but I don’t understand why I see Out of Sync:

Please show a screenshot of the GUI with the Media folder expanded.

Here you go:

Here’s what I think is going on.

Your Media Folder is set to “Send Only” on one side, and I expect the “unRAID-Prod-2” side, where you’re seeing Out Of Sync Items, is set to “Receive Only.”

If anything changes on the Receive Only side through some non-Syncthing mechanism, that Folder’s Local State no longer matches the Global State. Thus showing Out of Sync items.

Does that make sense?

You are correct and that is what I assumed. The only folder that is not in scope is the Media/Pictures but being populated by another process. So, to conclude, regardless of the transfer policy, the folder Media will always be out of sync, which is fine. I was just assuming if I exclude Media/Pictures, syncthing would ignore and show completed.

1 Like

My advice is that you create separate shared Folders at the /Media level and just not share Pictures.