# SyncThing doesn't detect\\sync all files

**URL:** https://forum.syncthing.net/t/syncthing-doesnt-detect-sync-all-files/15099
**Category:** Support
**Created:** [May 31, 2020, 9:12pm UTC](https://forum.syncthing.net/t/syncthing-doesnt-detect-sync-all-files/15099 "2020-05-31T21:12:49Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![JuanC](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@JuanC](https://forum.syncthing.net/u/JuanC)
#### Post date: [May 31, 2020, 9:12pm UTC](https://forum.syncthing.net/t/syncthing-doesnt-detect-sync-all-files/15099/1 "2020-05-31T21:12:49Z")

</div>

Trying to sync a FREENAS dataset with a Windows 10 workstation for backup purposes. The total amount of files on the FREENAS SMB share is 262,132. However, there are differences between the FREENAS and the Windows 10 workstations that I can’t seem to resolve. The following was taken when browsing to the FREENAS share, selecting all of the folders\files, right clicking on the selected folders and selecting properties. It shows the correct number of files that are supposed to be syncing. I am new to SyncThing so I am not reall sure where to go from here. Any help would be greatly appreciated.

 ![prop](https://forum-uploads.syncthingcdn.net/original/2X/a/ab54420159591f13716771aad5022de23a793f3f.png)

Screenshot of SyncThing, white GUI theme, running in a FreeNAS jail that points to the dataset I am trying to sync with the Windows 10 workstation. The number of folders and file count is off.

 ![freenas](https://forum-uploads.syncthingcdn.net/original/2X/5/53fcd1438d21ccefd586036503923f2f5e108bae.png)

SyncThing running on the Windows 10 workstation; dark theme.

 ![wks](https://forum-uploads.syncthingcdn.net/original/2X/1/10978f3f199135396eb5e4291c414b35b1ee3472.png)

When I use something like FreeFileSync to compare the FREENAS with the Windows 10 PC that I am trying to use SyncThing with it shows the 859 file differences.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [June 1, 2020, 6:26am UTC](https://forum.syncthing.net/t/syncthing-doesnt-detect-sync-all-files/15099/2 "2020-06-01T06:26:13Z")

</div>

First of all I would recommend an update of the FreeNAS installation to the current version and watch how the result looks.

---

<div class="post-metadata">

### Author: ![JuanC](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@JuanC](https://forum.syncthing.net/u/JuanC)
#### Post date: [June 1, 2020, 12:41pm UTC](https://forum.syncthing.net/t/syncthing-doesnt-detect-sync-all-files/15099/3 "2020-06-01T12:41:09Z")

</div>

Andy, thanks for the reply. I already had\have FreeNAS on the latest release. I am not using the FreeNAS plugin for Syncthing either. I created a jail and manually installed ST. It was on ST version 1.4 and last night i upgraded it to 1.5. After the upgrade the Global State shows the correct number of files, but the Local state shows more files than the Global State. After the upgrade it some additional files sync’d, but it still shows that there is a difference of 727 files.

 ![latest](https://forum-uploads.syncthingcdn.net/original/2X/f/f434d1e7ecfa827aca924e530a33eb7a2c08d4e9.png)

---

<div class="post-metadata">

### Author: ![uok](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/u/e99b99/32.png) [@uok](https://forum.syncthing.net/u/uok)
#### Post date: [June 1, 2020, 12:53pm UTC](https://forum.syncthing.net/t/syncthing-doesnt-detect-sync-all-files/15099/4 "2020-06-01T12:53:43Z")

</div>

you can click on “out of sync items” for more info

---

<div class="post-metadata">

### Author: ![JuanC](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@JuanC](https://forum.syncthing.net/u/JuanC)
#### Post date: [June 1, 2020, 1:12pm UTC](https://forum.syncthing.net/t/syncthing-doesnt-detect-sync-all-files/15099/5 "2020-06-01T13:12:15Z")

</div>

yes, but unfortunately it doesn’t give me much info other than what files are out of sync.

 ![Outofsynclist](https://forum-uploads.syncthingcdn.net/original/2X/a/ae2e02956540d5b34c5b0d7eefc71c56f36d7979.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: [June 1, 2020, 4:21pm UTC](https://forum.syncthing.net/t/syncthing-doesnt-detect-sync-all-files/15099/6 "2020-06-01T16:21:11Z")

</div>

It’s super weird there’s evidently information on the correct state (remote out of sync number matches what actually differs on disk), but the local/global states and folder states are wrong.

Could you query [https://docs.syncthing.net/rest/db-file-get.html](https://docs.syncthing.net/rest/db-file-get.html) for one of the missing files please on both sides? Curl instructions: [https://docs.syncthing.net/dev/rest.html#api-key](https://docs.syncthing.net/dev/rest.html#api-key) Powershell: [[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: ![JuanC](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@JuanC](https://forum.syncthing.net/u/JuanC)
#### Post date: [June 2, 2020, 1:00pm UTC](https://forum.syncthing.net/t/syncthing-doesnt-detect-sync-all-files/15099/8 "2020-06-02T13:00:07Z")

</div>

Here are the results. Blurred out the paths and partial file names since this is all client related info that I don’t want out on the net.

 ![OOSI](https://forum-uploads.syncthingcdn.net/original/2X/f/fa955a51b75047a79f90d3b6e6a82875ed010e1a.png)

Syncthing - FreeNAS output

 ![FNAS](https://forum-uploads.syncthingcdn.net/original/2X/1/173398330ec7af21511ce222668ebef24880579c.png)

Syncthing - Windows Output

 ![Win10](https://forum-uploads.syncthingcdn.net/original/2X/7/75eaa2a5659c8ee55a3a4673f2996d60d87a60ea.png)

---

<div class="post-metadata">

### Author: ![JuanC](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@JuanC](https://forum.syncthing.net/u/JuanC)
#### Post date: [June 2, 2020, 1:53pm UTC](https://forum.syncthing.net/t/syncthing-doesnt-detect-sync-all-files/15099/9 "2020-06-02T13:53:37Z")

</div>

Looks like ST upgrade was performed overnight. Issue seems to be resolved after being upgraded to 1.61

Win 10

 ![Win10](https://forum-uploads.syncthingcdn.net/original/2X/2/2ce6b88fa3b5860575a7f3804ae15f4defc0e08f.png)

FreeNAS

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

---

<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: [July 2, 2020, 1:53pm UTC](https://forum.syncthing.net/t/syncthing-doesnt-detect-sync-all-files/15099/10 "2020-07-02T13:53:37Z")

</div>

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