# Stopped in middle of sync, knows not done, refuses to continue.

**URL:** https://forum.syncthing.net/t/stopped-in-middle-of-sync-knows-not-done-refuses-to-continue/18643
**Category:** Support
**Created:** [July 1, 2022, 3:46pm UTC](https://forum.syncthing.net/t/stopped-in-middle-of-sync-knows-not-done-refuses-to-continue/18643 "2022-07-01T15:46:01Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Snowman7543](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/s/779978/32.png) [@Snowman7543](https://forum.syncthing.net/u/Snowman7543)
#### Post date: [July 1, 2022, 3:46pm UTC](https://forum.syncthing.net/t/stopped-in-middle-of-sync-knows-not-done-refuses-to-continue/18643/1 "2022-07-01T15:46:02Z")

</div>

I’ve been using Syncthing for many years now, mostly without issues.

My main server `Central` (NixOS, ZFS) has ~760 GB. I had a Windows 10 machine `Tachyon` (Synctrazor, NTFS) that never had sync issues. A few days ago my SSD died and I set it up again with Windows 11 (Synctrazor, NTFS) and the same name.

After “connecting” my devices in both Syncthing instances and setting up the folders to sync back everything worked fine and I let it run over night.

The next day though, I could see `Central` under `Remote Devices` says it is trying to sync to `Tachyon` (`Syncing (60%, 305 GB)`). However, both Download and Upload Rate are now `0 B/s`.

Interestingly enough, it seems to have “randomly” stopped right in the middle of syncing things. For example, I have a folder called `Company` which says “Up to Date” on both devices. Yet, clearly my Windows 11 machine is missing some documents I find on my server. These missing files are not ignored, they seem to be just randomly missing from various folders.

However, no matter what I do, Syncthing just refuses to continue syncing them.

Things I’ve tried:

- Restarted both devices and services multiple times
- Checked device IDs and Folder IDs match
- Checked both “Advanced Settings” for any glaring errors (but I’m not super familiar with all the settings in detail)
- Connected with and without VPN, and / or local LAN
- Checked .stignore files
- Paused / Unpaused / Rescan various folders
- Paused / Unpaused both devices
- Enabled some logs and glossed over them (but frankly don’t know where to start with the logs)

Long story short, I’m out of ideas at this point. It would be really nice if someone could give me a hint what else to try.

Central:

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

Tachyon:

 ![image](https://forum-uploads.syncthingcdn.net/original/2X/5/51e4c9a5b7322bf487417de5c2780bd8c2d3f5c8.png)

---

<div class="post-metadata">

### Author: ![tomasz86](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@tomasz86](https://forum.syncthing.net/u/tomasz86)
#### Post date: [July 1, 2022, 7:54pm UTC](https://forum.syncthing.net/t/stopped-in-middle-of-sync-knows-not-done-refuses-to-continue/18643/2 "2022-07-01T19:54:22Z")

</div>

Are the problematic files contained in a single folder or spread among different ones? Without knowing exactly what the culprit is, I don’t think there’s any magical fix that will “unblock” the files and force them to continue syncing.

If all or most of the files belong to a single folder, you could try removing and re-adding that folder, which will force Syncthing to re-index the files and hopefully sync the missing ones. The atomic option will be to reset the whole database, but I’d try to avoid it, especially with that amount of data.

Just to be sure, are there any panic logs present in your config folder (for the exact location, see [https://docs.syncthing.net/users/config.html](https://docs.syncthing.net/users/config.html))?

---

<div class="post-metadata">

### Author: ![Snowman7543](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/s/779978/32.png) [@Snowman7543](https://forum.syncthing.net/u/Snowman7543)
#### Post date: [July 1, 2022, 8:11pm UTC](https://forum.syncthing.net/t/stopped-in-middle-of-sync-knows-not-done-refuses-to-continue/18643/3 "2022-07-01T20:11:42Z")

</div>

I haven’t seen any pattern for files that don’t want to sync.

The failing files are often even shorter than sibling which sync, and have similar names (e.g., `rc3.pdf` doesn’t sync, while `final.pdf` syncs in the same folder).

I also haven’t seen a folder pattern. While some folders don’t show up entirely, most folders do, some just missing files.

About logs, I just checked the folder you mentioned. There are a few `syncthing` logs, which doesn’t contain the keyword `panic`, but a few `errors`, but most of them seem relatively benign, such as:

```nohighlight
[XXX] 2022/06/26 19:04:26 INFO: Connection to XXX at [::]:22000-192.168.0.1:22000/quic-server/TLS1.3-TLS_AES_128_GCM_SHA256 closed: reading length: Application error 0x0: closing
[XXX] 2022/06/28 20:55:46.391886 service.go:1110: DEBUG: dialing XXX quic://[XXX]:22000 error: dial: timeout: no recent network activity
[XXX] 2022/06/28 20:58:21.501958 service.go:1110: DEBUG: dialing XXX tcp://[XXX]:22000 error: dial tcp [2a03:1b20:4:f011::999e]:22000: i/o timeout

```

I didn’t find any other dedicated panic log.

---

<div class="post-metadata">

### Author: ![Snowman7543](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/s/779978/32.png) [@Snowman7543](https://forum.syncthing.net/u/Snowman7543)
#### Post date: [July 3, 2022, 5:01pm UTC](https://forum.syncthing.net/t/stopped-in-middle-of-sync-knows-not-done-refuses-to-continue/18643/4 "2022-07-03T17:01:18Z")

</div>

> The atomic option will be to reset the whole database, but I’d try to avoid it, especially with that amount of data.

For anyone else having this problem, I eventually tried the “atomic option” and deleted `index-v0.14.0.db` from `C:\Users\[USER]\AppData\Local\Syncthing`, and now it’s working again. Thanks!

---

<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: [August 2, 2022, 5:01pm UTC](https://forum.syncthing.net/t/stopped-in-middle-of-sync-knows-not-done-refuses-to-continue/18643/5 "2022-08-02T17:01:46Z")

</div>

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