The device with the issue is running SyncTrayzor on Win11.
The particular error is Error on folder "Videos" (#####-#####): folder marker missing (this indicates potential data loss, search docs/forum to get information about how to proceed).
What I tried was removing the folder from SyncThing, deleting the content on this specific device, and re-add from another device. But it just freaks out again. I don’t get it.
What’s weirder, when I try to re-add it, it doesn’t give me any opportunity to configure it. And while the app says the file location is in the place I expected (~/Videos), instead it’s making a new folder using the 10-digit ID code and dumping the data into that.
There’s supposed to be a directory/folder named .stfolder under each Syncthing folder (e.g., ~/Videos/.stfolder) that Syncthing checks for to see if it should be watching and syncing the contents – it’s a safety feature in Syncthing to prevent inadvertent deletion of data.
The marker folder is just an ordinary folder so simply recreate it and the error about it missing will go away.
(See the Syncthing FAQ for more details about the .stfolder marker folder.)
I don’t use SyncTrayzor so can’t really offer much input on this other than it sounds like it’s an issue on the SyncTrayzor side rather than on the Syncthing side.
Since SyncTrayzor talks to Syncthing’s API, at least temporarily, go directly to Syncthing’s web GUI at http://127.0.0.1:8384/ and configure things there instead until the other problems are resolved.
Why do you think it’s a SyncTrayzor problem? In this case, SyncTrayzor doesn’t talk to the API, it simply loads the Web GUI in its built-in browser.
@BurntVoxel Please post screenshots of the what you’re seeing on the screen. This should make things clearer. Please also be very careful with re-creating .stfolder manually, as doing so in an empty folder will make Syncthing think that you’ve deleted everything and then push those deletions to other devices as well.
.Net and C# aren’t my forte, but I am familiar with C++ and Java so it wasn’t too difficult to skim thru SyncTrayzor’s codebase, which is where I saw that it includes a “SyncthingApiClient” class.
At the moment I can’t think of a reason why a web browser would need a set of related classes and methods, but it sounds like it’d be useful for SyncTrayzor’s other features such as conflict alerts. (Perhaps it’s why SyncTrayzor’s API client does a HTTP GET request on “/rest/events”? There’s also a HTTP GET request on “/rest/system/config”).
Really, screenshots should help in this case. How do you actually “re-add it”? If it’s the usual dialog in the Web GUI / SyncTrayzor, then there is always a field where you can enter the folder path. The only case when you don’t even get to see that dialog is when you have Auto-accept enabled.
Or is there some feature in SyncTrayzor that allows you to add Syncthing folders without going through the Web GUI? Like an Explorer right-click thing?