# Deletions not synced

**URL:** https://forum.syncthing.net/t/deletions-not-synced/8602
**Category:** Support
**Created:** [November 15, 2016, 4:30pm UTC](https://forum.syncthing.net/t/deletions-not-synced/8602 "2016-11-15T16:30:22Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![muis](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/m/ba9def/32.png) [@muis](https://forum.syncthing.net/u/muis)
#### Post date: [November 15, 2016, 4:30pm UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/1 "2016-11-15T16:30:22Z")

</div>

I have the latest version of Syncthing running between a Linux machine and a Windows machine.

Every time when I add files/folders to the Linux machine, they get synced correctly to the Windows machine. So far so good.

But every time when I delete some files/folders on the Windows machine, they are not deleted on the Linux machine, and it stays ‘Out of sync’ on that side, until I manually remove them there too.

The first couple of times I thought it was a glitch, but the problem is fully reproducible and happens every time. Is this is a known bug? And if not, what can be the reason for this behaviour?

---

<div class="post-metadata">

### Author: ![canton7](https://forum.syncthing.net/user_avatar/forum.syncthing.net/canton7/32/9528_2.png) [@canton7](https://forum.syncthing.net/u/canton7)
#### Post date: [November 15, 2016, 5:01pm UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/2 "2016-11-15T17:01:34Z")

</div>

Have you enabled the ‘ignoreDeletes’ advanced option? Anything in the log?

---

<div class="post-metadata">

### Author: ![wweich](https://forum.syncthing.net/user_avatar/forum.syncthing.net/wweich/32/1063_2.png) [@wweich](https://forum.syncthing.net/u/wweich)
#### Post date: [November 15, 2016, 5:32pm UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/3 "2016-11-15T17:32:48Z")

</div>

If you add files/folders on the windows machine, are they synced to Linux? Did you perhaps the the folder as master on Linux.

Does the user running Syncthing have the permissions to delete files inside the synced folder?

---

<div class="post-metadata">

### Author: ![muis](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/m/ba9def/32.png) [@muis](https://forum.syncthing.net/u/muis)
#### Post date: [December 1, 2016, 2:49pm UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/4 "2016-12-01T14:49:36Z")

</div>

Okay, it turned out to be a permission problem, like suggested above.

The user running syncthing had only read permissions to the files, but no write-permissions, so that explains why the Linux box got out of sync every time.

However it would be nice if the Syncthing GUI displayed a warning when it doesn’t have the right permissions to sync, because it was not obvious from the GUI what the problem was.

---

<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: [December 1, 2016, 4:29pm UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/5 "2016-12-01T16:29:11Z")

</div>

It does show the error in failed items.

---

<div class="post-metadata">

### Author: ![jaithn](https://forum.syncthing.net/user_avatar/forum.syncthing.net/jaithn/32/3188_2.png) [@jaithn](https://forum.syncthing.net/u/jaithn)
#### Post date: [December 5, 2016, 10:53am UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/6 "2016-12-05T10:53:39Z")

</div>

Hey guys, I do have a problem with deletion as well, but a different one: my problem is, that files I delete don’t get deleted on the other notes, but i just get them back from. they are resynced from the other notes.

do you have an idea? can it maybe be releted to the fact, that the folder aren’t in sync yet?

thanks, jaithn

---

<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: [December 5, 2016, 11:07am UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/7 "2016-12-05T11:07:23Z")

</div>

Check the logs on both sides.

---

<div class="post-metadata">

### Author: ![jaithn](https://forum.syncthing.net/user_avatar/forum.syncthing.net/jaithn/32/3188_2.png) [@jaithn](https://forum.syncthing.net/u/jaithn)
#### Post date: [December 5, 2016, 11:25am UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/8 "2016-12-05T11:25:36Z")

</div>

i am sorry to ask, but how? thanks

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [December 5, 2016, 1:50pm UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/9 "2016-12-05T13:50:28Z")

</div>

If one of the devices is an Android one, that’s the usual cause. There is something with the media manager or so that resurrects deleted files.

---

<div class="post-metadata">

### Author: ![jaithn](https://forum.syncthing.net/user_avatar/forum.syncthing.net/jaithn/32/3188_2.png) [@jaithn](https://forum.syncthing.net/u/jaithn)
#### Post date: [December 5, 2016, 1:52pm UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/10 "2016-12-05T13:52:51Z")

</div>

its actually 3 synology nas systems

---

<div class="post-metadata">

### Author: ![jaithn](https://forum.syncthing.net/user_avatar/forum.syncthing.net/jaithn/32/3188_2.png) [@jaithn](https://forum.syncthing.net/u/jaithn)
#### Post date: [December 7, 2016, 9:49am UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/11 "2016-12-07T09:49:00Z")

</div>

How can I check the logs on synology?

---

<div class="post-metadata">

### Author: ![wweich](https://forum.syncthing.net/user_avatar/forum.syncthing.net/wweich/32/1063_2.png) [@wweich](https://forum.syncthing.net/u/wweich)
#### Post date: [December 7, 2016, 10:07am UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/12 "2016-12-07T10:07:02Z")

</div>

Syncthing logs to stdout. So either check the startup script, where it is redirected to or start Syncthing manually, so the log is inside the console.

---

<div class="post-metadata">

### Author: ![petef](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/p/9e8a1a/32.png) [@petef](https://forum.syncthing.net/u/petef)
#### Post date: [December 16, 2016, 12:45pm UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/13 "2016-12-16T12:45:36Z")

</div>

> [@jaithn](#):
>
> Hey guys, I do have a problem with deletion as well, but a different one: my problem is, that files I delete don’t get deleted on the other notes, but i just get them back from. they are resynced from the other notes.

Could this be the same issue as classified as a bug:

> <https://github.com/syncthing/syncthing-android/issues/771>
>
> I have found a growing number of zero length files appearing in ST folders resul…ting from unsuccessful file deletion propagation by ST.
> 
> After some testing I have found the following:
> When a picture file is deleted from an ST folder on device A, and this deletion is propagated to Android device B, Android device B initially deletes the file, then immediately recreates it with zero length. This zero length file is then propagated back to device A.
> 
> Basic testing suggests that the creation of these zero length files is probably dependant on the Android version. It was found to occur with Android 4.2.2, but tests with Android 4.3 & 5.0 have not duplicated this behaviour. Nor does it occur on Windows. However these devices are not immune, as the zero length files are propagated back to them.
> This results, over time, in a proliferation of zero length files, that cannot be deleted, over all devices involved in the ST share.
> 
> This behaviour is repeatable, and has been present in all versions of ST since I first became aware of the problem (several months).
> 
> (Note - all testing done using ST v0.8.4 / 0.14.6, as v0.8.6 is unstable on my Android devices)
> 
> Related forum discussion:
> https://forum.syncthing.net/t/deletions-not-propagated-successfully/8450

---

<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: [January 15, 2017, 12:54pm UTC](https://forum.syncthing.net/t/deletions-not-synced/8602/14 "2017-01-15T12:54:43Z")

</div>

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