The main thing I see is “Syncing” but then an upload and download rate of 0B/s on both parties (sorry, it just went to 1.4kb). I’ve got nice fat internet connection and two computers doing very little, and 640K+ files out of sync - so I’m wanting this thing to fly just now
Does the receiving side consider itself out of sync? If not, that’s a database issue (or mismatching ignores or other bug, etc.). If it does, those things are all fine and there is something else blocking sync (such as a permissions issue). Logs, errors / out of sync items in the GUI, should give more info.
Since it seems that you are using Synology NAS, I have a few tips for you. I use Syncthing and Resilio on all of my Synology’s for different tasks.
First, check whether you have activated the “Ignore” permissions for each peer (Edit> Advanced> Permissions). Experience has shown that this eliminates most of the inconsistencies.
If this is already activated, deactivate it once, let the scan run completely and activate it again. This change also often helps. I don’t know why.
Doesn’t help either, the following. Provided that you have correctly set the user rights for the Syncthing User, you should try to delete the Synology ACLs to the subfolders of the peers. I always do this with WinSCP by setting group and owner to “root” and granting full rights, octal 0777. This deletes the Synology ACL’s to the subfolders. You can set this again by transferring the rights to the subfolders in the corresponding folders in the Synology DSM file manager.
Due to inconsistent databases, I also manually deleted and re-indexed all of my databases a few days ago, which actually seems to be the best way to get a clean system. Since then everything has been going very well and wherever peers overlap between syncthing and resilio, the same numbers are displayed for the elements everywhere.
Finally, how did you install Syncthing on your NAS?
That’s weird, I wouldn’t expect enabling ignore permissions to result in index updates. Anyway, now you’ll just have to wait until it settles and then we can take it from there.
Just FYI: When you encounter a weird state that shouldn’t happen and want to get to the bottom of it, do not change settings. It might make things better or worse, in any case it will get you in a different state, so debugging the original bad state isn’t possible anymore. In this case you now don’t need to run stindex anymore, that would have been helpful on the original state, but now we first need to await what happens after ignoring permissions.
This is not necessary on a Windows computer. Activation is only required on the NAS.
And, it is correct, now you have to wait until the processes are finished. This can take some hours. The high values startle, but they should decrease after a while. In the end, in the ideal state there is no longer any deviation.
However, that is my experience.
If the Ignore Permissions are not activated on a (Synology) NAS, this has always led to deviations occurring within a short time. That was already the case with v0.13 or v0.14.
OK, I’m out today so wanted to send the latest through. This says permissions was the reason that nothing was progressing - which, I think from a potential solution in future, it would’ve been good if Syncthing had been able to prompt me about this - without raising it on here, I would’ve likely deleted and moved to another app as there was no clues as to the issues, or any way to debug this easily.
Most recent (last night):
PC is Scanning main folder (I assume from Permissions update). Says 73,500 items out of sync. And says Remote Device NAS is Syncing 77% (168GiB)
NAS is also Scanning main folder (I assume from Permissions update). Says there’s 880,000 items out of sync. And says Remote Device PC is Syncing 92% (131GiB)
PC is Scanning main folder. Says 18 items out of sync. And says Remote Device NAS is Syncing 93% (49.4GiB)
NAS is also Scanning main folder. Says there’s 99 items out of sync. And says Remote Device PC is Syncing 99% (5.15GiB)
I want to know, in which way you installed Syncthing. If you also use the Synology SPK-Package by SynoCommunity like me, you have a group is called “sc-syncthing”. Maybe you have a user is called “syncthing” or anything like that
For any folder you must set such user or group. The best and easiest way to adjust this is via Control Panel > Groups, then select “sc-syncthing”, Edit > Permissions and then select all the shared folders with which Syncthing should be able to work.
You find that entrance in the group definition file “/etc/group”. That means, such settings for Resilio is not needed as described for Syncthing above. So you could delete “rslsync” in your above list and Resilio will still run.
And there are sometimes problems with permissions at Resilio too, but they are easier to solve. That Resilio is a member of the admins, however, is maybe a bigger risk.
Permission for sc-syncthing was “custom” and I’ve changed this to read/write and inherited to all subfolders and files and it’s run its way.
AND I’M NOW UP TO DATE
Ahh, apart from about 80K 0b items on the Remote side, in the .sync folder. Which I’ve already deleted from BOTH sides as real folders and files but still exist in the .sync folder. Shall I just delete them? Or will that screw up the DB?