Do port it to TOS5 please!
[ Syncthing ] Continuous Replication/Cluster Sync
Re: [ Syncthing ][ 1.20.1.0 ]Continuous Replication/Cluster Sync
waiting TOS5 app packaging tool
Re: [ Syncthing ][ 1.20.1.0 ]Continuous Replication/Cluster Sync
In the meantime, thanks for all the work! Then, I would also like to evaluate this app in comparison with Resilio. I have read good opinions on both of them. I hope this too will arrive soon. Have you tried them? Which one do you suggest? Thanks again
Re: [ Syncthing ][ 1.20.3.0 ]Continuous Replication/Cluster Sync
up to 1.20.3.0 and added TOS5 version
Re: [ Syncthing ][ 1.20.3.0 ]Continuous Replication/Cluster Sync
A thousand thanks! I immediately tried it. But I ask one thing, what path should I put for the shared folder on the TNAS? SyncThing always says "permission denied"
Re: [ Syncthing ][ 1.20.3.0 ]Continuous Replication/Cluster Sync
Folder permissions are very strict in TOS5
The app is running as user syncthing with group syncthing. Is recommended to not run as superuser.
By default, syncthing user have read/write access only to the default path /Volume1/Sync
So for the newly added folders in Syncthing app you have to choose /Volume1/Sync/NewFolder1; /Volume1/Sync/NewFolder2; etc
If you want to use any other folder from /Volume1 you have to:
- uninstall existing SyncThing app
- download again the file and install it
- Create a new group in TOS5 (as example SyncThingShare)
- From TOS5 give to group SyncThingShare read/write access to desired folder
- connect with ssh and add the user syncthing to group SyncThingShare
- now you should be able to add the folder in SyncThing app
The app is running as user syncthing with group syncthing. Is recommended to not run as superuser.
By default, syncthing user have read/write access only to the default path /Volume1/Sync
So for the newly added folders in Syncthing app you have to choose /Volume1/Sync/NewFolder1; /Volume1/Sync/NewFolder2; etc
If you want to use any other folder from /Volume1 you have to:
- uninstall existing SyncThing app
- download again the file and install it
- Create a new group in TOS5 (as example SyncThingShare)
- From TOS5 give to group SyncThingShare read/write access to desired folder
- connect with ssh and add the user syncthing to group SyncThingShare
Code: Select all
usermod -aG SyncThingShare "syncthing"
- now you should be able to add the folder in SyncThing app
Re: [ Syncthing ][ 1.20.3.0 ]Continuous Replication/Cluster Sync
I tried to follow the procedures you said. In fact, from SSH I found the existence of the user "syncthing" but he is not mentioned among the users in the control panel and in the group created for Syncthing (the group is visible instead). I then tried to create a folder in the default "Sync" directory and it actually works but I don't see it from the control panel among the existing folders (I only find it via SSH). Unfortunately following your steps still doesn't work, I'll try again tomorrow but I really followed the instructions step by step.outkastm wrote: ↑27 Jul 2022, 07:05 Folder permissions are very strict in TOS5
The app is running as user syncthing with group syncthing. Is recommended to not run as superuser.
By default, syncthing user have read/write access only to the default path /Volume1/Sync
So for the newly added folders in Syncthing app you have to choose /Volume1/Sync/NewFolder1; /Volume1/Sync/NewFolder2; etc
If you want to use any other folder from /Volume1 you have to:
- uninstall existing SyncThing app
- download again the file and install it
- Create a new group in TOS5 (as example SyncThingShare)
- From TOS5 give to group SyncThingShare read/write access to desired folder
- connect with ssh and add the user syncthing to group SyncThingShare
Code: Select all
usermod -aG SyncThingShare "syncthing"
- now you should be able to add the folder in SyncThing app
Re: [ Syncthing ][ 1.20.3.0 ]Continuous Replication/Cluster Sync
Fortunately after the last update I see the "Sync" folder so everything is fine, I just need to save the material there. Thanks again!
Re: [ Syncthing ][ 1.20.3.0 ]Continuous Replication/Cluster Sync
Only the users and groups created from TOS are visible in the interface (not the ones created from ssh)
I've changed a bit the behaviour of the app to require no connection in ssh
Syncthing app has full access by default to this path /Volume1/Sync
To give Syncthing app access to any other folder, edit that share location with read/write permission for group allusers
2) If you you don't want to give acces to allusers for that folder, just create another group called exactly syncthingapp
After Syncthing app is restarted, the user syncthing is made automatically part of the new group syncthingapp
Give read/write access for any needed folder to group syncthingapp, to make it accessible by Syncthing app
I hope now is more simple
I've changed a bit the behaviour of the app to require no connection in ssh
- Access to /Volume1/Sync
Syncthing app has full access by default to this path /Volume1/Sync
- Access to any other folder
To give Syncthing app access to any other folder, edit that share location with read/write permission for group allusers
2) If you you don't want to give acces to allusers for that folder, just create another group called exactly syncthingapp
After Syncthing app is restarted, the user syncthing is made automatically part of the new group syncthingapp
Code: Select all
uid=1014(syncthing) gid=4(allusers) groups=4(allusers),7(syncthingapp)
I hope now is more simple
Re: [ Syncthing ][ 1.20.3.0 ]Continuous Replication/Cluster Sync
Thank you so much for the time you dedicate to us