So what I tried is unshare that folder from the server and from client 2. Then I deleted the folder from /data on the server.
Then from main client, I share it with client 2, it does accept, and sync happens and works great.
Then from main client, I share it with server, it does accept, and then sync fails because folder does not exist…
So I create the /data/folder and also folder/.stfolder/ manually because syncthing cannot create it (?), and then sync starts over.
But it fails eventually. Now from ther server, it shows 11,900 files changed, and 25,400 files out of sync ??
I think you deleted the folder without removing it from Syncthing, and the entire point of the .stfolder is that isn’t recreated in this case to avoid propagating the files you just deleted.
Have you changed anything on the server locally (which you shouldn’t do with Receive Encrypted)? Iff you haven’t, have you tried the red “Revert Local Changes” button?
hi, yes I tried this option. Maybe I did not wait long enough and restarted the server at some point, so I just retried.
It never ends, and the client originator stays stuck at 36% and still showing 25,421 items out of sync (double the actual number)
Does removing the folder (via Edit → Remove), and readding it to Syncthing help?
If you delete a folder on disk, without removing it from Syncthing, when you manually create the .stfolder, the new folder is considered the same as the old folder.
when i do that, after a little while I get an invite from the main client to add the folder. so i accept and it shows “unexpected items”
now I select “revert local changes” on the server and it seems to work, as the log states to Reverting unexpected items in folder "xx-Documents" (xx-Documents) (receive-encrypted)
it will take some time but looks better than previous! thanks, i will confirm if it went through
so far it looks good, except a minor bug on the server side: no files were transfered to the server at all but it shows as up to date !?
Both clients show themselves and the cloud server as healthy and 100% in sync.
The server ui shows itself and the clients all in sync as well YAYYYY
the minor bug is that this very folder on the server web ui shows as 0 bytes and 0 files.
do you think another restart of the docker compose server would fix that?
so I did remove it from the server, unshared it from main client
then waited a bit, and all subfolders on the server file system stayed there.
then I shared it again from the main client,
and the server popped up this new shared folder so I accept it, and then sync fails again:
I restarted server with STTRACE: model and now the sync started correctly, however all files fail to transfer
EBUG: receiveencrypted/xx-Documents@0xc0003ab008 new error for V.syncthing-enc/SJ/G4Q2VQP7NFFM502856CRF8RTB8P7AO2ULF83TA9VGIHDRBQ3GMTKPPIQDGQLCNUBM0UDKLUDNUPDS1TCRP2DFJEB38P0PPK7G: finishing: pull: connection closed
is it the swag proxy frontend that could be the culprit? Again, I use the syncthing docker compose from linuxserver.io and the swag nginx proxy from the same team, and the nginx definition is also the sample provided: