syncthing / syncthing

Open Source Continuous File Synchronization
https://syncthing.net/
Mozilla Public License 2.0
64.2k stars 4.25k forks source link

Remote encrypted share isn't synced for the first time #8041

Open jvalrog opened 2 years ago

jvalrog commented 2 years ago

Syncthing v1.18.4 Ubuntu 20.04

Just shared a folder as encrypted to another remote host and in the remote host GUI it said "Up to date" but the folder was still empty.

Had to restart syncthing on the remote host for the folder to get populated.

AudriusButkevicius commented 2 years ago

This looks more like a support request than a clear bug or feature request. Please use the forum - https://forum.syncthing.net/ - for support, first by searching for any similar issues and then by posting a new one when required. The forum has a lot more eyes and friendly people on it than the issue tracker.

Thanks!

AudriusButkevicius commented 2 years ago

Actually, hastily closed this, but I think this is already fixed.

tomasz1986 commented 2 years ago

Actually, hastily closed this, but I think this is already fixed.

I don't think it's fixed. I've experienced the same issues in the recent main. I haven't had enough time to proceed with proper reproduction and debug logging, so I couldn't report it yet.

masksshow commented 2 years ago

I confirm. The error persists.

scuba-tech commented 2 years ago

I confirm as well. I have to restart the receiving endpoint's Syncthing service, every single time after adding an encrypted folder.

I've confirmed this behavior 6/6 times on two devices (Raspian + KDE). Hope this confirmation helps.


Syncthing info:

KDE:

v1.18.5, Linux (64-bit Intel/AMD) "Fermium Flea"


Raspian:

v1.18.5, Linux (32-bit ARM) "Fermium Flea"

jhertel commented 2 years ago

I have what seems to be the same issue, just with unencrypted files, so the issue might not only be with encrypted files.

v1.19.0, Windows (64-bit Intel/AMD) Build 2022-01-24

When accepting a new shared folder from another computer, the WebUI on the "receiving" computer immediately said "Up to date" for that folder, even though the receiving computer's folder was in fact still empty and the other computer had files in the corresponding folder. I tried waiting 5-10 minutes after adding the folder, but Syncthing still didn't discover that the folders where out of sync, and still claimed untruthfully that the folder was "Up to date" (it would at least be better if it said "Unknown state" or something until it knows for certain). This continues until I press "Pause All" and then "Resume All" under "Remote Devices" – then it immediately discovers the folder is out of sync and starts updating. All the time Syncthing was happily and correctly syncing another folder between the same two computers, which showed fine on the WebUI, so Syncthing and the connection was in fact active and functioning.

This has happened multiple times, perhaps every time (unsure about that).