I deleted 2 files from a PC running Syncthing v2 RC22. Soon after, the folder is marked “out of sync” with 2 failed items. Both items have the message “syncing: no connected device has the required version of this file”. If I created 2 dummy files with the same names as the deleted ones, the folder is in sync again.
And if you delete them again?
Output from syncthing cli debug $folderID $pathToFile
(the path being that inide the folder)?
If I delete the dummy files, the folder will be out of sync.
How do I use the syncthing cli debug command? I tried D:>c:\PortableApp\SyncTrayzorPortable-x64\data\syncthing cli debug $tnhbr-gxtuf d:\win_apps\XnViewMP-win-x64.exe
and got
syncthing: error: unexpected argument $tnhbr-gxtuf
D:>c:\PortableApp\SyncTrayzorPortable-x64\data\syncthing.exe cli debug tnhbr-gxtuf XnViewMP-win-x64.exe
That should work better. Assuming the folder path you have configured for synchronization in Syncthing is d:\win_apps
.
I also deleted 5 files from another folder and that folder also shows out of sync.
[start] 2025/06/30 14:24:45 INFO: syncthing v2.0.0-rc.22 "Hafnium Hornet" (go1.24.4 windows-amd64) builder@github.syncthing.net 2025-06-20 07:08:06 UTC
[start] 2025/06/30 14:24:45 INFO: Automatic upgrade is always enabled for candidate releases.
[OMKHR] 2025/06/30 14:24:45 INFO: My ID: OMKHRPB-BWGDCVS-TI4NGQZ-S7SJKZI-ZLFNKD2-DRQQNM2-TTJDPPS-P3JCOAP
[OMKHR] 2025/06/30 14:24:46 INFO: Hashing performance is 860.34 MB/s
[OMKHR] 2025/06/30 14:24:46 INFO: Overall send rate is unlimited, receive rate is unlimited
[OMKHR] 2025/06/30 14:24:46 INFO: Anonymous usage reporting is always enabled for candidate releases.
[OMKHR] 2025/06/30 14:24:46 INFO: Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
[OMKHR] 2025/06/30 14:24:46 INFO: Using discovery mechanism: global discovery server https://discovery-lookup.syncthing.net/v2/?noannounce
[OMKHR] 2025/06/30 14:24:46 INFO: Using discovery mechanism: global discovery server https://discovery-announce-v4.syncthing.net/v2/?nolookup
[OMKHR] 2025/06/30 14:24:46 INFO: Using discovery mechanism: global discovery server https://discovery-announce-v6.syncthing.net/v2/?nolookup
[OMKHR] 2025/06/30 14:24:46 INFO: Using discovery mechanism: IPv4 local broadcast discovery on port 21027
[OMKHR] 2025/06/30 14:24:46 INFO: Using discovery mechanism: IPv6 local multicast discovery on address [ff12::8384]:21027
[OMKHR] 2025/06/30 14:24:46 INFO: GUI and API listening on 127.0.0.1:8384
[OMKHR] 2025/06/30 14:24:46 INFO: Access the GUI via the following URL: http://127.0.0.1:8384/
[OMKHR] 2025/06/30 14:24:46 INFO: My name is "lanai"
[OMKHR] 2025/06/30 14:24:46 INFO: Device BZPQ6O3-6WUMG6V-XREWOI6-FJD4LVZ-SG3UEGW-FDBEULR-2VC67UD-VYFIPA6 is "laysan" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: Device YV2QGY3-YVQL5WN-MUU5QXJ-37ICMY4-42QJV7W-M6I3OCE-DEETV7D-TQ74KAN is "pi-202210" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: Device 2N3I35J-DYSOUBH-WADAYYF-E4RBNOJ-ROPJ77O-6FA67L4-BK34CZI-CCN4SQJ is "pc-202506" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: Device 76HLWN5-Z3N5EO7-264IA2N-VNFWA5G-OIEXJ35-I7XMDZJ-V2MIOF2-DULRTQQ is "S22-James" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: Device FENXETS-QV4C7KA-VC6IVGI-BY77WHE-NUBKQ6K-PKT3625-4WPVO2M-L7IUNQL is "RPI-202410" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: Device JKX6ZDN-3V4T3X5-AWGP4NJ-O3GGSLX-TDHA5AP-FWVP52F-7VJYTEB-NTX6ZAT is "MaroReef" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: Device KLKR6W3-IW42BFN-KT5FIAB-IAAVBHR-67DZQNK-P25UJZH-7GW2GI2-3YD2AQ3 is "necker" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: Device NCNVDZC-WRJCV2I-ZYP7VGI-HES3BID-E6DD6TJ-CAUDVUZ-RV47ZEY-XSHU4AU is "coral" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: Device SCFBCNV-U6WIKF5-M3AGIOT-CHKHWL4-QLHBV3L-ZYGBUXC-6HSTDTY-YJGF2AZ is "WIN-7490" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: Device 25FGBEU-HICAV62-MAMTBQW-4YBL2KM-SQENXOC-SYMXNIM-R7J6MZE-VPQP4QU is "pi-202410" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: Device J5WNYJ6-NTFZUN6-7RVSOTO-ULVOSEL-XRL7MTI-EWPLY3O-ZFHWIMC-QIG3DQB is "rp-202505" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: Device MNBQNAB-STJS2WD-RCVFMWH-74JL2ZG-ZNSDZCH-VZIHNC2-MEKMUDI-EJMN3QL is "pi202409" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: Device YS3KPGP-AU7ABSD-MTT6LDN-FVKLRXH-2Z7HPYL-AAZKOWM-LRKNBP4-555VVAA is "maui" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: Device 23NHXGS-T7O6HAR-FBRBPVZ-DJSHBKM-ALO2VTN-WIQMS7Y-3E7NLA7-T3YS3A6 is "RP-202506" at [dynamic]
[OMKHR] 2025/06/30 14:24:46 INFO: QUIC listener ([::]:22000) starting
[OMKHR] 2025/06/30 14:24:46 INFO: TCP listener ([::]:22000) starting
[OMKHR] 2025/06/30 14:24:46 INFO: Ready to synchronize "Android Camera" (0rs06-ylw5m) (sendreceive)
[OMKHR] 2025/06/30 14:24:46 INFO: Ready to synchronize "copy-2024-09" (9rszg-xxrcp) (sendreceive)
[OMKHR] 2025/06/30 14:24:46 INFO: Ready to synchronize "Default Folder" (biwnn-67xjg) (sendreceive)
[OMKHR] 2025/06/30 14:24:46 INFO: Ready to synchronize "Excel files" (gkysp-h2z9r) (sendreceive)
[OMKHR] 2025/06/30 14:24:46 INFO: Ready to synchronize "RT-AX68U" (herxd-ikcrs) (sendreceive)
[OMKHR] 2025/06/30 14:24:46 INFO: Completed initial scan of sendreceive folder "Default Folder" (biwnn-67xjg)
[OMKHR] 2025/06/30 14:24:46 INFO: Ready to synchronize "Medical" (pdvx3-4ur3e) (sendreceive)
[OMKHR] 2025/06/30 14:24:46 INFO: Completed initial scan of sendreceive folder "RT-AX68U" (herxd-ikcrs)
[OMKHR] 2025/06/30 14:24:46 INFO: Completed initial scan of sendreceive folder "Excel files" (gkysp-h2z9r)
[OMKHR] 2025/06/30 14:24:48 INFO: Ready to synchronize "phone-photos" (qjozq-ryiur) (sendreceive)
[OMKHR] 2025/06/30 14:24:48 INFO: Ready to synchronize "PortableApp-syncthing" (rcb9q-qcuyr) (sendreceive)
[OMKHR] 2025/06/30 14:24:48 INFO: Ready to synchronize "common" (scxnj-bypad) (sendreceive)
[OMKHR] 2025/06/30 14:24:48 INFO: Ready to synchronize "quicken-syncthing" (serus-sifyz) (sendreceive)
[OMKHR] 2025/06/30 14:24:48 INFO: Completed initial scan of sendreceive folder "Medical" (pdvx3-4ur3e)
[OMKHR] 2025/06/30 14:24:48 INFO: Ready to synchronize "_paperport" (sx3or-admus) (sendreceive)
[OMKHR] 2025/06/30 14:24:48 INFO: Ready to synchronize "win_apps" (tnhbr-gxtuf) (sendreceive)
[OMKHR] 2025/06/30 14:24:48 INFO: Ready to synchronize "_syncthing" (vugno-thu5g) (sendreceive)
[OMKHR] 2025/06/30 14:24:48 INFO: Completed initial scan of sendreceive folder "win_apps" (tnhbr-gxtuf)
[OMKHR] 2025/06/30 14:24:48 INFO: Completed initial scan of sendreceive folder "quicken-syncthing" (serus-sifyz)
[OMKHR] 2025/06/30 14:24:48 INFO: Puller (folder "win_apps" (tnhbr-gxtuf), item "XnViewMP-win-x64.exe"): syncing: no connected device has the required version of this file
[OMKHR] 2025/06/30 14:24:48 INFO: "win_apps" (tnhbr-gxtuf): Failed to sync 1 items
[OMKHR] 2025/06/30 14:24:48 INFO: Folder "win_apps" (tnhbr-gxtuf) isn't making sync progress - retrying in 1m0s.
[OMKHR] 2025/06/30 14:24:49 INFO: Puller (folder "win_apps" (tnhbr-gxtuf), item "XnViewMP-win-x64.exe"): syncing: no connected device has the required version of this file
[OMKHR] 2025/06/30 14:24:49 INFO: "win_apps" (tnhbr-gxtuf): Failed to sync 1 items
[OMKHR] 2025/06/30 14:24:49 INFO: Folder "win_apps" (tnhbr-gxtuf) isn't making sync progress - retrying in 1m0s.
[OMKHR] 2025/06/30 14:24:50 INFO: Established secure connection to J5WNYJ6 at 192.168.1.174:22000-192.168.1.25:22000/tcp-client/TLS1.3-TLS_CHACHA20_POLY1305_SHA256/LAN-P10-62DTS8V5KNT0MM731PHJLOTI4A
[OMKHR] 2025/06/30 14:24:50 INFO: Device J5WNYJ6 client is "syncthing v1.29.7" named "rp-202505" at 192.168.1.174:22000-192.168.1.25:22000/tcp-client/TLS1.3-TLS_CHACHA20_POLY1305_SHA256/LAN-P10-62DTS8V5KNT0MM731PHJLOTI4A
[OMKHR] 2025/06/30 14:24:52 INFO: Puller (folder "win_apps" (tnhbr-gxtuf), item "XnViewMP-win-x64.exe"): syncing: no connected device has the required version of this file
[OMKHR] 2025/06/30 14:24:52 INFO: "win_apps" (tnhbr-gxtuf): Failed to sync 1 items
[OMKHR] 2025/06/30 14:24:52 INFO: Folder "win_apps" (tnhbr-gxtuf) isn't making sync progress - retrying in 1m0s.
[OMKHR] 2025/06/30 14:24:53 INFO: Completed initial scan of sendreceive folder "_syncthing" (vugno-thu5g)
[OMKHR] 2025/06/30 14:24:53 INFO: Completed initial scan of sendreceive folder "_paperport" (sx3or-admus)
[OMKHR] 2025/06/30 14:24:54 INFO: Completed initial scan of sendreceive folder "PortableApp-syncthing" (rcb9q-qcuyr)
[OMKHR] 2025/06/30 14:24:54 INFO: Completed initial scan of sendreceive folder "copy-2024-09" (9rszg-xxrcp)
[OMKHR] 2025/06/30 14:24:54 INFO: Puller (folder "copy-2024-09" (9rszg-xxrcp), item "aaaaaaaa.png"): syncing: no connected device has the required version of this file
[OMKHR] 2025/06/30 14:24:54 INFO: Puller (folder "copy-2024-09" (9rszg-xxrcp), item "aaaaaaaa.jpg"): syncing: no connected device has the required version of this file
[OMKHR] 2025/06/30 14:24:54 INFO: Puller (folder "copy-2024-09" (9rszg-xxrcp), item "bbbbbbbbb.txt"): syncing: no connected device has the required version of this file
[OMKHR] 2025/06/30 14:24:54 INFO: Puller (folder "copy-2024-09" (9rszg-xxrcp), item "ccccccccccc.pdf"): syncing: no connected device has the required version of this file
[OMKHR] 2025/06/30 14:24:54 INFO: Puller (folder "copy-2024-09" (9rszg-xxrcp), item "ddddddd.txt"): syncing: no connected device has the required version of this file
[OMKHR] 2025/06/30 14:24:54 INFO: "copy-2024-09" (9rszg-xxrcp): Failed to sync 5 items
[OMKHR] 2025/06/30 14:24:54 INFO: Folder "copy-2024-09" (9rszg-xxrcp) isn't making sync progress - retrying in 1m0s.
[OMKHR] 2025/06/30 14:24:54 INFO: Completed initial scan of sendreceive folder "common" (scxnj-bypad)
[OMKHR] 2025/06/30 14:24:55 INFO: Puller (folder "copy-2024-09" (9rszg-xxrcp), item "bbbbbbbbb.txt"): syncing: no connected device has the required version of this file
[OMKHR] 2025/06/30 14:24:55 INFO: Puller (folder "copy-2024-09" (9rszg-xxrcp), item "aaaaaaaa.png"): syncing: no connected device has the required version of this file
[OMKHR] 2025/06/30 14:24:55 INFO: Puller (folder "copy-2024-09" (9rszg-xxrcp), item "cccccccc.pdf"): syncing: no connected device has the required version of this file
[OMKHR] 2025/06/30 14:24:55 INFO: Puller (folder "copy-2024-09" (9rszg-xxrcp), item "ddddddddddddd.txt"): syncing: no connected device has the required version of this file
[OMKHR] 2025/06/30 14:24:55 INFO: Puller (folder "copy-2024-09" (9rszg-xxrcp), item "aaaaaaaa.jpg"): syncing: no connected device has the required version of this file
[OMKHR] 2025/06/30 14:24:55 INFO: "copy-2024-09" (9rszg-xxrcp): Failed to sync 5 items
[OMKHR] 2025/06/30 14:24:55 INFO: Folder "copy-2024-09" (9rszg-xxrcp) isn't making sync progress - retrying in 1m0s.
[OMKHR] 2025/06/30 14:24:55 INFO: Completed initial scan of sendreceive folder "phone-photos" (qjozq-ryiur)
[OMKHR] 2025/06/30 14:24:56 INFO: Completed initial scan of sendreceive folder "Android Camera" (0rs06-ylw5m)
[OMKHR] 2025/06/30 14:25:02 INFO: Joined relay relay://23.166.40.111:22067
[OMKHR] 2025/06/30 14:25:06 INFO: Detected 0 NAT services
[OMKHR] 2025/06/30 14:25:15 INFO: QUIC listener ([::]:22000) shutting down
[OMKHR] 2025/06/30 14:25:15 INFO: Relay listener (dynamic+https://relays.syncthing.net/endpoint) shutting down
[OMKHR] 2025/06/30 14:25:15 INFO: Lost primary connection to J5WNYJ6 at 192.168.1.174:22000-192.168.1.25:22000/tcp-client/TLS1.3-TLS_CHACHA20_POLY1305_SHA256/LAN-P10-62DTS8V5KNT0MM731PHJLOTI4A: Syncthing is being stopped (0 remain)
[OMKHR] 2025/06/30 14:25:15 INFO: Connection to J5WNYJ6 at 192.168.1.174:22000-192.168.1.25:22000/tcp-client/TLS1.3-TLS_CHACHA20_POLY1305_SHA256/LAN-P10-62DTS8V5KNT0MM731PHJLOTI4A closed: Syncthing is being stopped
[OMKHR] 2025/06/30 14:25:15 INFO: TCP listener ([::]:22000) shutting down
[OMKHR] 2025/06/30 14:25:15 INFO: Exiting
Remove folders, restart, add folders resolved the issue.
Sure, it’ll do that, because then the only version Syncthing knows about is the one you have. But you have 14 other devices, any of which apparently could announce a different or newer version of a file. On startup, until those have connected, “no connected device has the required version” is reasonable.
If one of those powered-off devices comes back up and has the deleted file, will it be deleted, or will it be propagated to all other devices?
Generally, deleted, but it depends on whether the deletion is still stored in the other devices’ databases.
If the deletion is present in one of other (powered-on) devices’ databases, it will be synced to the previously powered-off device.
If it isn’t (this would usually happen if there was some database resetting, or if that deletion is older than 6 months), the deleted file will be recreated on the other devices.
Ran into the same issue after the deletion of several files. Going back to V1.xx.
What is the reason I got the “…no connected device has the required version of this file” message, because some of the devices are not on the network? What is the proper way to handle this? Remove/add the folder?
Don’t know, but the output from the debugging command we asked for might be useful.
The output I posted a few days ago is not detailed enough? I’m trying to understand how this process works. If I delete a file on device-A, why would Syncthing on device-A look for the file on other devices after the deletion? Doesn’t device-A tell other devices to delete the file as part of the synching process?
The output you posted is not from the command we requested, and which you quoted. It’s from starting Syncthing without any parameters and just letting it run. The cli debug
subcommand should be run from a different terminal while Syncthing is already running normally, because it asks it for some information about the file in question.
Yes. So something else is going on, most likely that those files are getting changed in some way that you don’t see.
Please try enabling Debugging in Actions → Advanced Configuration → GUI.
c:\PortableApp\SyncTrayzorPortable-x64\data\syncthing.exe cli debug file tnhbr-gxtuf TreeSizeFreeSetup.exe
{
"availability": [
{
"fromTemporary": false,
"id": "J5WNYJ6-NTFZUN6-7RVSOTO-ULVOSEL-XRL7MTI-EWPLY3O-ZFHWIMC-QIG3DQB"
}
],
"global": {
"blocksHash": "7B4kLitFVZHp8e45zh+eTlscBai+/Q1tBH3lH8eO+Ng=",
"deleted": false,
"ignored": false,
"inodeChange": "1969-12-31T16:00:00-08:00",
"invalid": false,
"localFlags": 0,
"modified": "2025-06-22T20:16:10.2804841-07:00",
"modifiedBy": "OMKHRPB",
"mustRescan": false,
"name": "TreeSizeFreeSetup.exe",
"noPermissions": false,
"numBlocks": 106,
"permissions": "0755",
"platform": {
"Darwin": null,
"FreeBSD": null,
"Linux": null,
"NetBSD": null,
"Unix": null,
"Windows": null
},
"sequence": 497,
"size": 13832808,
"type": "FILE_INFO_TYPE_FILE",
"version": [
"HZJYWFM:1751507473",
"OMKHRPB:1751601122"
]
},
"local": {
"blocksHash": "7B4kLitFVZHp8e45zh+eTlscBai+/Q1tBH3lH8eO+Ng=",
"deleted": false,
"ignored": false,
"inodeChange": "1969-12-31T16:00:00-08:00",
"invalid": false,
"localFlags": 0,
"modified": "2025-06-22T20:16:10.2804841-07:00",
"modifiedBy": "OMKHRPB",
"mustRescan": false,
"name": "TreeSizeFreeSetup.exe",
"noPermissions": false,
"numBlocks": 106,
"permissions": "0755",
"platform": {
"Darwin": null,
"FreeBSD": null,
"Linux": null,
"NetBSD": null,
"Unix": null,
"Windows": null
},
"sequence": 497,
"size": 13832808,
"type": "FILE_INFO_TYPE_FILE",
"version": [
"HZJYWFM:1751507473",
"OMKHRPB:1751601122"
]
}
}
D:\>c:\PortableApp\SyncTrayzorPortable-x64\data\syncthing.exe cli debug file tnhbr-gxtuf TreeSizeFreeSetup.exe
{
"availability": [
{
"fromTemporary": false,
"id": "J5WNYJ6-NTFZUN6-7RVSOTO-ULVOSEL-XRL7MTI-EWPLY3O-ZFHWIMC-QIG3DQB"
}
],
"global": {
"blocksHash": "7B4kLitFVZHp8e45zh+eTlscBai+/Q1tBH3lH8eO+Ng=",
"deleted": false,
"ignored": false,
"inodeChange": "1969-12-31T16:00:00-08:00",
"invalid": false,
"localFlags": 0,
"modified": "2025-06-22T20:16:10.2804841-07:00",
"modifiedBy": "OMKHRPB",
"mustRescan": false,
"name": "TreeSizeFreeSetup.exe",
"noPermissions": false,
"numBlocks": 106,
"permissions": "0755",
"platform": {
"Darwin": null,
"FreeBSD": null,
"Linux": null,
"NetBSD": null,
"Unix": null,
"Windows": null
},
"sequence": 497,
"size": 13832808,
"type": "FILE_INFO_TYPE_FILE",
"version": [
"HZJYWFM:1751507473",
"OMKHRPB:1751601122"
]
},
"local": {
"blocksHash": "7B4kLitFVZHp8e45zh+eTlscBai+/Q1tBH3lH8eO+Ng=",
"deleted": false,
"ignored": false,
"inodeChange": "1969-12-31T16:00:00-08:00",
"invalid": false,
"localFlags": 0,
"modified": "2025-06-22T20:16:10.2804841-07:00",
"modifiedBy": "OMKHRPB",
"mustRescan": false,
"name": "TreeSizeFreeSetup.exe",
"noPermissions": false,
"numBlocks": 106,
"permissions": "0755",
"platform": {
"Darwin": null,
"FreeBSD": null,
"Linux": null,
"NetBSD": null,
"Unix": null,
"Windows": null
},
"sequence": 497,
"size": 13832808,
"type": "FILE_INFO_TYPE_FILE",
"version": [
"HZJYWFM:1751507473",
"OMKHRPB:1751601122"
]
}
}
That looks like it’s in sync.
Another run of the debug command after the file is deleted.
D:\>c:\PortableApp\SyncTrayzorPortable-x64\data\syncthing.exe cli debug file tnhbr-gxtuf TreeSizeFreeSetup.exe
{
"availability": null,
"global": {
"blocksHash": "7B4kLitFVZHp8e45zh+eTlscBai+/Q1tBH3lH8eO+Ng=",
"deleted": false,
"ignored": false,
"inodeChange": "1969-12-31T16:00:00-08:00",
"invalid": false,
"localFlags": 0,
"modified": "2025-06-22T20:16:10.2804841-07:00",
"modifiedBy": "HZJYWFM",
"mustRescan": false,
"name": "TreeSizeFreeSetup.exe",
"noPermissions": false,
"numBlocks": 106,
"permissions": "0755",
"platform": {
"Darwin": null,
"FreeBSD": null,
"Linux": null,
"NetBSD": null,
"Unix": null,
"Windows": null
},
"sequence": 234,
"size": 13832808,
"type": "FILE_INFO_TYPE_FILE",
"version": [
"HZJYWFM:1751507473"
]
},
"local": {
"blocksHash": null,
"deleted": true,
"ignored": false,
"inodeChange": "1969-12-31T16:00:00-08:00",
"invalid": false,
"localFlags": 0,
"modified": "2025-07-04T04:52:36.2804841-07:00",
"modifiedBy": "OMKHRPB",
"mustRescan": false,
"name": "TreeSizeFreeSetup.exe",
"noPermissions": false,
"numBlocks": 0,
"permissions": "0755",
"platform": {
"Darwin": null,
"FreeBSD": null,
"Linux": null,
"NetBSD": null,
"Unix": null,
"Windows": null
},
"sequence": 499,
"size": 0,
"type": "FILE_INFO_TYPE_FILE",
"version": [
"HZJYWFM:1751507473",
"OMKHRPB:1751629956"
]
}
}
Fascinating. That sure looks like a bug. Let me think on it.