Closed ivord976 closed 7 years ago
Same problem here
Installation after manual download to /volume1/public also failed.
The Synology package downloads the current distribution. Since the name of the new, single distribution is different, the package cannot download it anymore. You will have to wait for a new package or change the name in the appropriate file of the package (unpack the .spk and you will find it).
Thanks for your answer. Is there an easy way to unpack / change / pack the spk-package?
Yes. A .spk is actually a renamed .zip file. Open it with the zip unpacker of your choice. I don't currently have access to it but if I remember correctly the file name is in scripts/installer.sh. You can change the file name it downloads, rezip the whole directory tree and load it manually though the Package Center.
That didn't work for me. For the new spk the dam shows an error "Wrong Fileformat" Tested to change the installer.sh on OS X via Finder, via Terminal (nano) and on the DiskStation via Text-Editor.
Same here... Wanted to reinstall my OpenHAB 2 on DS216play... but now I can't install it. Does anybody know when the problem could be fixed?
I want to continue :(
As mentioned already you can simply adjust the url and the file name in the installer script inside the spk file. After that it was working for me.
I used 7zip to open the spk file. There is a folder called scripts. Inside you find the "installer.sh". Edit this file and update the download file and download path to the following: DOWNLOAD_FILE="openhab-2.0.0-SNAPSHOT.zip" DOWNLOAD_PATH="https://openhab.ci.cloudbees.com/job/openHAB-Distribution/lastSuccessfulBuild/artifact/distributions/openhab/target"
Then update/save the changed installer.sh file
After that the spk file could be installed on my Synology...
Works for me too, thanks aurelio1/fiblode. The script fails to install from the public folder as PUBLIC_FOLDER="/volume1/public" was not defined
Works fine now! Thanks a lot ! @aurelio1 @fiblode
Thanks, it works. I'm a new user. that need for for OH2 work? i installed OH2 on DS414, but link http://192.168.1.2:8080/start/index not work. 'Unable to access the site' Maybe, need i to download some files?
With Mac, also unable to unzip/edit as reported/zip, rename as .spk. Invalid file format message.
Tried editing file with both Textmate and TextEdit.
Tried zip/unzip both in finder and in shell, including re-zipping excluding hidden files:
zip -r -X OpenHAB-2.0.0.008-SNAPSHOT-DSM6-syno-noarch-0.001.zip OpenHAB-2.0.0.008-SNAPSHOT-DSM6-syno-noarch-0.001
I traft a new release: https://github.com/openhab/openhab-syno-spk/releases/tag/2.0.0.009-SNAPSHOT-DSM6 Try it, please!
Thanks, Chris
OpenHAB-2.0.0.009-SNAPSHOT-DSM6-syno-noarch-0.001.spk on Synology DS1813+ not working. zip file seems to be downloaded to /volume1/@tmp/ maybe because /volume1/public does not exist
Also not completely working for me. Seems that the service is installed but there is nothing at /volume1/public Also I am unable to access the UI. At /volume1/@tmp is an file openhab-offline-2.0.0-SNAPSHOT.zip but with 0 byte
Sorry, my fault. I was not waiting long enough. It took a very very long time after the installation was finished, but after all I have access to the UI now.
Thanks @inspee yes, the wait time is very long...
I am getting an error when trying to install the package "There was a problem downloading openhab-offline-2.0.0.SNAPSHOT....". I think this is due to this announcement (https://community.openhab.org/t/a-single-distro-from-now-on/19903) of a move to a singe distro so there is no offline distro any more.