惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
K
Kaspersky official blog
L
LangChain Blog
有赞技术团队
有赞技术团队
V
Visual Studio Blog
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
Stack Overflow Blog
Stack Overflow Blog
美团技术团队
Vercel News
Vercel News
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
G
Google Developers Blog
宝玉的分享
宝玉的分享
月光博客
月光博客
爱范儿
爱范儿
The Register - Security
The Register - Security
S
SegmentFault 最新的问题
M
MIT News - Artificial intelligence
F
Full Disclosure
Engineering at Meta
Engineering at Meta
阮一峰的网络日志
阮一峰的网络日志
Hugging Face - Blog
Hugging Face - Blog
A
About on SuperTechFans
WordPress大学
WordPress大学
D
Docker
Y
Y Combinator Blog
N
News and Events Feed by Topic
P
Proofpoint News Feed
Apple Machine Learning Research
Apple Machine Learning Research
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Recorded Future
Recorded Future
IT之家
IT之家
C
CXSECURITY Database RSS Feed - CXSecurity.com
Security Latest
Security Latest
Spread Privacy
Spread Privacy
D
Darknet – Hacking Tools, Hacker News & Cyber Security
F
Fortinet All Blogs
AWS News Blog
AWS News Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Proofpoint News Feed
C
CERT Recently Published Vulnerability Notes
D
DataBreaches.Net
Recent Announcements
Recent Announcements
博客园 - Franky
Google DeepMind News
Google DeepMind News
小众软件
小众软件
B
Blog RSS Feed
I
InfoQ
Attack and Defense Labs
Attack and Defense Labs
云风的 BLOG
云风的 BLOG

Syncthing Community Forum - Latest topics

Win11: Console is no-longer displayed when launching Syncthing Syncthing Ignore Pattern Visualizer Renaming/moving without block indexing The working set is too high, causing the computer to freeze Would connecting two OSX (Mac) devices via USB allow faster data transfer? How can I turn on the new continious watching for all my folder again? Alternative Web GUI for Syncthing (Angular + Material) SyncThing Android fork: SyncThing as messaging app Android --> PC uploading stuck at 99% Can't ignore root owned file Terramaster TOS7 broken? add a hint when folder edit "Too many symbolic links" but there aren't Collapse folder groups? Update to 2.1.1 but the update does not exist Disconnected (Inactive) - no route to host "Wi-Fi needs to be enabled" error on Android 16 / Realme UI 16 (Even though Wi-Fi is on) Custom file filtering/syncing Best practice Unraid + Android (without repeated DB crashes) Slow syncing and scanning without any visible reason .stignore: optional include Syncproblem: Several Windows<>Android Stopping dev on fork for DB Maintenance tunings CloudStatus: An easier way to understand Syncthing on macOS Not syncing Sync - 100%: 98%? Difficulty connecting my devices Syncthing-Fork: force sync now widget on Android Does Syncthing supports AWS S3 Files? Using Syncthing as a Robocopy replacement for one-shot software distribution / mirroring Syncing C drive causes memory explosion and computer freezes New MacOS App: Syncthing Menu fatal error: failed to parse kernel version from uname Errors when runing syncthing as service, while not as root; enabling CAP_DAC_READ_SEARCH neccessary? support for new peripherals New user questions Syncthing on TrueNAS says its working but does not create folder logseq copy in Emacs Discovery server security concerns No access to synced files "Out of Sync" and "access denied" issues after syncthing re-installation How much is too much? A basic question about the connected devices field. Failed initial scan (error="folder marker missing .....) Using Syncthing with Nextcloud Memories on Freedombox Server syncthing 2.x keeps reporting "can not create new thread" then exits and restarts on windows 10 32bit Update to 2.1.1? - android devices disconnected Sync (download) Android camera folder pics to desktop, how to? Failure to Sync between Linux and Windows Issues with the latest verison for windows (v2.1.1) Syncthing setup for all user (Syncthing as service on Windows) Issue Report: Syncthing-Fork app terminates on its own Why do my syncs never end? Google Play Protect detects Syncthing-Fork v2.1.1.0 as Harmful app Transfer speed not shown Multi-user on the same PC REST: Can I check if a file Disk Free UGREEN UGOS / Docker: Syncthing watcher “permission denied” while scan/sync works — root cause was host ACL blocking inotify Two Syncthing instances on the same NAS using the same shared folder — supported or risky? Non ASCII characters seem to prevent files from being synced Non ASCII characters prevent files from being synced password reset not working Password folder does not sync Failed Items preventing scan Option to disable the &quot;override&quot; button on a Folder (when out of sync) Allow to duplicate an existing Folder config on client Нет соединения пишет.There is no connection writes. Block indexing off vs NAS/HDD performance (v2.1.0) Values of the syncthing_model_folder_state metric Incorrect permissions on newly created folders when &quot;ignore permissions&quot; is set Way to decrypt on a untrusted device syncspirit v0.4.5 release Easier solution for dual boot, syncing shared folder from Linux/Windows Syncthing a phone and a PC wirelessly tethered to the same phone lchown - operation not permitted error - macOS "Out of Sync" error with ruTorrent AutoTools Syn not connecting devices TLS1.3 Protocol error: request size 0 too small Syncthing syncs files that should be ignored iOS app not recognising purchase on iPad Syncthing resets "≠" in Ignore Pattern Devices can't connect to each other webui over npm [Docker] How safe is the encrypted zip exported by the Android app? Unexpected Device ID Syncthing is crashing One half of a paired sync shows disconnected and sync is not working: Syncthing Deleted Contents of File last known good commit of Syncthing-Fork? Syncthing changed Windows permissions and they stayed after uninstall Is it fine to store config folders in synced directories? Ignore files with UUID naming format What does it mean when max-Concurrent-Incoming-Request-KiB = 0? Syncthing 2.1.0 BEPository: a syncthing snapshotting+archival sidecar Add BasicSync to Community Contributions How do I enable Running Syncthing as Superuser
Clients think remote device is out-of-sync but it isn't
johannes (Johannes) · 2026-06-01 · via Syncthing Community Forum - Latest topics

1

All four mentioned devices are on 2.1.0, a mixture of Windows and Linux machines.

On Device A (receive-only), I had to start over with a new Syncthing database due to a mishap while trying to move the database to a different folder, but synced files were kept intact. The database is now recreated, and Device A thinks the sync folder is up-to-date: Certainly, the files on-disk are all there as before, they are identical to the files on the other machines, and the file count in the shared folder is identical on all devices. So from Device A’s perspective, everything is alright. However, two other Device B & C (both configured as send & receive) show that about 21,000 files are out of sync on Device A. I did skim the list of files that are reported to be out of date and they are all present in the sync folder on Device A. Device B & C both make no progress on this number. As far as a fourth Device D is concerned, Device A is up-to-date and has no out-of-sync files.

How can I diagnose what’s going wrong here?

calmh (Jakob Borg) 2

Firstly, since the device is receive-only and you did a strange thing, see if it has a “revert local changes” button. If so, press it.


If not:

Pick a representative out-of-sync file. Run syncthing debug database-counts <folderID> and syncthing debug database-file <folderID> <filename> on both sides and paste the output. The filename part in the latter command accepts a partial match, so you can give just the file name without the path in the folder etc.

E.g., what we expect to see:

jb@jbo-m3wl72rv:~ % syncthing debug database-counts w3ejt-fn4dm
DEVICE   TYPE       FLAGS    DELETED  COUNT   SIZE
-local-  FILE       -------  ---      0       0
-local-  FILE       -------  del      0       0
...more...
PSEUDOP  DIRECTORY  -nG----  ---      0       0
PSEUDOP  DIRECTORY  -nG----  del      0       0

jb@jbo-m3wl72rv:~ % syncthing debug database-file w3ejt-fn4dm 20150103-145351-0345.jpg
DEVICE   TYPE  NAME                                        SEQUENCE  DELETED  MODIFIED              SIZE     FLAGS    VERSION             BLOCKLIST
-local-  FILE  2015/Hemma/iPhone/20150103-145351-0345.jpg  202795    ---      2015-04-26T19:54:27Z  1073016  --G----  PSEUDOP:1744214844  tOJxBYSV
PSEUDOP  FILE  2015/Hemma/iPhone/20150103-145351-0345.jpg  673968    ---      2015-04-26T19:54:27Z  1073016  -------  PSEUDOP:1744214844  tOJxBYSV

Ideally, also take a support bundle (Actions -> Support bundle in the GUI) from both sides. That contains your config and some logs and metrics, in lightly redacted form, so you can send them as direct messages if you prefer.

johannes (Johannes) 3

It is in completely pristine state, no local changes.

But I have a hunch that the real problem is that I moved the database from the OS microSD card to an external hard drive to reduce flash memory wear. Syncthing is completely unresponsive for large amounts of times, while it was mostly fine before the move. So it could be that the other clients are stuck in eternal limbo that they are not able to verify that all files are synchronized (but they still do manage to realize that files I have synced since then have been updated on the remote client as well). I’m not even able to create the support bundle on that machine because the browser tries loading the page but then it’s just stuck forever.

Anyway, one of the send-receive clients:

syncthing debug database-counts v3frg-au6mt
DEVICE   TYPE       FLAGS    DELETED  COUNT   SIZE
-local-  FILE       -------  ---      0       0
-local-  FILE       -------  del      0       0
-local-  FILE       ----r--  ---      0       0
-local-  FILE       --G----  ---      526454  848162321736
-local-  FILE       --G----  del      6459    0
-local-  FILE       --G-r--  ---      0       0
-local-  DIRECTORY  -------  ---      0       0
-local-  DIRECTORY  -------  del      0       0
-local-  DIRECTORY  --G----  ---      27451   3513728
-local-  DIRECTORY  --G----  del      611     78208
BVTQQPI  FILE       -------  ---      460118  841187782873
BVTQQPI  FILE       -------  del      5301    0
BVTQQPI  FILE       --G----  ---      0       0
BVTQQPI  FILE       --G----  del      11      0
BVTQQPI  FILE       -nG----  ---      0       0
BVTQQPI  FILE       -nG----  del      0       0
BVTQQPI  FILE       v------  ---      66336   0
BVTQQPI  FILE       v------  del      11      0
BVTQQPI  DIRECTORY  -------  ---      24632   3152896
BVTQQPI  DIRECTORY  -------  del      548     70144
BVTQQPI  DIRECTORY  -nG----  del      0       0
BVTQQPI  DIRECTORY  v------  ---      2819    360832
BVTQQPI  DIRECTORY  v------  del      4       512
THJTAAV  FILE       -------  ---      526394  848100106215
THJTAAV  FILE       -------  del      6027    0
THJTAAV  FILE       --G----  ---      0       0
THJTAAV  FILE       --G----  del      120     0
THJTAAV  FILE       -nG----  ---      0       0
THJTAAV  FILE       -nG----  del      0       0
THJTAAV  FILE       v------  ---      60      0
THJTAAV  FILE       v------  del      0       0
THJTAAV  FILE       v-G----  del      0       0
THJTAAV  DIRECTORY  -------  ---      27442   3512576
THJTAAV  DIRECTORY  -------  del      598     76544
THJTAAV  DIRECTORY  --G----  del      0       0
THJTAAV  DIRECTORY  -nG----  ---      0       0
THJTAAV  DIRECTORY  -nG----  del      0       0
THJTAAV  DIRECTORY  v------  ---      9       1152
HVUDRTK  FILE       -------  ---      0       0
HVUDRTK  FILE       -------  del      0       0
HVUDRTK  FILE       --G----  ---      0       0
HVUDRTK  FILE       --G----  del      0       0
HVUDRTK  FILE       -nG----  ---      0       0
HVUDRTK  FILE       -nG----  del      0       0
HVUDRTK  FILE       v------  ---      0       0
HVUDRTK  FILE       v-G----  ---      0       0
HVUDRTK  DIRECTORY  -------  ---      0       0
HVUDRTK  DIRECTORY  -------  del      0       0
HVUDRTK  DIRECTORY  -nG----  ---      0       0
HVUDRTK  DIRECTORY  -nG----  del      0       0
VHQXY2U  FILE       -------  ---      506758  773377308109
VHQXY2U  FILE       -------  del      4005    0
VHQXY2U  FILE       --G----  ---      0       0
VHQXY2U  FILE       --G----  del      10      0
VHQXY2U  FILE       -nG----  ---      0       0
VHQXY2U  FILE       -nG----  del      0       0
VHQXY2U  FILE       v------  ---      0       0
VHQXY2U  FILE       v-G----  ---      0       0
VHQXY2U  DIRECTORY  -------  ---      25834   3306752
VHQXY2U  DIRECTORY  -------  del      450     57600
VHQXY2U  DIRECTORY  --G----  del      0       0
QLFSI6G  FILE       -------  ---      526454  848162321736
QLFSI6G  FILE       -------  del      7       0
QLFSI6G  FILE       -nG----  ---      0       0
QLFSI6G  FILE       -nG----  del      0       0
QLFSI6G  DIRECTORY  -------  ---      27451   3513728
QLFSI6G  DIRECTORY  -------  del      1       128
QLFSI6G  DIRECTORY  -nG----  ---      0       0
QLFSI6G  DIRECTORY  -nG----  del      0       0

syncthing debug database-file v3frg-au6mt trinity-samples.zip
DEVICE   TYPE  NAME                                                             SEQUENCE  DELETED  MODIFIED                      SIZE      FLAGS    VERSION             BLOCKLIST
-local-  FILE  Audiosoftware/Alchemist (Trinity To Triton)/trinity-samples.zip  3259103   ---      2022-03-16T18:52:42.7549393Z  41680330  --G----  BMXPQP6:1758805844  Fi2Sb1ZW
BVTQQPI  FILE  Audiosoftware/Alchemist (Trinity To Triton)/trinity-samples.zip  3293478   ---      2022-03-16T18:52:42.7549393Z  41680330  -------  BMXPQP6:1758805844  Fi2Sb1ZW
THJTAAV  FILE  Audiosoftware/Alchemist (Trinity To Triton)/trinity-samples.zip  3280118   ---      2022-03-16T18:52:42.7549393Z  41680330  -------  BMXPQP6:1758805844  Fi2Sb1ZW
QLFSI6G  FILE  Audiosoftware/Alchemist (Trinity To Triton)/trinity-samples.zip  3408259   ---      2022-03-16T18:52:42.7549393Z  41680330  -------  BMXPQP6:1758805844  Fi2Sb1ZW
-local-  FILE  Audiosoftware/Alchemist/trinity-samples.zip                      3259104   del      2025-09-25T13:12:39.7549393Z  0         --G----  BMXPQP6:1758805959  -nil-
BVTQQPI  FILE  Audiosoftware/Alchemist/trinity-samples.zip                      3293479   del      2025-09-25T13:12:39.7549393Z  0         -------  BMXPQP6:1758805959  -nil-
THJTAAV  FILE  Audiosoftware/Alchemist/trinity-samples.zip                      3280119   del      2025-09-25T13:12:39.7549393Z  0         -------  BMXPQP6:1758805959  -nil-

And the receive-only client (in case there are any inconsistencies):

syncthing debug database-counts v3frg-au6mt
DEVICE   TYPE       FLAGS    DELETED  COUNT   SIZE
-local-  FILE       -------  ---      0       0
-local-  FILE       -------  del      0       0
-local-  FILE       ---e---  ---      0       0
-local-  FILE       --G----  ---      526441  847580937619
-local-  FILE       --G----  del      6555    0
-local-  FILE       --Ge---  ---      0       0
-local-  DIRECTORY  -------  ---      0       0
-local-  DIRECTORY  -------  del      0       0
-local-  DIRECTORY  --G----  ---      27449   3513472
-local-  DIRECTORY  --G----  del      612     78336
BMXPQP6  FILE       -------  ---      526441  847580937619
BMXPQP6  FILE       -------  del      6461    0
BMXPQP6  FILE       --G----  del      11      0
BMXPQP6  FILE       -nG----  ---      0       0
BMXPQP6  FILE       -nG----  del      0       0
BMXPQP6  FILE       v------  ---      0       0
BMXPQP6  FILE       v-G----  ---      0       0
BMXPQP6  DIRECTORY  -------  ---      27449   3513472
BMXPQP6  DIRECTORY  -------  del      612     78336
BMXPQP6  DIRECTORY  --G----  del      0       0
BMXPQP6  DIRECTORY  -nG----  ---      0       0
BMXPQP6  DIRECTORY  -nG----  del      0       0
HVUDRTK  FILE       -------  ---      0       0
HVUDRTK  FILE       -------  del      0       0
HVUDRTK  FILE       --G----  del      0       0
HVUDRTK  FILE       -nG----  ---      0       0
HVUDRTK  FILE       -nG----  del      0       0
HVUDRTK  FILE       v------  ---      0       0
HVUDRTK  FILE       v-G----  ---      0       0
HVUDRTK  DIRECTORY  -------  ---      0       0
HVUDRTK  DIRECTORY  -------  del      0       0
HVUDRTK  DIRECTORY  --G----  del      0       0
HVUDRTK  DIRECTORY  -nG----  ---      0       0
HVUDRTK  DIRECTORY  -nG----  del      0       0
THJTAAV  FILE       -------  ---      526381  847518722098
THJTAAV  FILE       -------  del      6113    0
THJTAAV  FILE       --G----  del      47      0
THJTAAV  FILE       -nG----  ---      0       0
THJTAAV  FILE       -nG----  del      0       0
THJTAAV  FILE       v------  ---      60      0
THJTAAV  FILE       v------  del      0       0
THJTAAV  DIRECTORY  -------  ---      27440   3512320
THJTAAV  DIRECTORY  -------  del      599     76672
THJTAAV  DIRECTORY  --G----  del      0       0
THJTAAV  DIRECTORY  -nG----  ---      0       0
THJTAAV  DIRECTORY  -nG----  del      0       0
THJTAAV  DIRECTORY  v------  ---      9       1152
BVTQQPI  FILE       -------  ---      460087  839865216370
BVTQQPI  FILE       -------  del      5308    0
BVTQQPI  FILE       --G----  del      0       0
BVTQQPI  FILE       -nG----  ---      0       0
BVTQQPI  FILE       -nG----  del      0       0
BVTQQPI  FILE       v------  ---      66336   0
BVTQQPI  FILE       v------  del      11      0
BVTQQPI  DIRECTORY  -------  ---      24629   3152512
BVTQQPI  DIRECTORY  -------  del      548     70144
BVTQQPI  DIRECTORY  -nG----  ---      0       0
BVTQQPI  DIRECTORY  -nG----  del      0       0
BVTQQPI  DIRECTORY  v------  ---      2819    360832
BVTQQPI  DIRECTORY  v------  del      4       512
QLFSI6G  FILE       -------  ---      526441  847580937619
QLFSI6G  FILE       -------  del      4       0
QLFSI6G  FILE       --G----  del      0       0
QLFSI6G  FILE       -nG----  ---      0       0
QLFSI6G  FILE       -nG----  del      0       0
QLFSI6G  FILE       v------  ---      0       0
QLFSI6G  DIRECTORY  -------  ---      27449   3513472
QLFSI6G  DIRECTORY  -------  del      1       128
QLFSI6G  DIRECTORY  -nG----  ---      0       0
QLFSI6G  DIRECTORY  v------  ---      0       0

syncthing debug database-file v3frg-au6mt trinity-samples.zip
DEVICE   TYPE  NAME                                                             SEQUENCE  DELETED  MODIFIED                      SIZE      FLAGS    VERSION             BLOCKLIST
-local-  FILE  Audiosoftware/Alchemist (Trinity To Triton)/trinity-samples.zip  3271757   ---      2022-03-16T18:52:42.7549393Z  41680330  --G----  BMXPQP6:1758805844  Fi2Sb1ZW
BMXPQP6  FILE  Audiosoftware/Alchemist (Trinity To Triton)/trinity-samples.zip  3258271   ---      2022-03-16T18:52:42.7549393Z  41680330  -------  BMXPQP6:1758805844  Fi2Sb1ZW
THJTAAV  FILE  Audiosoftware/Alchemist (Trinity To Triton)/trinity-samples.zip  3279284   ---      2022-03-16T18:52:42.7549393Z  41680330  -------  BMXPQP6:1758805844  Fi2Sb1ZW
BVTQQPI  FILE  Audiosoftware/Alchemist (Trinity To Triton)/trinity-samples.zip  3292688   ---      2022-03-16T18:52:42.7549393Z  41680330  -------  BMXPQP6:1758805844  Fi2Sb1ZW
QLFSI6G  FILE  Audiosoftware/Alchemist (Trinity To Triton)/trinity-samples.zip  3410503   ---      2022-03-16T18:52:42.7549393Z  41680330  -------  BMXPQP6:1758805844  Fi2Sb1ZW
-local-  FILE  Audiosoftware/Alchemist/trinity-samples.zip                      3271758   del      2025-09-25T13:12:39.7549393Z  0         --G----  BMXPQP6:1758805959  -nil-
BMXPQP6  FILE  Audiosoftware/Alchemist/trinity-samples.zip                      3258272   del      2025-09-25T13:12:39.7549393Z  0         -------  BMXPQP6:1758805959  -nil-
THJTAAV  FILE  Audiosoftware/Alchemist/trinity-samples.zip                      3279285   del      2025-09-25T13:12:39.7549393Z  0         -------  BMXPQP6:1758805959  -nil-
BVTQQPI  FILE  Audiosoftware/Alchemist/trinity-samples.zip                      3292689   del      2025-09-25T13:12:39.7549393Z  0         -------  BMXPQP6:1758805959  -nil-

johannes (Johannes) 4

It turns out that the client was indeed extremely busy and just stopped exchanging information about these files with the other clients. Now after updating to 2.1.1 they are all up-to-date.