syncthing icon indicating copy to clipboard operation
syncthing copied to clipboard

Out of Sync Items list unexpectedly empty

Open squidpickles opened this issue 3 years ago • 14 comments

Does your log mention database corruption?

No

Include required information

  • Syncthing v1.18.2, macOS (64-bit Intel/AMD) Build 1979-12-31 (noupgrade)
  • Firefox 93.0 (64-bit)

In the Remote Devices list, the other device shows Out of Sync Items 45 items, ~336 MiB.

Out of Sync Items   45 items, ~336 MiB

But when I click on the link, a modal pops up and does not list any of these items. (empty modal)

On the other device, the GUI shows Up to Date for this local device.

While I imagine this sync state comes from slightly different ignore rules or something, I can't easily troubleshoot without seeing the list of items.

squidpickles avatar Oct 22 '21 18:10 squidpickles

I can confirm the issue on 2 Linux installations running v1.18.5. One of my folders is working fine, the other one has that error. The sync with my Windows machines is working fine for both folders.

The issue happens with Firefox and Safari.

The files seem to be synced successfully, I just did a sporadic check of the SHA hashes.

Deleting the folder on the affected machine and re-configuring it does not solve the problem.

ChristianKuehnel avatar Dec 07 '21 15:12 ChristianKuehnel

Same here. I have 3 folders synced with android and windows, windows says there's files out of sync on my phone but they're actually synced, and the list is empty. All 3 folders are shown 'Up to Date'. Can confirm reconfiguring the folder did not help. I also think it started when adding an ignore rule, mistakenly for a folder which did not exist in the first place.

lpv11 avatar Dec 12 '21 22:12 lpv11

I have the same problem. It seems like a file is confusing syncthing. I tried un-sharing and re-sharing the affected folder and when un-shared it shows 100 percent synced but when re-shared it goes back to showing files out of sync. The files do appear to be syncing fine, though.

image

Please let me know if there's anything further I can share to help resolve this issue. Thanks

dovy6 avatar Dec 23 '21 13:12 dovy6

The same issue for me, running 1.18.5 on Synology NAS and 1.18.3 on Android phone:

image

image

.stignore file: .* @*

55 files 829 Mb it claims to be out of sync are actually number of synced files. It should show up to date 100% instead.

turbozapekanka avatar Dec 30 '21 19:12 turbozapekanka

Same issue for me. 1.18.6 on windows10 both side. image There is only one file: test.txt in this folder.

QingXuDw avatar Jan 16 '22 12:01 QingXuDw

For me, resetting the syncthing database restored everything to normal. Of course this is a workaround and does not "solve" the main issue here.

I had the issue on my phone where I was able to reset the database from the app directly. For desktops, see https://docs.syncthing.net/users/syncthing.html#cmdoption-reset-database.

sgleizes avatar Jan 16 '22 12:01 sgleizes

+1

tayanov avatar Feb 15 '22 12:02 tayanov

same problem, I even don't know what happened

WonderfulSoap avatar Mar 10 '22 04:03 WonderfulSoap

I have same issue with 1.19.1. I'm sharing one folder between Linux and Windows machines. Directory was in sync and everything was fine. I wanted to move directory in Windows machine.

  1. I stopped/removed folder from Syncthing in Windows.
  2. Moved the folder to new place.
  3. Shared again from Linux.
  4. On Windows side I just picked the location of new folder.
  5. After adding the folder, it was in status "Stopped". Folder was missing .stfolder.
  6. I created .stfolder with Cygwin: mkdir .stfolder
  7. After Re-scan folder shows "Up to date", but Remote Devices Linux is in "Syncing XX %, YY GB".

Running syncthing with --reset-database did cure it.

ilvez avatar Apr 03 '22 08:04 ilvez

i have this problem two! on linux ubuntu 20.4 64bit

Littlemac123 avatar Apr 08 '22 05:04 Littlemac123

I had this problem recently, and posted in the support forum at https://forum.syncthing.net/t/understanding-items-and-sizes/19584 about it. The thread has my theories, and how I worked around it. I'm linking it from here in case that's useful. If I figure out a repro I'll post it here.

rptb1 avatar Jan 04 '23 13:01 rptb1