Hi, I had openhanded 2.4 installed in a synology nas DS3617xs with DSM 6.2.2-24922 Update 4.
I installed 2.5 on top of 2.4 and it did not work. The installation of the spk removed all the files in /var/homes/openhab and it removed the openhab user.
I did two more attempts:
I un-installed and did a clean install and it did not work. It did not create the user openhab.
I un-installed and created the user and then installed again and it did not work but this time it did not deleted the user.
I installed back openhab 2.4 and it worked ok. Then I copied back the config filed (that I had backed up) and everything works the same as before.
Any idea of how I can make it work? It has to be easy, 2.4 works very well.
can confirm this behaviour:
I tried updating the SPK package from 2.4.002 to 2.5 and it failed. Also deinstallation of 2.4 and new installation of 2.5 failed. Service could not be started and I also noticed the missing “homes/openhab” directories.
Would e great if someone could look into this issue with the synology package. In case you’ll need someone to test releases on Synology just let me know.
Hi, I repeated the process again and tried to look into the installation logs for 5 minutes but I did not find anything obvious.
Maybe during Christmas I have time to take a look.
What I noticed is that this time it did not delete the files in homes/openhab. I have no idea why.
I have looked into the install packages and the only differences are the owner and rights of the files in the spk package (it is just a tar file)
and these two lines in the install script:
worked for me as well. Now that the 3.0 Snapshot was released today, would an update work or would you have to change rights again (as I don’t know how to do)?
Hi, I checked the 3.0 spk permissions and they are also wrong. It will not work, but I don’t want to install it so I have not fixed it. If the openhab build is not fixed by Christmas, I might fix it then. Sorry I am a bit busy, but you can try. It is just a tar file.
no problem! I’d like to install it, as soon as it is a release. And I asked that question because I don’t know how to make the changes you did and because I asked myself if I should find out.
I would stay clear from the 3.0 snapshots unless you want to be a pre-alpha tester. Recently all OH1 add-on support was removed and soon many UIs like Paper UI will be too.
Hi, here it is the spk for openhab 3.0 but I have not tried it myself as I don’t want to install it yet.
I hope it works. Please let me know if it works.
[problem solved in official repo. link removed]
As usual, no warranty at all. As I said I have not even tried it myself.
Hi wborn, it is clear that the Synology package is broken. It is impossible that the package has ever worked, not even once for anybody. I tried to contact the developer who made the last commit to that but I have not succeeded. Any idea on how to contact them to explain what is wrong so the official package works?
Basically the shell scripts in the spk package do not have execution permission. Plus the files inside the package have ownerships which are not 0/0 but some user (this second thing will not break it but it is not nice). I don’t feel comfortable having the links to the fixed packages pointing to my personal Dropbox account.