Identify OH2 Version?

Apologies is this is easy.

But how can you confirm what version you are running? If it is the latest snapshot build or other? Is this identifiable anywhere with the PaperUI or elsewhere? Or only by stopping and starting OH2 manually to see the version?

Was also wondering when your apt-get upgrade. Is there any check to verify if you are potentially upgrading a stable release over a newer snapshot release?

On your console you have a bunch of options:

# currently installed version:
$ dpkg --list | grep openhab
ii  openhab2-offline                2.0.0~20160923010346         all          openHAB Offline Distribution
# or
$ dpkg -s openhab2-offline | grep Version
Version: 2.0.0~20160923010346

# while/before upgrade:
$ sudo apt update
...
$ apt show openhab2-offline | grep Version
Version: 2.0.0~20160923010346
# or
$ apt list --upgradable
openhab2-offline/unknown,unknown 2.0.0~20160923010346 all [upgradable from: 2.0.0~20160923010346]

I’m not sure about a frontend option.

1 Like

To give another option, I find it easier to see how behind I am with comparing what the karaf console says:

ssh openhab@localhost -p 8101
(Default Password: habopen)

With JFrog.

3 Likes

Since openHAB 2.1 you can find the exact build version of your system on the first page of the openHAB dashboard:

The version of openHAB can also be found without the need for openHAB to be running. Check the file etc/version.properties, e.g. /var/lib/openhab2/etc/version.properties.

5 Likes

I am using the docker container and the version info can be found at

/openhab/dist/userdata/etc/version.properties
/openhab/userdata/etc/version.properties
1 Like