# Ignored files listed as "out of sync"

**URL:** https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991
**Category:** Development
**Created:** [June 9, 2015, 3:28pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991 "2015-06-09T15:28:49Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 9, 2015, 3:28pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/1 "2015-06-09T15:28:49Z")

</div>

hi guys…

why are the “ignore patterns” files listed and counted as “out of sync”? They are not out of sync according to the settings I made. So everything is fine for me - but not for syncthing 😳a bit confusing

shouldn’t they not be listed as “files not synced because of patterns” instead of “out of sync”?

config: Master & slave

greetings

Eddy

---

<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: [June 10, 2015, 10:50am UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/2 "2015-06-10T10:50:32Z")

</div>

I was pretty sure we did that, but then there is [https://github.com/syncthing/syncthing/issues/1538](https://github.com/syncthing/syncthing/issues/1538) so I’m not sure…

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 10, 2015, 11:33am UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/3 "2015-06-10T11:33:21Z")

</div>

ok-thanks..

Does this have anything to do with the “Folder “mp3s” isn’t making progress - check logs for possible root cause. Pausing puller for 1m0s.” Messages I get?

On the device with some new files I get: `2015-06-10 13:34:26: Folder "mp3s" isn't making progress - check logs for possible root cause. Pausing puller for 1m0s.`

```
[A7EWF] 13:35:27 INFO: Puller: final: GetFileAttributesEx \\?\E:\Zeug\mp3z\#audiograbberOUTPUT: Das System kann die angegebene Datei nicht finden.
[A7EWF] 13:35:27 INFO: Puller (folder "mp3s", file "#audiograbberOUTPUT\\Matador - V-1.mp3"): dst stat dir: GetFileAttributesEx \\?\E:\Zeug\mp3z\#audiograbberOUTPUT: Das System kann die angegebene Datei nicht finden.

```

 ![](https://forum-uploads.syncthingcdn.net/original/2X/e/e23d79872bc3ceb5d1a0cec5bb0e72fe3b08315a.JPG) 

on the other device: `2015-06-10 13:30:44: Folder "mp3s" isn't making progress - check logs for possible root cause. Pausing puller for 1m0s.`

```
[A7EWF] 13:35:27 INFO: Puller: final: GetFileAttributesEx \\?\E:\Zeug\mp3z\#audiograbberOUTPUT: Das System kann die angegebene Datei nicht finden.
[A7EWF] 13:35:27 INFO: Puller (folder "mp3s", file "#audiograbberOUTPUT\\Matador - V-1.mp3"): dst stat dir: GetFileAttributesEx \\?\E:\Zeug\mp3z\#audiograbberOUTPUT: Das System kann die angegebene Datei nicht finden.

```

 ![](https://forum-uploads.syncthingcdn.net/original/2X/d/d17dad59125821f1d10c31b44ad4716f37fab75f.PNG)

---

<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: [June 10, 2015, 11:40am UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/4 "2015-06-10T11:40:57Z")

</div>

Those log lines are from the same device?

Anyway yes, ignored files are listed among out of sync apparently, so that should be filtered away. Is the file you mention in the log output supposed to be ignored? Does `E:\Zeug\mp3z` exist? Is _that_ supposed to be ignored?

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 10, 2015, 11:43am UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/5 "2015-06-10T11:43:13Z")

</div>

the folder `E:\Zeug\mp3z` is the syncfolder, which has some folders in it to be ignored e.g. `E:\Zeug\mp3z\#audiograbberOUTPUT` etc.

and yes: it’s one of the devices…

---

<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: [June 10, 2015, 12:05pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/6 "2015-06-10T12:05:35Z")

</div>

Ignore patterns are relative to the folder root, not to the disk root If your folder starts at `C:\a\b` and you want to ignore `C:\a\b\c`, the pattern should be `c\` and not `C:\a\b\c`

---

<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: [June 10, 2015, 12:08pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/7 "2015-06-10T12:08:32Z")

</div>

Looks like there may be a bug with the pattern matching, as it looks like it’s trying to pull a file into a ignored directory… What is the output of `http://localhost:8384/rest/db/ignores?folder=mp3s` ?

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 10, 2015, 12:09pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/8 "2015-06-10T12:09:29Z")

</div>

![](https://forum-uploads.syncthingcdn.net/original/2X/5/5c22b73d56eb9f8bdbfb05d343db517580e40be7.JPG)

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 10, 2015, 12:10pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/9 "2015-06-10T12:10:56Z")

</div>

> [@calmh](#):
>
> [http://localhost:8384/rest/db/ignores?folder=mp3s](http://localhost:8384/rest/db/ignores?folder=mp3s)

output of `https://127.0.0.1:8080/rest/db/ignores?folder=mp3s`?

this:

```
{"ignore":["\\#TraktorCollection","\\#TraktorRecordings","\\#audiograbberOUTPUT","backup"],"patterns":["(?i)^\\\\#TraktorCollection$","(?i)^.*\\\\\\\\#TraktorCollection$","(?i)^\\\\#TraktorCollection\\\\.*$","(?i)^.*\\\\\\\\#TraktorCollection\\\\.*$","(?i)^\\\\#TraktorRecordings$","(?i)^.*\\\\\\\\#TraktorRecordings$","(?i)^\\\\#TraktorRecordings\\\\.*$","(?i)^.*\\\\\\\\#TraktorRecordings\\\\.*$","(?i)^\\\\#audiograbberOUTPUT$","(?i)^.*\\\\\\\\#audiograbberOUTPUT$","(?i)^\\\\#audiograbberOUTPUT\\\\.*$","(?i)^.*\\\\\\\\#audiograbberOUTPUT\\\\.*$","(?i)^backup$","(?i)^.*\\\\backup$","(?i)^backup\\\\.*$","(?i)^.*\\\\backup\\\\.*$"]}

```

---

<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: [June 10, 2015, 12:12pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/10 "2015-06-10T12:12:51Z")

</div>

That’s a bug, there’s way too many backslashes in the expanded patterns. Try dropping the initial \ on those patterns, or possibly using / instead if it’s essential that they only match at the folder root. Restart syncthing.

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 10, 2015, 12:36pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/11 "2015-06-10T12:36:27Z")

</div>

with a normal slash (/) slash, syncthing ignored my ignore patterns and synced the ignored folders 😄

without any slash it synced, but I don’t know what 😳

 ![](https://forum-uploads.syncthingcdn.net/original/2X/d/d5de1c765cb89b37768c79d45c9e8bdfdd669640.JPG)

the first time I added the ignore patterns, syncthing didn’t really love my # in the folder name 😥

---

<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: [June 10, 2015, 1:31pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/12 "2015-06-10T13:31:45Z")

</div>

Yeah… I’m slowly running out of old crap branches to take care of, so I can help finish and test the “Selective sync” stuff @AudriusButkevicius built. The ignore stuff is way overdue for an overhaul.

---

<div class="post-metadata">

### Author: ![Eddy2909](https://forum.syncthing.net/user_avatar/forum.syncthing.net/eddy2909/32/2011_2.png) [@Eddy2909](https://forum.syncthing.net/u/Eddy2909)
#### Post date: [June 10, 2015, 1:33pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/13 "2015-06-10T13:33:56Z")

</div>

nice! 😄

---

<div class="post-metadata">

### Author: ![Zillode](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/z/c67d28/32.png) [@Zillode](https://forum.syncthing.net/u/Zillode)
#### Post date: [June 10, 2015, 6:07pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/14 "2015-06-10T18:07:47Z")

</div>

> [@calmh](#):
>
> I was pretty sure we did that, but then there is [feature: hide ignored files from list of unsynced files · Issue #1538 · syncthing/syncthing · GitHub](https://github.com/syncthing/syncthing/issues/1538)

I think I triggered this by ignoring files after they have been indexed. I’ll investigate this next week.

---

<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: [June 10, 2015, 6:30pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/15 "2015-06-10T18:30:47Z")

</div>

I tried it earlier and a file from another device that ought to be ignored showed up in the out of sync list. The folder was still listed as up to date and 100% though.

---

<div class="post-metadata">

### Author: ![hungarianhc](https://forum.syncthing.net/user_avatar/forum.syncthing.net/hungarianhc/32/1353_2.png) [@hungarianhc](https://forum.syncthing.net/u/hungarianhc)
#### Post date: [November 13, 2015, 11:28pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/16 "2015-11-13T23:28:25Z")

</div>

Hi All,

I know this is an older post, but I’m still getting the same issue on 0.12.2. Specifically, I’m ignoring the .DS\_Store files, but they’re all still showing up as out of sync. Any way to fix this? Thanks!

---

<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 13, 2015, 11:32pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/17 "2015-11-13T23:32:38Z")

</div>

If you ignore that files on all devices or at least on the device where they are generated, they will not be put into the global index and all will be in sync.

---

<div class="post-metadata">

### Author: ![hungarianhc](https://forum.syncthing.net/user_avatar/forum.syncthing.net/hungarianhc/32/1353_2.png) [@hungarianhc](https://forum.syncthing.net/u/hungarianhc)
#### Post date: [November 13, 2015, 11:33pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/18 "2015-11-13T23:33:29Z")

</div>

The ignore patterns are on both devices, and the files are still showing as not in sync.

---

<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: [November 13, 2015, 11:40pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/19 "2015-11-13T23:40:48Z")

</div>

You have to restart both sides simultaniously for them to forget the files. Also, make sure the pattern is correct.

---

<div class="post-metadata">

### Author: ![Jarno](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/67e7ee/32.png) [@Jarno](https://forum.syncthing.net/u/Jarno)
#### Post date: [July 9, 2019, 5:13pm UTC](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991/20 "2019-07-09T17:13:16Z")

</div>

This bug exists still with v1.2.0 (win, Unbuntu). The “fix” mentioned in the thread (simultaneous restart) does not work for me.

[Next page](https://forum.syncthing.net/t/ignored-files-listed-as-out-of-sync/2991.md?page=2)
