QNAP NAS package (QPKG) available

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 127.0.0.1:8384 to 0.0.0.0:8384

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.

2 Likes