Deleted files being recreated

Syncthing 18.5 on three points – running for about four years and working flawlessly. ST on Windows 10 synchronizing with a Windows 10 PC on the same LAN and to a NAS off-site. For the last month, deleted files and folders are being recreated across connected nodes. (Actually, it’s also happening in a similar way on another Windows to Windows Syncthing setup as well.) What would be the reason that files deleted have suddenly started being recreated?

You should try and understand which device recreates them from the recent changes dialog. Most likely a dodgy filesystem.

All nodes 1.18.5. The offending one is a Windows 10 PC. Curiously, there’s a metadata.xml file being synced from that node and a notification is thrown up whenever it syncs. What would constitute a “dodgy filesystem?”

I am not sure how metadata.xml is related to this and I’m not sure what “notification” you are referring to.

Is the filesystem on the device a real filesystem, (i.e NTFS on windows), not some sort of network mounted storage, SD card, VeraCrypt container or something like that?

I guess if you have a way to reproduce this reliably, we can discuss further debugging steps.

Are all the hosts online all the time? I have a simmilar issue with my two laptops. Every time I work with my files and folders while the other laptop is offline, all my deleted files get recreated when it comes online again.

Effected nodes are always up and online. But, I haven’t seen that issue with one of the nodes (a laptop) that is offline frequently. Thanks for your reply!

First of all, I very much appreciate your time to reply!

I’m not sure how metadata.xml being synced should be an issue either except that it’s just lately been doing that. The notification to which I refer is a Windows 10 notification telling me that sync has completed, syncing metadata.xml. I guess I was thinking that perhaps that file is somehow replicating on other nodes a false state of those now deleted files.

The filesystems on the Windows 10 nodes are NFTS. One node is on a QNAP NAS also running 1.18.5. Here’s the setup: 4 Windows 10 desktops 1 QNAP NAS 1 Windows 10 Laptop All nodes sync their local files to a separate drive on one of the Windows 10 desktops which in turn is synced with a cloud storage service. (Gives me a local copy, an on site copy, an off site NAS copy and a cloud copy of all files) I thought at one point the cloud sync might be the culprit but there’s no evidence after some testing that it’s copying anything down from the cloud to the Windows 10 desktop.

What’s very strange is this setup worked well for over a year and suddenly started this behaviour about a month ago.

So my money is on your cloud copy thing.

Pause that device to get it out of the loop, run like that until you observe the issue happen again.

Wise advice. Thanks. Unfortunately, cloud sync stopped and deleted files still being recreated. How might I go about troubleshooting this?

You can enable model/scanner debugging and capture logs when it happens for us to inspect, together with names of files.

Sometimes the recreates appear soon, sometimes after several hours. Also have this recurring error in Console (one every minute) on one node: INFO: Failed to exchange Hello messages with KEDXRGH at [::]:22000-#############/quic-server/TLS1.3-TLS_AES_128_GCM_SHA256: Application error 0x0: closing

Thats not related.