I am trying to run OpenHAB 1.8.2 on my new Synology 216play but I am not sure what the correct steps / the best practice for installation is…
This is what I did so far:
- installed Java8 through Paket Center
- installed OpenHAB-1.8.2-syno-noarch-0.001.spk manually
If I understood it correctly, than the spk is only creating the specific base folders and files for synology (and no runtime files)
So I tried to copy the 1.8.2 runtime files to the created /volume1/@appstore/OpenHAB directory.
Here I got my first problem: the folder was created with the openhab user as owner and my administration user does neither have permissions to write to this directory, nor to change the permissions on this folder.
Since I don’t know the password of the openhab user (who would have the permissions to copy the files there), what should be the correct way to get the files there?
What I did was, I downloaded the folder locally, deleted it from the NAS and uploaded it again with my user as owner, so I had the permissions to copy the runtime files there. Afterwards I gave access to this directory and all subdirectories to the openhab user.
Nevertheless, it seems that the permissions are not applied to all subfolders correctly, since I got some permission denied errors in the protocol, when trying to start OpenHAB through the Paket Center. So I am not quite sure, if my workaround was a good one. I manually changed the permissions of the subfolders where I got the errors and then it seemd to work, as follows:
When I try to start OpenHAB through the Paket Center, I get no error messages in the protocol, but the status stays “stopped” (although the protocol says, that OpenHAB is running).
When I try to open the OpenHAB interface it is working well (so it seems like its running correctly but the status is not set correctly in the Synology NAS).
Further, I still get sometimes some permission denied messages on some subfolders of the OpenHAB directory, so I think my “workaround” with replacing the initial OpenHAB directory is not working perfectly, since some permissions were not set correctly.
Can anyone tell my, how to correctly copy the files to the OpenHAB directory or how the permissions can/should be set?
And does anyone have an idea, why the Paket is not displayed as running in the Paket Center?
And one last question: does anyone know, how to display the protocol (OpenHAB logs) more userfriendly than with the “show protocol” option (I cannot copy/paste anything from there or search for specific things…)
Thanks for your hints in advance!