Wow. Many-many-many thanks to the developers!
worked like a charm on my qnap-TS112P. Just had to find out how to install a .qpkg file manually… : www.qnap.com/en/how-to/knowledge-base/article/how-to-install-qnap-applications-qpkg-files-manually/ My ‘uname -m’ is: arm5tel. Works with your “TS-ARM-X19” File. It upgraded SyncThing to v1.20 instantly. Thanks and bonjour!
Unfortunately the link is dead now. Do you still provide the QPKG? Had it installed before but I had to reset my NAS and lost it unfortunately.
@murpledurple Sometime ago, I did my own using QDK and Entware. Here it is: https://drive.google.com/file/d/1ufJVoFieKs6t8x8gwOqef8nyJuSeo2Oz/view?usp=sharing
I’ve not yet open-sourced the cooking recipe but it’s mainly baking Phillipe’s original shell script into a new package plus minor line changes to be compatible with newer QNAP QTS 4.x Firmware. I’m not going any further here as I’ve sold my QNAP and replaced it with a 2011 year “old” desktop pc as home server.
I also remember it being upgrade-able. If you don’t like to online upgrade, just head into /share/CACHEDEVx_DATA/.qpkg/syncthing-public/ and replace the “syncthing” binary file with the most recent release from the Syncthing (official) release page, amd64.
Sorry, I forgot to specify: my QNAP runs ARM, not x86.
Found this repository, but is it trustworthy?
[Edit] Apparently it’s somewhat official, but still slightly sketchy: https://forum.qnap.com/viewtopic.php?f=121&t=145923&p=699728
Has anybody some tips on running the syncthing ARM binary directly? Thanks
[Edit2] Thank you @Catfriend1 for pointing me in the direction of Entware, this seems like a feasible solution.
Hi, Even I stop develop QPKG for QNAP due to QNAP policy and move to APKG for Asustor … The “original” QPKG (mine) is for all and select the good go exec based on architecture detected. BUT it is not maintains for new QTS version …
As a workaround you can used Entware QPKG this package manager include + 2500 packages including Syncthing. don’t be afraid if version is old … internal update mechanism ask you to upgrade to last version.
Do you have it available for download somewhere? As I said, the link to the QNAP forum is dead unfortunately.
I think it would also work to use my qpkg and just download the syncthing arm executable and overwrite the amd64 one with it after the package was installed. The qpkg is just a wrapper ;-).
I was able to install it via Entware, many thanks!
I’ve updated my QPKG build recipe for QTS 5.x and Syncthing v1.18.6 (linux-amd64).
Build instructions for DYO: syncthing-msi/Build_Syncthing_QPKG_with_QDK.txt at master · Catfriend1/syncthing-msi · GitHub
Files for your own Syncthing QPKG build: syncthing-msi/unrelated_stuff/qpkg/syncthing at master · Catfriend1/syncthing-msi · GitHub
Tested on TVS-EC1080 and TVS-1282.
Would it be conceivable that you would use your expertise to continue the now archived Syncthing package for Synology? Unfortunately, I can’t do that, as an ambitious user I have some knowledge, but I just don’t have a background as a programmer.
Sorry, I can’t help here as I don’t own a Synology NAS.
We are running under QNAP’s root account which may be problematic in some future firmware versions, maybe, depending on what strategy QNAP takes.
Same you have now with Synology DSM 7. The package of Safihre from SynoCommunity runs very good in that new environment. The 3rd party installer also can not run longer as root, which was possible up to DSM 6.
Note that Safihre stepped down as maintainer for the SynoCommunity Syncthing SPK package, though he is still around. There are other people (including me) who keep the package alive though, so from my perspective there’s no need to advertise for making a new package for Synology.
Thanks @Catfriend1. I was able to download and install that QPKG file on my brand new QNAP TS-1673 NAS (QTS 188.8.131.521). However while it installed, it doesn’t seem to run. Is this version of NAS unsupported, or am I doing something wrong?
Also, I note there is a Syncthing app download available from the QNAP Club website (qnapclub.eu). Is this the same software? There is a list of available versions on the download page (click the download button to drop down the list), but my NAS model is not on the list.
I’ll post a couple of pictures, the first is the icon in the app store, and the second is what I get when I click ‘open’. Clicking ‘open’ again in the dialog window does nothing.
you need to edit /share/CACHEDEVx_DATA/.qpkg/Syncthing/config.xml to activate the Web Gui remote access first and set a port. I didn’t open the web ui to the outside by default as there are still users installing the pkg on their box , wan-exposed, and then complaining the web ui of ST is exposed to everyone outside without a password.
Figured I’d just improve upon this answer regarding support in QNAP devices.
By default, access to the Web GUI is disabled outside of the device itself, so you have to edit the
/share/CACHEDEVx_DATA/.qpkg/Syncthing/config.xml file and look for the following:
<gui enabled="true" tls="false" debugging="false"> <address>127.0.0.1:8384</address> <apikey>zz3OPxjCCkgMYHVgpR2saN9dg3HbG2eg</apikey> <theme>default</theme> </gui>
and ensure that the
<address> line is changed from
Then, if you want to configure the QNAP Admin Page Web GUI to open the application when clicking the open icon for it, you’ll need to edit the
/etc/config/qpkg.cfg file and look for the
[syncthing] entry in this file (which will be near the end of the file if you just installed the syncthing qpkg package) and add the following to the end of this entry:
WebUI = / Web_Port = 8384
Ensure you have restarted syncthing via the QNAP Web GUI or via ssh (by running
/share/CACHEDEVx_DATA/.qpkg/Syncthing/syncthing.sh restart) and you should now be able to open Synthing via your QNAP IP address or the “open” link in the Web GUI (reload the page after making edits described above).
Note you can also define whatever port number (provided it is available in your QNAP NAS) by replacing
8384 with whatever you prefer in BOTH the config files described above.
Hope this helps.
I’ve changed the QPKG so that the Syncthing Web UI is listening on 0.0.0.0:8384 and can be accessed from the QNAP app center page by clicking on “Open”.
Kind regards, Catfriend1
Link to QPKG download: Release Syncthing QPKG v1.20.4 · Catfriend1/syncthing-msi · GitHub
Link to source which shows how to build the QPKG yourself: syncthing-msi/unrelated_stuff/qpkg at master · Catfriend1/syncthing-msi · GitHub
I’ve got a ticket that QNAP Firmware 5.0.1+ doesn’t allow to install/run the package. I’ve fixed that in the recent build of the QPKG.
I forked Catfriend1’s repository and built packages for all archs. I can only test arm_64 on my QNAP TS-233 which works. Any feedback is much appreciated.