[SOLVED] Local Additions keep coming back even after a database reset

Recently I’ve had this problem with two folders where some of the files keep getting marked as Local Additions after rescans even though they haven’t been touched or modified on that device (or actually anywhere else).

This is what it looks in the GUI:

They do go away temporarily after using the Revert Local Changes button, however the next day they are back again, and it’s always the same files and folders. Many of them are quite old and haven’t actually been modified for years.

This is what the API says about one of the files.

  • Device with Local Additions:
{
  "availability": [
    "UDPWEVD"
  ],
  "global": {
    "blocksHash": "tX+yLszJaWaNroJ2hEt6B49xVmLpGb4GRl7JguueNOQ=",
    "deleted": false,
    "ignored": false,
    "inodeChange": "1970-01-01T01:00:00+01:00",
    "invalid": false,
    "localFlags": 0,
    "modified": "2022-01-26T01:28:44.292763+01:00",
    "modifiedBy": "D4DZUGP",
    "mustRescan": false,
    "name": "xxx",
    "noPermissions": true,
    "numBlocks": 6,
    "platform": {
      "unix": null,
      "windows": null,
      "linux": null,
      "darwin": null,
      "freebsd": null,
      "netbsd": null
    },
    "sequence": 36644,
    "size": 751537,
    "type": "FILE_INFO_TYPE_FILE",
    "version": [
      "D4DZUGP:1692197631"
    ]
  },
  "globalVersions": "{{Version:{[{D4DZUGP 1692197631} {X6IJ7YL 1692793205}]}, Deleted:false, Devices:{}, Invalid:{7777777}}, {Version:{[{D4DZUGP 1692197631}]}, Deleted:false, Devices:{UDPWEVD}, Invalid:{}}}",
  "local": {
    "blocksHash": "tX+yLszJaWaNroJ2hEt6B49xVmLpGb4GRl7JguueNOQ=",
    "deleted": false,
    "ignored": false,
    "inodeChange": "1970-01-01T01:00:00+01:00",
    "invalid": true,
    "localFlags": 8,
    "modified": "2022-01-26T01:28:44.292763+01:00",
    "modifiedBy": "X6IJ7YL",
    "mustRescan": false,
    "name": "xxx",
    "noPermissions": true,
    "numBlocks": 6,
    "platform": {
      "unix": null,
      "windows": {
        "ownerName": "User",
        "ownerIsGroup": false
      },
      "linux": null,
      "darwin": null,
      "freebsd": null,
      "netbsd": null
    },
    "sequence": 44611,
    "size": 751537,
    "type": "FILE_INFO_TYPE_FILE",
    "version": [
      "D4DZUGP:1692197631",
      "X6IJ7YL:1692793205"
    ]
  },
  "mtime": {
    "err": null,
    "value": {
      "real": "0001-01-01T00:00:00Z",
      "virtual": "0001-01-01T00:00:00Z"
    }
  }
}
  • Another device:
{
  "availability": [
    "7777777-777777N-7777777-777777N-7777777-777777N-7777777-77777Q4",
    "CPH5XCN",
    "TLFGVKC",
    "UDPWEVD"
  ],
  "global": {
    "blocksHash": "tX+yLszJaWaNroJ2hEt6B49xVmLpGb4GRl7JguueNOQ=",
    "deleted": false,
    "ignored": false,
    "inodeChange": "1970-01-01T01:00:00+01:00",
    "invalid": false,
    "localFlags": 0,
    "modified": "2022-01-26T01:28:44.292763+01:00",
    "modifiedBy": "D4DZUGP",
    "mustRescan": false,
    "name": "xxx",
    "noPermissions": true,
    "numBlocks": 6,
    "platform": {
      "unix": null,
      "windows": null,
      "linux": null,
      "darwin": null,
      "freebsd": null,
      "netbsd": null
    },
    "sequence": 21,
    "size": 751537,
    "type": "FILE_INFO_TYPE_FILE",
    "version": [
      "D4DZUGP:1692197631"
    ]
  },
  "globalVersions": "{{Version:{[{D4DZUGP 1692197631}]}, Deleted:false, Devices:{7777777, CPH5XCN, TLFGVKC, UDPWEVD}, Invalid:{}}}",
  "local": {
    "blocksHash": "tX+yLszJaWaNroJ2hEt6B49xVmLpGb4GRl7JguueNOQ=",
    "deleted": false,
    "ignored": false,
    "inodeChange": "1970-01-01T01:00:00+01:00",
    "invalid": false,
    "localFlags": 0,
    "modified": "2022-01-26T01:28:44.292763+01:00",
    "modifiedBy": "D4DZUGP",
    "mustRescan": false,
    "name": "xxx",
    "noPermissions": true,
    "numBlocks": 6,
    "platform": {
      "unix": null,
      "windows": null,
      "linux": null,
      "darwin": null,
      "freebsd": null,
      "netbsd": null
    },
    "sequence": 21,
    "size": 751537,
    "type": "FILE_INFO_TYPE_FILE",
    "version": [
      "D4DZUGP:1692197631"
    ]
  },
  "mtime": {
    "err": null,
    "value": {
      "real": "0001-01-01T00:00:00Z",
      "virtual": "0001-01-01T00:00:00Z"
    }
  }
}
  • Differences between the two:

I can see that there is owner information in the first one which isn’t present in the second one. However, syncing ownership is disabled.

image

Both systems run Syncthing v1.23.7 under Windows 10.

Has anyone got any idea what can possibly be going on here?

Sure looks like X6IJ7YL is using “send ownership” for some reason.

Thanks! That was it. The strange thing is that the GUI didn’t show the option ticked, however I went into the Advanced Configuration and it was enabled there, and then once I refreshed the GUI and checked the Advanced folder tab again, it was enabled there too. I must have misclicked or something ending up ticking it there by mistake as I surely didn’t do it on purpose. Only these two folders had the option enabled.

Everything is back to normal after disabling it :slightly_smiling_face:.

1 Like

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