As of v1.22.x I’ve been getting sync conflicts when I make a change from my desktop and nowhere else.
It happens pretty consistently after saving my KeePass database, but I’m able to reproduce it when saving a text file too.
I enabled debugging for and recorded these events when I got another conflict file:
[SUMLB] 2022/11/06 14:50:31.071912 logfs.go:115: DEBUG: folderconfiguration.go:116 basic C:\Users\dan\syncthing\KeePass Stat . {0xc004c3e150} <nil>
[SUMLB] 2022/11/06 14:50:31.074377 logfs.go:115: DEBUG: folderconfiguration.go:134 basic C:\Users\dan\syncthing\KeePass Stat .stfolder {0xc004c3e230} <nil>
[SUMLB] 2022/11/06 14:50:31.078494 logfs.go:163: DEBUG: folder.go:334 basic C:\Users\dan\AppData\Local\Syncthing\index-v0.14.0.db Usage . {111751942144 255465836544} <nil>
[SUMLB] 2022/11/06 14:50:31.082370 logfs.go:115: DEBUG: folderconfiguration.go:116 basic C:\Users\dan\syncthing\KeePass Stat . {0xc004ce4000} <nil>
[SUMLB] 2022/11/06 14:50:31.082963 logfs.go:115: DEBUG: folderconfiguration.go:134 basic C:\Users\dan\syncthing\KeePass Stat .stfolder {0xc004ce40e0} <nil>
[SUMLB] 2022/11/06 14:50:31.082963 logfs.go:163: DEBUG: folder.go:334 basic C:\Users\dan\AppData\Local\Syncthing\index-v0.14.0.db Usage . {111751942144 255465836544} <nil>
[SUMLB] 2022/11/06 14:50:31.084896 logfs.go:163: DEBUG: folderconfiguration.go:267 basic C:\Users\dan\syncthing\KeePass Usage . {111751942144 255465836544} <nil>
[SUMLB] 2022/11/06 14:50:31.087483 basicfs_watch.go:96: DEBUG: basic C:\Users\dan\syncthing\KeePass Watch: Ignoring ~syncthing~test.sync-conflict-20221106-145032-SUMLBHF.txt.tmp
[SUMLB] 2022/11/06 14:50:31.088043 basicfs_watch.go:96: DEBUG: basic C:\Users\dan\syncthing\KeePass Watch: Ignoring ~syncthing~test.sync-conflict-20221106-145032-SUMLBHF.txt.tmp
[SUMLB] 2022/11/06 14:50:31.088054 basicfs_watch.go:96: DEBUG: basic C:\Users\dan\syncthing\KeePass Watch: Ignoring ~syncthing~test.sync-conflict-20221106-145032-SUMLBHF.txt.tmp
[SUMLB] 2022/11/06 14:50:31.252763 basicfs_watch.go:96: DEBUG: basic C:\Users\dan\syncthing\KeePass Watch: Ignoring ~syncthing~test.sync-conflict-20221106-145032-SUMLBHF.txt.tmp
[SUMLB] 2022/11/06 14:50:31.258320 basicfs_watch.go:96: DEBUG: basic C:\Users\dan\syncthing\KeePass Watch: Ignoring ~syncthing~test.sync-conflict-20221106-145032-SUMLBHF.txt.tmp
[SUMLB] 2022/11/06 14:50:31.259635 basicfs_watch.go:102: DEBUG: basic C:\Users\dan\syncthing\KeePass Watch: Sending test.sync-conflict-20221106-145032-SUMLBHF.txt non-remove
[SUMLB] 2022/11/06 14:50:31.259635 basicfs_watch.go:96: DEBUG: basic C:\Users\dan\syncthing\KeePass Watch: Ignoring ~syncthing~test.sync-conflict-20221106-145032-SUMLBHF.txt.tmp
[SUMLB] 2022/11/06 14:50:31.259635 aggregator.go:188: DEBUG: aggregator/"KeePass" (xctzt-yzntk): Skipping path we modified: test.sync-conflict-20221106-145032-SUMLBHF.txt
[SUMLB] 2022/11/06 14:50:31.260219 basicfs_watch.go:102: DEBUG: basic C:\Users\dan\syncthing\KeePass Watch: Sending test.sync-conflict-20221106-145032-SUMLBHF.txt non-remove
[SUMLB] 2022/11/06 14:50:31.260219 aggregator.go:188: DEBUG: aggregator/"KeePass" (xctzt-yzntk): Skipping path we modified: test.sync-conflict-20221106-145032-SUMLBHF.txt
[SUMLB] 2022/11/06 14:50:31.773576 aggregator.go:323: DEBUG: aggregator/"KeePass" (xctzt-yzntk): No tracked events, waiting for new event.
[SUMLB] 2022/11/06 14:50:33.009219 aggregator.go:334: DEBUG: aggregator/"Utils" (t9vjd-pxrkf): No old fs events
[SUMLB] 2022/11/06 14:50:33.009996 aggregator.go:315: DEBUG: aggregator/"Utils" (t9vjd-pxrkf): Resetting notifyTimer to 10s
[SUMLB] 2022/11/06 14:50:43.026553 aggregator.go:334: DEBUG: aggregator/"Utils" (t9vjd-pxrkf): No old fs events
[SUMLB] 2022/11/06 14:50:43.027589 aggregator.go:315: DEBUG: aggregator/"Utils" (t9vjd-pxrkf): Resetting notifyTimer to 10s
[SUMLB] 2022/11/06 14:50:53.029026 aggregator.go:334: DEBUG: aggregator/"Utils" (t9vjd-pxrkf): No old fs events
[SUMLB] 2022/11/06 14:50:53.029026 aggregator.go:315: DEBUG: aggregator/"Utils" (t9vjd-pxrkf): Resetting notifyTimer to 10s
[SUMLB] 2022/11/06 14:50:59.708587 logfs.go:115: DEBUG: folderconfiguration.go:116 basic C:\Users\dan\syncthing\KeePass Stat . {0xc00607c000} <nil>
[SUMLB] 2022/11/06 14:50:59.719992 logfs.go:115: DEBUG: folderconfiguration.go:134 basic C:\Users\dan\syncthing\KeePass Stat .stfolder {0xc00607c0e0} <nil>
[SUMLB] 2022/11/06 14:50:59.720662 logfs.go:163: DEBUG: folder.go:334 basic C:\Users\dan\AppData\Local\Syncthing\index-v0.14.0.db Usage . {111751684096 255465836544} <nil>
[SUMLB] 2022/11/06 14:50:59.728790 logfs.go:115: DEBUG: folderconfiguration.go:116 basic C:\Users\dan\syncthing\KeePass Stat . {0xc00607c230} <nil>
[SUMLB] 2022/11/06 14:50:59.730056 logfs.go:115: DEBUG: folderconfiguration.go:134 basic C:\Users\dan\syncthing\KeePass Stat .stfolder {0xc00607c310} <nil>
[SUMLB] 2022/11/06 14:50:59.730347 logfs.go:163: DEBUG: folder.go:334 basic C:\Users\dan\AppData\Local\Syncthing\index-v0.14.0.db Usage . {111751684096 255465836544} <nil>
[SUMLB] 2022/11/06 14:50:59.733427 basicfs_watch.go:102: DEBUG: basic C:\Users\dan\syncthing\KeePass Watch: Sending test.sync-conflict-20221106-145032-SUMLBHF.txt non-remove
[SUMLB] 2022/11/06 14:50:59.733427 aggregator.go:296: DEBUG: aggregator/"KeePass" (xctzt-yzntk): Tracking (type non-remove): test.sync-conflict-20221106-145032-SUMLBHF.txt
[SUMLB] 2022/11/06 14:50:59.733427 aggregator.go:315: DEBUG: aggregator/"KeePass" (xctzt-yzntk): Resetting notifyTimer to 10s
[SUMLB] 2022/11/06 14:51:03.038358 aggregator.go:334: DEBUG: aggregator/"Utils" (t9vjd-pxrkf): No old fs events
[SUMLB] 2022/11/06 14:51:03.040424 aggregator.go:315: DEBUG: aggregator/"Utils" (t9vjd-pxrkf): Resetting notifyTimer to 10s
[SUMLB] 2022/11/06 14:51:09.739587 aggregator.go:347: DEBUG: aggregator/"KeePass" (xctzt-yzntk): Notifying about 1 fs events
[SUMLB] 2022/11/06 14:51:09.739587 aggregator.go:315: DEBUG: aggregator/"KeePass" (xctzt-yzntk): Resetting notifyTimer to 10s
[SUMLB] 2022/11/06 14:51:09.745699 logfs.go:115: DEBUG: folderconfiguration.go:116 basic C:\Users\dan\syncthing\KeePass Stat . {0xc0057a6000} <nil>
[SUMLB] 2022/11/06 14:51:09.753274 logfs.go:115: DEBUG: folderconfiguration.go:134 basic C:\Users\dan\syncthing\KeePass Stat .stfolder {0xc0057a60e0} <nil>
[SUMLB] 2022/11/06 14:51:09.755049 logfs.go:163: DEBUG: folder.go:334 basic C:\Users\dan\AppData\Local\Syncthing\index-v0.14.0.db Usage . {111751684096 255465836544} <nil>
[SUMLB] 2022/11/06 14:51:09.756293 walkfs.go:84: DEBUG: walk: path=test.sync-conflict-20221106-145032-SUMLBHF.txt
Here’s a /rest/debug/file call result for that file from the REST API:
{
"availability": [
"7777777-777777N-7777777-777777N-7777777-777777N-7777777-77777Q4",
"NT6BXBW-MI4PPSF-PYTRPVY-AI42HS5-BUZZJ25-SSNNQKG-4S7NAIM-6IW32QY",
"FLG7YGM-6HKLCUV-2R67KFK-HIZ73GD-YI3MJQS-N77HLZ3-47YFBBA-TMVW5AR",
"XVS74NW-4763GCD-5U7LOTY-RMZ5YWS-JEF2U7K-3T32PUL-PWSBQFR-NWEV5QN",
"6LZV6KC-X6MTGQA-WSI3WWX-TR4EER6-PJ6H6OZ-G6W6B7K-YVH5JRF-CW2WYQE"
],
"global": {
"deleted": false,
"ignored": false,
"inodeChange": "1969-12-31T19:00:00-05:00",
"invalid": false,
"localFlags": 0,
"modified": "2022-11-06T14:50:11.7424861-05:00",
"modifiedBy": "SUMLBHF",
"mustRescan": false,
"name": "test.txt",
"noPermissions": false,
"numBlocks": 1,
"permissions": "0644",
"platform": {
"unix": null,
"windows": null,
"linux": null,
"darwin": null,
"freebsd": null,
"netbsd": null
},
"sequence": 314,
"size": 112373,
"type": "FILE_INFO_TYPE_FILE",
"version": [
"SUMLBHF:1667764221"
]
},
"globalVersions": "{{Version:{[{SUMLBHF 1667764221}]}, Deleted:false, Devices:{7777777, NT6BXBW, FLG7YGM, XVS74NW, 6LZV6KC}, Invalid:{}}}",
"local": {
"deleted": false,
"ignored": false,
"inodeChange": "1969-12-31T19:00:00-05:00",
"invalid": false,
"localFlags": 0,
"modified": "2022-11-06T14:50:11.7424861-05:00",
"modifiedBy": "SUMLBHF",
"mustRescan": false,
"name": "test.txt",
"noPermissions": false,
"numBlocks": 1,
"permissions": "0644",
"platform": {
"unix": null,
"windows": null,
"linux": null,
"darwin": null,
"freebsd": null,
"netbsd": null
},
"sequence": 314,
"size": 112373,
"type": "FILE_INFO_TYPE_FILE",
"version": [
"SUMLBHF:1667764221"
]
},
"mtime": {
"err": null,
"value": {
"real": "0001-01-01T00:00:00Z",
"virtual": "0001-01-01T00:00:00Z"
}
}
}
Is there anything else I can provide to help troubleshoot?