# Deleted "Out of Sync Items" - Syncthing Stuck

**URL:** https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971
**Category:** Support
**Created:** [May 9, 2020, 11:51am UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971 "2020-05-09T11:51:33Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![wwwKris](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wwwKris](https://forum.syncthing.net/u/wwwKris)
#### Post date: [May 9, 2020, 11:51am UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/1 "2020-05-09T11:51:33Z")

</div>

Syncthing is stuck trying to synchronize a number of files that have been deleted.

I checked both devices and the files don’t exist on either one.

MEDIA-XPS: Says remote device W530 has 106 “Out of Sync Items.” All of the files are ones that have been deleted.

W530: Says everything is fine … all shares are listed as “Up to Date”

I searched the forums and tried a “-reset-deltas” on both sides but the problem is still present. The messages in the console don’t seem to indicate any errors.

Any suggestions on how I can get rid of the issue?

Happy to provide logs or additional information to help figure out what’s going on. If providing the logs would be helpful, should I strip out device ids or any other info before posting?

SyncTrayzor Version: 1.1.24 Syncthing Version: 1.5.0

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [May 9, 2020, 12:15pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/2 "2020-05-09T12:15:34Z")

</div>

Please provide some screenshots, as it’s not clear from your description what you are talking about.

---

<div class="post-metadata">

### Author: ![wwwKris](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wwwKris](https://forum.syncthing.net/u/wwwKris)
#### Post date: [May 9, 2020, 1:24pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/3 "2020-05-09T13:24:20Z")

</div>

Here you go.

MEDIA-XPS … W530 stuck at 95%.

 ![image](https://forum-uploads.syncthingcdn.net/original/2X/6/69784151dec46a661da3afd53e557768db21544c.png)

106 “Out of Sync Items” listed on MEDIA-XPS … all of these are files that were deleted.

 ![image](https://forum-uploads.syncthingcdn.net/original/2X/7/7cddaa88a53c5bba4506a6cf15e3a5f0a124ff16.png)

W530 … says everything is up to date.

 ![image](https://forum-uploads.syncthingcdn.net/original/2X/c/c985c0d58ab56ae210c7917b6e08fa901bcac950.png)

---

<div class="post-metadata">

### Author: ![imsodin](https://forum.syncthing.net/user_avatar/forum.syncthing.net/imsodin/32/3317_2.png) [@imsodin](https://forum.syncthing.net/u/imsodin)
#### Post date: [May 9, 2020, 1:30pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/4 "2020-05-09T13:30:19Z")

</div>

did you enable ignoreDeletes config option?

---

<div class="post-metadata">

### Author: ![wwwKris](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wwwKris](https://forum.syncthing.net/u/wwwKris)
#### Post date: [May 9, 2020, 1:47pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/5 "2020-05-09T13:47:22Z")

</div>

No. I went to Actions \> Advanced … Ignore Delete is unchecked on both devices.

---

<div class="post-metadata">

### Author: ![imsodin](https://forum.syncthing.net/user_avatar/forum.syncthing.net/imsodin/32/3317_2.png) [@imsodin](https://forum.syncthing.net/u/imsodin)
#### Post date: [May 9, 2020, 1:50pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/6 "2020-05-09T13:50:26Z")

</div>

Can you please expand the folders on both sides and make screenshots again (mainly interested in local/global states).

---

<div class="post-metadata">

### Author: ![wwwKris](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wwwKris](https://forum.syncthing.net/u/wwwKris)
#### Post date: [May 9, 2020, 1:52pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/7 "2020-05-09T13:52:51Z")

</div>

MEDIA-XPS

![image](https://forum-uploads.syncthingcdn.net/original/2X/5/5cd62c5f8e186c4cd99f1da284f61d0c3d24cb9a.png)

W530

![image](https://forum-uploads.syncthingcdn.net/original/2X/4/467218a87c57de5f63304528018653430bdc6d5c.png)

---

<div class="post-metadata">

### Author: ![imsodin](https://forum.syncthing.net/user_avatar/forum.syncthing.net/imsodin/32/3317_2.png) [@imsodin](https://forum.syncthing.net/u/imsodin)
#### Post date: [May 9, 2020, 1:58pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/8 "2020-05-09T13:58:05Z")

</div>

I assume you already checked that the files listed as out of sync are deleted on both sides, otherwise do that first. Then could you please post the output of [https://docs.syncthing.net/rest/db-file-get.html](https://docs.syncthing.net/rest/db-file-get.html) for one of these files on both devices (here are infos how to do that: [[How To] call the REST API from Windows PowerShell](https://forum.syncthing.net/t/how-to-call-the-rest-api-from-windows-powershell/11269)).

---

<div class="post-metadata">

### Author: ![wwwKris](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wwwKris](https://forum.syncthing.net/u/wwwKris)
#### Post date: [May 9, 2020, 2:30pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/9 "2020-05-09T14:30:58Z")

</div>

Yes, the out of sync files are deleted on both sides - reconfirmed just now.

I’m trying to execute the command but am getting an error. $Headers gave me output showing me my API key so I assume I did everything up to that part correctly but db-file-get.html is failing.

The command I’m issuing is:

`Invoke-RestMethod -Uri "http://localhost:8384/rest/db/file?folder=Portable Apps&file=PortableApps Platform\PortableApps\GoogleChromePortable\App\Chrome-bin\80.0.3987.87\80.0.3987.87.manifest" -Headers $Headers -Method Get -Outfile response.xml`

The error it’s giving is:

 ![image](https://forum-uploads.syncthingcdn.net/original/2X/b/b2f9ccdc4751b74a48f8d26b545bf0f010a04d89.png)

The folder name is: Portable Apps

The file name is:

PortableApps Platform\PortableApps\GoogleChromePortable\App\Chrome-bin\80.0.3987.87\80.0.3987.87.manifest

---

<div class="post-metadata">

### Author: ![imsodin](https://forum.syncthing.net/user_avatar/forum.syncthing.net/imsodin/32/3317_2.png) [@imsodin](https://forum.syncthing.net/u/imsodin)
#### Post date: [May 9, 2020, 3:47pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/10 "2020-05-09T15:47:38Z")

</div>

You need to give it the folder ID, a string starting with `zxg` in your case. And if it still throws errors try using forward slashs as path separators.

---

<div class="post-metadata">

### Author: ![wwwKris](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wwwKris](https://forum.syncthing.net/u/wwwKris)
#### Post date: [May 9, 2020, 3:56pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/11 "2020-05-09T15:56:31Z")

</div>

Ok. I’ll give that a try. Could I also do a -reset-database on MEDIA-XPS to cause it to rebuild the database and resync all the files?

That seems like the nuclear option but thought I would ask.

---

<div class="post-metadata">

### Author: ![imsodin](https://forum.syncthing.net/user_avatar/forum.syncthing.net/imsodin/32/3317_2.png) [@imsodin](https://forum.syncthing.net/u/imsodin)
#### Post date: [May 9, 2020, 4:22pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/12 "2020-05-09T16:22:06Z")

</div>

Don’t for now please. That’s both a very extreme measure which will take a long time and might cause problems on its own, and it will delete any clues as to why this happened. The issue is most likely just cosmetic, sync still works. And there might be other ways to get it working again.

---

<div class="post-metadata">

### Author: ![wwwKris](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wwwKris](https://forum.syncthing.net/u/wwwKris)
#### Post date: [May 9, 2020, 4:23pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/13 "2020-05-09T16:23:09Z")

</div>

Ok, no problem. Tried with the ID and forward slashes … still getting an error.

Command is: `Invoke-RestMethod -Uri "http://localhost:8384/rest/db/file?folder=zxg2x-f3imp&file=PortableApps Platform/PortableApps/GoogleChromePortable/App/Chrome-bin/80.0.3987.87/80.0.3987.87.manifest" -Headers $Headers -Method Get -Outfile response.xml`

Error is:

 ![image](https://forum-uploads.syncthingcdn.net/original/2X/b/bba03e7e3806056006ba7fc3e2da82b42a67cd94.png)

---

<div class="post-metadata">

### Author: ![wwwKris](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wwwKris](https://forum.syncthing.net/u/wwwKris)
#### Post date: [May 9, 2020, 4:24pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/14 "2020-05-09T16:24:20Z")

</div>

Note that there is a space in the path. Could that be the problem?

---

<div class="post-metadata">

### Author: ![imsodin](https://forum.syncthing.net/user_avatar/forum.syncthing.net/imsodin/32/3317_2.png) [@imsodin](https://forum.syncthing.net/u/imsodin)
#### Post date: [May 9, 2020, 4:27pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/15 "2020-05-09T16:27:59Z")

</div>

On linux the quotes would take care of that, no clue about how windows handles it. Do you have https enabled?

---

<div class="post-metadata">

### Author: ![wwwKris](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wwwKris](https://forum.syncthing.net/u/wwwKris)
#### Post date: [May 9, 2020, 4:40pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/16 "2020-05-09T16:40:14Z")

</div>

Ok, made a little progress. I’m still not sure it’s getting the output you want to see though.

Command is now:

`Invoke-RestMethod -Uri "https://docs.syncthing.net/rest/db-file-get.html?folder=zxg2x-f3imp&file=PortableApps Platform/PortableApps/GoogleChromePortable/App/Chrome-bin/80.0.3987.87/80.0.3987.87.manifest" -Headers $Headers -Method Get -Outfile response.xml`

Resulting response.xml attached. [response.xml](https://forum.syncthing.net/uploads/short-url/80bRXEkrYnQHi0JE1Wm25NGF9LA.xml) (10.5 KB)

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [May 9, 2020, 4:50pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/17 "2020-05-09T16:50:51Z")

</div>

You are invoking the method against the documentation server, not your local syncthing instance.

---

<div class="post-metadata">

### Author: ![wwwKris](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wwwKris](https://forum.syncthing.net/u/wwwKris)
#### Post date: [May 9, 2020, 5:07pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/18 "2020-05-09T17:07:44Z")

</div>

Ok, that was a silly mistake. 🙂 Not sure what to do at this point. Happy to keep trying things though.

This command:

`Invoke-RestMethod -Uri "http://localhost:8384/rest/db/file?folder=zxg2x-f3imp&file=PortableApps Platform/PortableApps/GoogleChromePortable/App/Chrome-bin/80.0.3987.87/80.0.3987.87.manifest" -Headers $Headers -Method Get -Outfile response.xml`

Produces the following error:

 ![image](https://forum-uploads.syncthingcdn.net/original/2X/4/417d4e54346f2136979785f58369f9de367acce4.png)

---

<div class="post-metadata">

### Author: ![imsodin](https://forum.syncthing.net/user_avatar/forum.syncthing.net/imsodin/32/3317_2.png) [@imsodin](https://forum.syncthing.net/u/imsodin)
#### Post date: [May 9, 2020, 5:35pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/19 "2020-05-09T17:35:36Z")

</div>

Again:

> [@imsodin](#):
>
> Do you have https enabled?

Then it would be `https://localhost...`

---

<div class="post-metadata">

### Author: ![wwwKris](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wwwKris](https://forum.syncthing.net/u/wwwKris)
#### Post date: [May 9, 2020, 5:42pm UTC](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971/20 "2020-05-09T17:42:20Z")

</div>

No, “Use HTTPS for GUI” is unchecked in Actions \> Settings \> GUI.

[Next page](https://forum.syncthing.net/t/deleted-out-of-sync-items-syncthing-stuck/14971.md?page=2)
