How to remove "Out of Sync Items"

I have synced one folder between 3 Nodes lu <-> cox <-> polo. On all of them at the folder section everything seems fine. However, at cox the “remote device”-section of the gui I get 4 Out of Sync Items (only for server polo). I checked that they are removed at all devices. The message was shown only at one device. Any idea how to fix this without a complete new sync?

I checked curl -X GET -H "X-API-Key: ${API_KEY}" "http://localhost:8384/rest/db/file?folder=rkakh-xtq2t&file=a/b/c/xx" And found

  "global": {
    "deleted": true,
    "ignored": false,
    "invalid": false,
...
  "local": {
    "deleted": false,
    "ignored": false,
    "invalid": false,
    "localFlags": 0,

So the problem is the database. A rescan was without success probably, because the parent folders are deleted. And indeed curl -X GET -H "X-API-Key: ${API_KEY}" "http://localhost:8384/rest/db/file?folder=rkakh-xtq2t&file=a/b" And found

  "global": {
    "deleted": true,
    "ignored": false,
    "invalid": false,
...
  "local": {
    "deleted": true,
    "ignored": false,
    "invalid": false,
    "localFlags": 0,

So it look that the file isn’t accessible for the scanner any more :frowning:

Best regards Niels

After recreating each of the file and remove them after that. The db seems okay I only get one item shown,

"global": {
    "deleted": true,
    "ignored": false,
    "invalid": false,
    "localFlags": 0,
    "modified": "2021-11-28T21:34:48.536386628+01:00",
    "modifiedBy": "GMDGNVI",
    "mustRescan": false,
    "name": "a/b/c/d/xx",
    "noPermissions": true,
    "numBlocks": 0,
    "sequence": 13735,
    "size": 0,
    "type": "FILE_INFO_TYPE_FILE",
    "version": [
      "GMDGNVI:1638131688"
    ]
  },
  "local": {
    "deleted": true,
    "ignored": false,
    "invalid": false,
    "localFlags": 0,
    "modified": "2021-11-28T21:34:48.536386628+01:00",
    "modifiedBy": "GMDGNVI",
    "mustRescan": false,
    "name": "a/b/c/d/xx",
    "noPermissions": true,
    "numBlocks": 0,
    "sequence": 13735,
    "size": 0,
    "type": "FILE_INFO_TYPE_FILE",
    "version": [
      "GMDGNVI:1638131688"
    ]
  }

I tried to follow Deleted "Out of Sync Items" - Syncthing Stuck - #37 by imsodin and sync lu<->polo directly. This solves the problem.

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