NAS - Synology Box

If you used this [http://cytec.us/spk/151][1] package, then the user was added automatically.

Can you add it (somehow) to the package repository of synology? [1]: http://cytec.us/spk/151

No, sorry. I don’t have write access to cytec’s repository.

Here’s the GitHub page where cytec communicates with his community:

I’ve just pushed out a update of my spk including the latest available version of syncthing (0.10.4) which is statically compiled and therefore should run on every DS it supports…

I have no idea how much people are unable to update through the syncthing interface because they don’t have the needed librarys so i’ve disabled (for now) the update function while compiling.

hopefully i’ll be able to set up some kind of automation to update the SPK more often… manually compiling it all 6 days will be pain :smiley:

Thank you for keeping us updated with your versions. For the automation, did you see this: https://pulse-forum.ind.ie/t/im-handing-out-build-boxes/763 Maybe you can use it.

Thanks didn’t know about that. i guess i’ll get in touch with calmh then, maybe we can work something out :smile:

currently i’m still testing about the dynamic binarys maybe there is a way to compile the missing libs and include them in the SPK so i can enable syncthings internal update method again (would be my prefered way)

I seem to be getting a File contains no digital signature error when trying to install via Package Center?

Go to Package Center -> Settings and in section “Trust Level” you need to change to “Any publisher” or to “Synology … and trusted publishers”.

looks that https://cytec.us/spk/ is not contain syncthing anymore. is there some another package? thank you

Add this repo and enable Any Publisher http://packages.synocommunity.com/

i’ve added packages.syncocommunity.com, but my DS108j still doesn’t show the package in the package manager. what did i miss?

In the DSM / Package Center, check that you have also entered these items (in addition to adding the repo in the “Package Sources” tab):

(1) In the “Beta” tab, select “Yes, I want to see beta versions”.

(2) In the “General” tab, Trust section - select “Synology Inc. and trusted publishers”.

i don’t really have either possibility. i’m only running DSM 4.0.x though, since DSM 5 isn’t supported on the DS108j (sorry i wrongly wrote DS108j+ before).

I am using DSM 5.2, I am not sure how 4.x handles 3rd party Package sources.

In the 5.2 DSM, accepting Beta and “trusted publishers” installs a Synocommunity certificate (RSA / 2048) on the Synology to handle permissions. Maybe there is some similar method in DSM 4.x, I don’t remember.

If no one comes along to help you here, visit the Synology Forums for assistance with DSM 4, 3rd party repo’s, and beta packages. Also Synocommunity might be useful - to determine if your DS108j CPM architecture is supported by their current version of Syncthing: https://synocommunity.com/package/syncthing

The issue isn’t with Package Center or DSM version, but with the model itself. The DS108j is based on PPC, and that isn’t supported by Go unfortunately. See the thread starting from here: https://github.com/SynoCommunity/spksrc/issues/1011#issuecomment-44748868

Is anyone having permission issues?

I have installed the package from SynoCommunity on my DS414 successfully, even automatic upgrades are working. A user called “syncthing” runs Syncthing and synchronizes my folders, which are all located under the /volume1/syncthing directory owned by “syncthing” as user and “users” as group.

Unfortunately, some of the synchronized files have even no read group permission, which makes things very complicated when my typical NAS user (so not the “syncthing” user) tries to access the syncthing share.

Has anyone a similar setup and if so, how do you handle such situations?

Just installed Syncthing on my Synology NAS (actually a HP Microserver running XPEnology). I used the package from the synocommunity which installed flawlessly and I was able to update it from the web GUI.

To give it a try i used the /usr/local/syncthing/var and all the files seem to be synced. However, i can not find such location on my Synology NAS. Or is it somewhere in a database? How can i browse to these files? Also i tried configuring another directory but i get permission denied, i see no Syncthing user created on my NAS. Any one else experienced this?

Does Syncthing btw support two-way syncing with deletion on both sides? BTsync was fine but its too expensive in my opinion. Rather donate to this if i get it working.

/usr/local/syncthing/var is the home directory of the syncthing user, but that location is not accessible via the DSM interface. You shouldn’t use it as a sync location, but instead, sync a shared folder or a dir inside a shared folder, something like that.

To allow Syncthing access to resources, you can set (RW) permissions for the sc-syncthing group in the DSM interface. Although you can’t actually see the syncthing user (system users are hidden), it is a member of that group.

I now use the following path: /var/services/photo/Foto’s Simon/Telefoon/Camera, which is working fine.

The permessions are working fine as well after a DSM upgrade i had to reinstall Syncthing and everyting works fine.

The only downside till now is that i dont get two-way-sync to work. Whenever i delete something on my Phone it will be deleted on my NAS. But if i delete photo’s on my NAS they wont get deleted on my Android phone :frowning:

Because master option is most likely set.