-
Notifications
You must be signed in to change notification settings - Fork 9
DSM 7 - SyncThing unsupported due to the root access #12
Comments
The intention is to support DSM 7 eventually. As a side note, the text above is incorrect. Syncthing does not run as root. There are however pre- and post-installation scripts that run as root to set up the config volume and HTTP forwarding for the GUI. It's not clear to me how that works in DSM 7 without root, but I haven't investigated it yet. |
Seems I will have to reinstall my Synology from scratch, just finished Moments DB indexing/people DB ...now it's merged I guess it will not be compatible, week of work is lost (my problem though). Why Synology don't provide option but by default prevents it, I don't get it. Not sure if this helps ? https://help.synology.com/developer-guide/privilege/preface.html
|
OT but just in case someone considers : https://emby.media/community/index.php?/topic/89848-tutorialdowngrade-from-dsm-70-to-dsm-623/ |
@calmh if I can help anyhow with testing, let me know. |
From Synology I have the Developer Guide from September 2020, maybe is possible to have a update. But it give the roadmap mainly. |
I found a update for the DSM Beta which have some pages more. |
You guys are more than welcome to experiment with creating a compatible package, that would be helpful. |
I´m no developer, so is not so easy to help. I follow a lot of issues in the german Synology forum, since there are some APP developers available, having discussions about that. It seems for me, that the /var/packages/syncthing.net/conf/privilege { is a important part of all, because root no longer is possible. It seems it needs a temporary user for the installation is used instead of that. Also it seems, that some pathes are modified, but all that is not finally clear to me. |
On Synology homepage is possible to sign into a user account is also used in DSM for quickconnect etc. and also regarding support issues etc. This also can used for the Synology owned forum: https://community.synology.com/enu/ in which also can found discussions around. Also the found Toolset is maybe helpful |
You mean probably https://www.synology.com/en-global/support/developer#tool - your URL points to GitHUB - thanks for sharing btw. |
Based on details you shared, this is important. I know nothing about packages and build on Docker for Synology, however seems it's related only to https://github.com/kastelo/syncthing-synology/blob/main/syncthing/conf/privilege ? |
@calmh can you please advise - I guess we need Synology Package Toolkit Framework for DSM 7 - therefore branch DSM7.0, correct ? - https://github.com/SynologyOpenSource/pkgscripts-ng/tree/DSM7.0 I was planning to experiment yet I can't even setup build environment... Also from where shall be the key ~/synology-signing-key.asc taken ? Thank you. |
The platform names are always funky in Synology-world. Looking at their packaging scripts I think you can just pick any representative, like bromolow or apollolake instead; You can generate your own key or probably skip the signing entirely for development purposes. |
I am also screwed, was using Syncthing happily and in my stupid brain thought why not upgrade to 7.0 beta and that was the end of it. Damn! So sad. Wish there is a solution. |
@calmh thank you - I realized for Synology DS220+ I need probably GeminiLake....but trying to download it (it fails even within Docker container), but on my 500 MBit connection in Europe, download from US (SourceForge (San Diego, California, US) ) gets 70KB/s ... that's my progress after 2 days ;-( Maybe I will start playing with https://github.com/SynoCommunity/spksrc/tree/dsm7 ;-( Btw, also interesting : |
I am also screwed, was using Syncthing happily and in my stupid brain thought why not upgrade to 7.0 beta and that was the end of it. Damn! So sad. Wish there is a solution. So maybe you downgrade from DSM 7-Beta to DSM 6.2.3, is a little tricky but possible https://emby.media/community/index.php?/topic/89848-tutorialdowngrade-from-dsm-70-to-dsm-623/ If the way doesnt work properly, try without point 5, reboot of DS. I dont know your DS, if maybe have power enough, in the next time is better to use the VMM APP and VirtualDSM 7-Beta for all your tests, since up to now no third party app runs. For any tests I use also in parallel to DSM 6.2.3. |
WIll Syncthing work under docker? |
Syncthing also use docker images |
Seems they fixed download problems. |
Hello, @calmh DSM 7 has been released, SyncThing is still supposed to be updated ? |
I do not intend to do the work to update this package to DSM 7. PRs are welcome, though. |
Ok thanks for the clear statement! Understandable. |
@BPtLNfxZWo @3PSY0N for now this is the best option, works quite well but it does consume a little bit more of ram |
If you can handle the Docker config files in a tricky way, updates and RCs can be used flexibly. It doesn't work quite as smoothly as with the native installation and the performance isn't quite as good either. |
Hi, 2021-08-25 17:46:59: Failed to create folder root directory stat /volume1/EdPhonetoNAS/Phone: permission denied 2021-08-25 17:46:59: Error on folder "EdPhonetoNAS" (ahsux-7t9x4): stat /volume1/EdPhonetoNAS/Phone: permission denied 2021-08-25 17:49:16: Loading ignores: lstat /volume1/EdPhonetoNAS/Phone/.stignore: permission denied 2021-08-25 17:49:16: Failed to create folder root directory stat /volume1/EdPhonetoNAS/Phone: permission denied 2021-08-25 17:49:16: Error on folder "EdPhonetoNAS" (ahsux-7t9x4): stat /volume1/EdPhonetoNAS/Phone: permission denied |
Closing as we're no longer providing updates for this package and this repo is archived. |
Hi,
seems it's not possible to install SyncThing anymore on DSM 7 (beta), it's very unpleasant surprise [I haven't noticed this change in the Release log].
Can you please do anything about it ? Hope you can...
The text was updated successfully, but these errors were encountered: