File silently not syncing

Using Syncthing 0.14.46, SyncTrayzor 1.1.21 on Windows 7 SP1 x64 machines. The folder in question is using SyncTrayzor’s filesystem watcher.

I have a file which is silently not syncing between two devices and is marked as “invalid” in both device’s “global” list. The file is not ignored by either device, confirmed by checking the ignores and the logs while scanning. No sync conflict or temporary files are created. Both devices read each other and the folder as “Up To Date”. I’d expect the file to be synced, or for at least one device to report an error.

The file was synced on both devices when it was last modified on the 17th. Today (21st) I edited the file on device I whilst device V was switched off.

When device V was switched on, various other files on other folders were correctly synced. Other files in this shared folder are syncing.

I’m not getting any errors on either side or any logs that seem relevant, or mention the file at all, in the debug logs (events, fs, main, model, scanner).

According to the API, the file has the "invalid": true, field set on both devices’ global section.

API rest/db/file output for the file on device V:

{
“availability”: null,
“global”: {
“deleted”: false,
“invalid”: true,
“modified”: “2018-04-17T03:41:59.7930401+01:00”,
“modifiedBy”: “YECXW42”,
“name”: “filename”,
“noPermissions”: false,
“numBlocks”: 0,
“permissions”: “0644”,
“sequence”: 14400,
“size”: 296636,
“type”: 0,
“version”: [
“IGHCPN5:38”,
“VGHBPFX:21”
]
},
“local”: {
“deleted”: false,
“invalid”: false,
“modified”: “2018-04-17T03:41:59.7930401+01:00”,
“modifiedBy”: “IGHCPN5”,
“name”: “filename”,
“noPermissions”: false,
“numBlocks”: 3,
“permissions”: “0644”,
“sequence”: 16919,
“size”: 296636,
“type”: 0,
“version”: [
“IGHCPN5:1”
]
}
},
“local”:{
“deleted”:false,
“invalid”:false,
“modified”:“2018-04-17T03:41:59.7930401+01:00”,
“modifiedBy”:“IGHCPN5”,
“name”:“filename”,
“noPermissions”:false,
“numBlocks”:3,
“permissions”:“0644”,
“sequence”:16919,
“size”:296636,
“type”:0,
“version”:[
“IGHCPN5:1”
]
} }

Device I: (has most recent file) {
“availability”: null,
“global”: {
“deleted”: false,
“invalid”: true,
“modified”: “2018-04-17T03:41:59.7930401+01:00”,
“modifiedBy”: “YECXW42”,
“name”: “filename”,
“noPermissions”: false,
“numBlocks”: 0,
“permissions”: “0644”,
“sequence”: 14400,
“size”: 296636,
“type”: 0,
“version”: [
“IGHCPN5:38”,
“VGHBPFX:21”
]
},
“local”: {
“deleted”: false,
“invalid”: false,
“modified”: “2018-04-21T12:39:53.1968141+01:00”,
“modifiedBy”: “IGHCPN5”,
“name”: “filename”,
“noPermissions”: false,
“numBlocks”: 3,
“permissions”: “0644”,
“sequence”: 13240,
“size”: 299467,
“type”: 0,
“version”: [
“IGHCPN5:2”
]
}
}

Something went wrong here, the local versions for IGHCPN5 should be higher than the global one (38). Did you ever have 0.14.46-rc.1 installed?

Neither device has.

Then I have no idea how this could have happened. It should be solvable by connecting (or pausing (temporary fix) or removing) the device that has the global file (probably YECXW42). Let me know whether it works and if there is anything special about the file/your setup or if you can reproduce it.

I’ve gotten the folder synced - I had forgotten that I also share this folder with my phone YECXW42 and hadn’t even noticed the device ID in the log (ugh why can’t users ever tell the full story?), however the phone has these two stignore entries, as I only want a single subfolder shared to the phone:

!Writing
*

The problematic file is not in the Writing folder (nor contains any file name strings that match it). As soon as I deselected the phone from both device V and I’s folder share, they synced correctly, including a few other files I hadn’t noticed were not synced.

I wonder if the phone had somehow decided the problem file was invalid as the phone was not interested in the file, and that propagated to one or both devices.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.