Unshared Out-of-Sync device and reshared, 'Folder marker missing'.

I have a device that was permanently on an ‘out-of-sync’ status for one of my folders, with the only option to override changes. Because the device carried older files, I made the decision to just unshare the device, delete the folder, and then reshare the device to re-fill the folder with the latest files. But, unfortunately, Syncthing is giving off an error for it that says:

“folder marker missing (this indicates potential data loss, search docs/forum to get information about how to proceed)”

How do I get it so that this device gets the new files from the cluster?

You need to remove the folder completely from Syncthing on that device, not just uncheck the option to share it with the other device. When adding it again, the folder marker will be recreated and the data pulled from other devices according to their latest state.

1 Like

I did create an entirely different folder and path location on the device I’d like to copy my files to. It’s throwing up the exact same error. Is there something I may be missing?

1 Like

If Syncthing cannot write the folder marker to a new folder, this could be the result. Take a look at FAQ — Syncthing documentation .

I think you may be encountering one of the bugs described and linked to in https://github.com/syncthing/syncthing/issues/9595.

As a quick (and safe) workaround, set the folder to Receive Only first, then inside it manually create a directory called .stfolder, then rescan it via the GUI. If any local additions are reported, just use the Revert Local Changes button to override them.

1 Like