# How to remove "Out of Sync Items"

**URL:** https://forum.syncthing.net/t/how-to-remove-out-of-sync-items/17659
**Category:** Support
**Created:** [November 28, 2021, 8:05pm UTC](https://forum.syncthing.net/t/how-to-remove-out-of-sync-items/17659 "2021-11-28T20:05:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![opensource21](https://forum.syncthing.net/user_avatar/forum.syncthing.net/opensource21/32/9958_2.png) [@opensource21](https://forum.syncthing.net/u/opensource21)
#### Post date: [November 28, 2021, 8:05pm UTC](https://forum.syncthing.net/t/how-to-remove-out-of-sync-items/17659/1 "2021-11-28T20:05:20Z")

</div>

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?

 ![grafik](https://forum-uploads.syncthingcdn.net/original/2X/8/810053c0d0961facba305b186d8ce8307dc128ac.png)

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

```plaintext
  "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

```plaintext
  "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 ☹

Best regards Niels

---

<div class="post-metadata">

### Author: ![opensource21](https://forum.syncthing.net/user_avatar/forum.syncthing.net/opensource21/32/9958_2.png) [@opensource21](https://forum.syncthing.net/u/opensource21)
#### Post date: [November 28, 2021, 8:41pm UTC](https://forum.syncthing.net/t/how-to-remove-out-of-sync-items/17659/2 "2021-11-28T20:41:53Z")

</div>

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

```plaintext
"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"
    ]
  }

```

 ![grafik](https://forum-uploads.syncthingcdn.net/original/2X/3/3b0afb6dd0015bbb0b1c7c7230df0ab4e3c5a041.png)

---

<div class="post-metadata">

### Author: ![opensource21](https://forum.syncthing.net/user_avatar/forum.syncthing.net/opensource21/32/9958_2.png) [@opensource21](https://forum.syncthing.net/u/opensource21)
#### Post date: [November 30, 2021, 8:40am UTC](https://forum.syncthing.net/t/how-to-remove-out-of-sync-items/17659/3 "2021-11-30T08:40:31Z")

</div>

I tried to follow [Deleted "Out of Sync Items" - Syncthing Stuck - #37 by imsodin](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/37) and sync lu\<-\>polo directly. This solves the problem.

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [December 30, 2021, 8:40am UTC](https://forum.syncthing.net/t/how-to-remove-out-of-sync-items/17659/4 "2021-12-30T08:40:42Z")

</div>

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