I found a solution for myself.
I used the manual installation guide for Linux http://docs.openhab.org/installation/linux.html#manual-installation:
Create a shared folder “openHAB2” via the QNAP webinterface.
Create a user (openhab) and group (openhab) in the QNAP webinterface.
The “adduser” command ( adduser --system --no-create-home --group --disabled-login openhab) did not worked on the QNAP console.
Add the user to the group and and give read/write access to the “openHAB2” folder via the webinterface.
Login via putty SSH to the QNAP, and switch to the openHAB2 folder.
- Download the latest snapshot release.
(btw. there is a wrong link for the release because of the actual version. I don’t know if it is possible to change the links automatically in the installation guide.)
You can find the right path if you go to:
<<<the hyperlink function isn’t working here>>>
Right click on the .zip file and copy the link.
<<<the line break also isn’t working here>>>
- Unzip the openhabXX.zip file.
unzip /share/openHAB2/openhabXX.zip -d /share/openHAB2
- Change the owner of the openHAB2 folder.
chown -hR openhab:openhab /share/openHAB2
- Change the HTTP port of openHAB because you QNAP webinterface uses the same one.
and change it to
- Start openHAB and go to the website: http://your-qnap-ip:8090. Enjoy!
/bin/bash -c '/share/openHAB2/start.sh' openhab
You can add a network share on your computer for the QNAP openHAB2 folder.
I have to say that I don’t know how I can start “my” openHAB2 installation as a service but I can edit and test the items/things/sitemaps etc. files directly, now.