openhab / openhab-syno-spk

openHAB Synology SPK Install Package
Eclipse Public License 2.0
161 stars 45 forks source link

There was a problem downloading openhab-.zip from the download link (3.0.0) #195

Open TxBase opened 2 years ago

TxBase commented 2 years ago

https://dl.bintray.com return an PR_END_OF_FILE_ERROR (FF) which causes the download of maven-metadata.xml to fail. Which causes to failing in parsing the version number and also downloading the file. 'https://dl.bintray.com/openhab/mvn/org/openhab/distro/openhab//openhab-.zip'

hmerk commented 2 years ago

See my other post. Download link can be found on openHAB web page.

vletroye commented 10 months ago

I did replace the download parameters of Installer.sh with

# let's figure out the latest available release version
BASE_PATH='https://github.com/openhab/openhab-distro/releases/download/'
OPENHAB_RELEASE="$(curl -s https://api.github.com/repos/openhab/openhab-distro/releases/latest | grep "browser_download_url" | grep ".zip" | cut -d '/' -f8)"
DOWNLOAD_FILE1="openhab-$OPENHAB_RELEASE.zip"
hmerk commented 10 months ago

What are you going to tell us with your last comment ?

vletroye commented 10 months ago

I am using the sources from release 3.0.0.000, for DSM 6.x (https://github.com/openhab/openhab-syno-spk/releases) In those, to fix the "issue" mentionned above, I did change the file scripts\installer.sh to fetch the openHAB-zip from github... I am indeed still using a DSM 6.x

But now, looking at the most recent sources; I realize that this release is obsolete... (the most recent source are for DSM 7.0 for which I presume the download script is updated accordingly)

Sorry.