Dear all,
I am running syncthing on my Kobo Elipsa with KoReader, and find that, after a shutdown of device, there are a lot of “revert local changes”. After some search, I tried to modify modTimeWindowS
to be 2, but the issue persists.
Here is an example (I have tried to clear some sensitive IDs) of
the output of `syncthing cli debug file`
{
"availability": [
"AAAAAAA-*",
"BBBBBBB-*",
"CCCCCCC-*",
"DDDDDDD-*",
"EEEEEEE-*"
],
"global": {
"deleted": false,
"ignored": false,
"inodeChange": "1970-01-01T01:00:00+01:00",
"invalid": false,
"localFlags": 0,
"modified": "2020-07-05T14:22:42+02:00",
"modifiedBy": "AAAAAAA",
"mustRescan": false,
"name": "valuations.tm",
"noPermissions": false,
"numBlocks": 1,
"permissions": "0644",
"platform": {
"darwin": null,
"freebsd": null,
"linux": null,
"netbsd": null,
"unix": null,
"windows": null
},
"sequence": 34285,
"size": 11303,
"type": "FILE_INFO_TYPE_FILE",
"version": [
"ZZZZZZZ:1658028806",
"EHEAUO7:2",
"JRZLOMD:1",
"LPNSX6U:1",
"AAAAAAA:1658037267"
]
},
"globalVersions": "{{Version:{[{ZZZZZZZ 1674668862} {EHEAUO7 2} {JRZLOMD 1} {LPNSX6U 1} {AAAAAAA 1658037267}]}, Deleted:false, Devices:{}, Invalid:{7777777}}, {Version:{[{ZZZZZZZ 1658028806} {EHEAUO7 2} {JRZLOMD 1} {LPNSX6U 1} {AAAAAAA 1658037267}]}, Deleted:false, Devices:{AAAAAAA, BBBBBBB, CCCCCCC, DDDDDDD, EEEEEEE}, Invalid:{}}}",
"local": {
"deleted": false,
"ignored": false,
"inodeChange": "2023-01-20T07:25:19+01:00",
"invalid": true,
"localFlags": 8,
"modified": "2020-07-05T13:22:42+02:00",
"modifiedBy": "ZZZZZZZ",
"mustRescan": false,
"name": "valuations.tm",
"noPermissions": true,
"numBlocks": 1,
"platform": {
"darwin": null,
"freebsd": null,
"linux": null,
"netbsd": null,
"unix": null,
"windows": null
},
"sequence": 91818,
"size": 11303,
"type": "FILE_INFO_TYPE_FILE",
"version": [
"ZZZZZZZ:1674668862",
"EHEAUO7:2",
"JRZLOMD:1",
"LPNSX6U:1",
"AAAAAAA:1658037267"
]
},
"mtime": {
"err": null,
"value": {
"real": "0001-01-01T00:00:00Z",
"virtual": "0001-01-01T00:00:00Z"
}
}
}
The output of syncthing --version
:
syncthing v1.23.0 "Fermium Flea" (go1.19.4 linux-arm) teamcity@build.syncthing.net 2023-01-02 03:45:30 UTC
I wonder how to resolve this issue? It looks like that the only difference is the inodeChange
, but I have already opted for “ignore permissions”. Thanks.