openHAB 2.5.x Patch Releases

Dear community,

As mentioned earlier this year, we are doing small patch releases for openHAB 2.5.

As a first one, we have just shipped 2.5.1 - please find its release notes here.
If you are not impacted by any of the listed changes, there is no urgency to update.

It is important to note, though, that this is the last 2.5.x distro release and future patches will only be made for the add-ons. In order to benefit from future add-on patches, you will need the 2.5.1 distro as you are otherwise stuck with version 2.5.0 of all add-ons.

Please also be aware that the footer of the dashboard will still say “openHAB 2.5.0 Release Build” - this is because the version of the core runtime is show, which has not been touched at all. To see the detailed version information, please have a look at userdata/etc/version.properties, which should look like:

openHAB Distribution Version Information
----------------------------------------
build-no        : Release Build
online-repo     : https://openhab.jfrog.io/openhab/libs-release

Repository        Version
----------------------------------------
openhab-distro  : 2.5.1
openhab-core    : 2.5.0
openhab1-addons : 1.14.0
openhab2-addons : 2.5.1
karaf           : 4.2.7

Regards,
Kai

14 Likes

How can the 2.5.1 release be installed (as an update from 2.5.0) when running openhabian on raspberry pi?
(Will it be installed, when I use function
03 | openHAB Stable Install or upgrade to the latest stable release of openHAB 2
in openhabian-config tool?)

For me it doesn’t seem to work right…
I get this:

2020-01-12 21:17:25.631 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-persistence-mapdb, openhab-binding-exec, openhab-binding-bluetooth, openhab-binding-airquality, openhab-misc-openhabcloud, openhab-binding-network, openhab-ui-habpanel, openhab-binding-denonmarantz, openhab-binding-chromecast, openhab-binding-harmonyhub, openhab-binding-xmltv, openhab-binding-mqtt, openhab-transformation-map, openhab-ui-classic, openhab-binding-kodi, openhab-binding-caldav-personal1, openhab-binding-logreader, openhab-binding-telegram, openhab-binding-systeminfo, openhab-ui-paper, openhab-binding-wol1, openhab-binding-http1, openhab-misc-market, openhab-binding-mail, openhab-transformation-javascript, openhab-binding-spotify, openhab-misc-ruleengine, openhab-transformation-regex, openhab-transformation-jsonpath, openhab-binding-miio, openhab-binding-horizon1, openhab-binding-ipp, openhab-binding-wifiled, openhab-ui-basic, openhab-binding-ntp, openhab-binding-openweathermap, openhab-binding-astro, openhab-binding-icloud, openhab-binding-expire1': Error:

	Error downloading mvn:commons-net/commons-net/3.6

Cleaning cache, etc doesn’t really help…
It happens on multiple instances, on multiple platforms, my test system:

Error downloading mvn:commons-collections/commons-collections/3.2.2

Could someone please add docker container and update the information on docker hub?

Thanks for the report, I have a suspicion what might be wrong there - I’ll remove the download for a moment, please stay tuned!

Thanks!
Downgrading to 2.5.0 obviously solves the problem…

Link seem broken, Kai.

Due to: “I’ll remove the download for a moment, please stay tuned!”

3 Likes

Ok, thanks for your patience. Fix is uploaded, in the linux packages you will find a new version 2.5.1-2 being available.

4 Likes

Hi, tried to update to version 2.5.1 with openhabian-config tool.
Unfourtnately the version isn’t found by openhabian-config.
If I use function “03 | openHAB Stable Install or upgrade to the latest stable release of openHAB 2”
only Version 2.5.0 is found.

How can I update to 2.5.1 with openhabian-config?

Thanks a lot

I have the same issue, via openhabian it doesn’t detect a new version

Correct. I found the patch release under the testing branch (where the milestone builds are released).

Thanks, but is this correct? I don’t want to change to testing branch

Hi @Kai,

When upgrading from 2.5.0 to 2.5.1-2 I get a different URI for online-repo:

openhabian@openhab:~$ cat /var/lib/openhab2/etc/version.properties 
openHAB Distribution Version Information
----------------------------------------
build-no        : Release Build
online-repo     : https://openhab.jfrog.io/openhab/libs-release

Repository        Version
----------------------------------------
openhab-distro  : 2.5.1
openhab-core    : 2.5.0
openhab1-addons : 1.14.0
openhab2-addons : 2.5.1
karaf           : 4.2.7

Yes, @shutterfreak, that’s the correct url, I have updated my post above!

2 Likes

No, I would expect it in the release repo as well. Looking at https://ci.openhab.org/view/Release%20Jobs/job/openhab-linuxpkg-release/18/console, it seems it was published to JFrog, but not to Bintray. @Benjy, can you help?

@Kai
… and is it correct to install the patch with
“41 openHAB testing Install or switch to the latest openHAB testing build”
or have I to wait for a new version of openhabian-config tool?

I can see the Debian packages for 2.5.1 on bintray, but after an apt update, the new version doesn’t show up. It looks like the apt repository is still missing some indexing data for 2.5.1.

curl -L "https://dl.bintray.com/openhab/apt-repo2/dists/stable/main/binary-amd64/Packages" | grep " 2.5"

will only show the 2.5.0 versions, not 2.5.1.

I was able to manually download and install the 2.5.1 Debian packages, but I suppose most people would prefer the regular apt upgrade workflow. I didn’t check, but probably openhabian is also affected by this.

FYI

This is what I’m seeing this morning

root@ODroid:~# apt-get install openhab2=2.5.1-2
ading package lists... Done
Building dependency tree
Reading state information... Done
 Version '2.5.1-2' for 'openhab2' was not found
root@ODroid:~# apt-cache madison openhab2
openhab2 |    2.5.0-1 | https://dl.bintray.com/openhab/apt-repo2 stable/main armhf Packages
openhab2 |    2.4.0-1 | https://dl.bintray.com/openhab/apt-repo2 stable/main armhf Packages
openhab2 |    2.3.0-1 | https://dl.bintray.com/openhab/apt-repo2 stable/main armhf Packages
openhab2 |    2.2.0-1 | https://dl.bintray.com/openhab/apt-repo2 stable/main armhf Packages
openhab2 |    2.1.0-1 | https://dl.bintray.com/openhab/apt-repo2 stable/main armhf Packages
openhab2 |    2.0.0-1 | https://dl.bintray.com/openhab/apt-repo2 stable/main armhf Packages