Hi. I’m setting up ST between two CentOS 7.9 hosts, both running 1.22.0. Daemon running via systemd as root user. Syncing four dirs all on ext4 fs.
Since it’s a production environment, which I previously synced with rsync, I started ST on the current main/primary server, and added the secondary host in Receive Only mode (which is the current situation).
Sync works, but the secondary keeps showing Local Additions. Even if I click on Revert Local Changes, it turns green for a few moments, but after a quick scan it still detects local changes.
From a quick check, most of the detected changed items are empty directories. But not all of them.
At first sight, the only difference I could notice between the nodes is the presence of extended attributes on files on the secondary host. So I enabled Sync Extended Attributes, ran a Rescan, Revert Local Changes once more, but local additions are still detected.
I cannot find a way out of it.
Oct 10 16:05:28 secondarynode syncthing: [LXHJP] DEBUG: walker/dati-cl@0xc00445e4d0 dir: gps Directory{Name:"gps", Sequence:0, Permissions:0777, ModTime:2022-08-23 09:26:26 +0200 CEST, Version:{[{LXHJPLL 1665410728} {WKR5X3I 1665143775}]}, VersionHash:, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, Platform:{owner_name:"root" uid:0 gid:700007 <nil> xattrs:<name:"security.selinux" value:"unconfined_u:object_r:default_t:s0\000" > <nil> <nil> <nil>}}
After removing the security.selinux
attribute, the debug shows:
Oct 10 16:07:54 gestionalelan syncthing: [LXHJP] DEBUG: walker/dati-cl@0xc0009d64d0 dir: gps Directory{Name:"gps", Sequence:0, Permissions:0777, ModTime:2022-08-23 09:26:26 +0200 CEST, Version:{[{LXHJPLL 1665410874} {WKR5X3I 1665143775}]}, VersionHash:, Deleted:false, Invalid:false, LocalFlags:0x8, NoPermissions:false, Platform:{owner_name:"root" uid:0 gid:700007 <nil> <nil> <nil> <nil>}}
but dir still shows as locally changed.
Side note: I don’t really care about extended attributes, I enabled it only because I thought it could be the cause of the detected changes.
This is the configuration on the primary node:
And this on the secondary:
Local changes dialog:
This is the status page on secondary
Where else can I look to find the reason why these local changes continuously pop up? I see 1.22 is rather new, as well as extended attr sync. Is it worth or safe to consider a downgrade? thanks
P.S. adding detail: my main goal is to obtain a two-way sync, but before enabling it I’d like to have a green situation on both sides