What version is my OH?

Sory, maybe a stupid question, but where do i see what version of OH im using, im on ubuntu machine…

Also, how to update to latest ?

Thnx !

In a browser, and assuming it’s running on the same machine, go to localhost:8080. Your version will show along the bottom of the screen.

To update depends on how you installed it - how did you install openHAB?

Hi

If you want to know the exact version, one method is to log into the openHAB2 console, as the version is shown in the welcome message.

I believe the very latest version is

2.5.7-1

Another trick that I’ve just learnt is this

Try

apt-cache policy openhab2 { or any other package }

Which will show you something like

1 Like

Ah yes thnx, i was there, but didnt look down :slight_smile:

I installed it with apt :slight_smile:

Thanks !

1 Like

Ok, managed to upgrade it via:

sudo apt-get upgrade openhab2
1 Like

From what version? Upgrades from versions prior to 2.5 will require other changes.

I had 2.5.1something

1 Like

Good point

Version 2.4 release notes

1 Like

I think you meant to link to the 2.5 Release Notes. You linked to 2.4.

Another excellent point

Version 2.5 release notes

1 Like

Here 2 more ways to find out the version:

xyz@xyz:~$ 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.7
openhab-core    : 2.5.0
openhab1-addons : 1.14.0
openhab2-addons : 2.5.7
karaf           : 4.2.7
xyz@xyz:~$ openhab-cli info

Version:     2.5.7 (Build)

User:        openhab (Active Process 1450)
User Groups: openhab tty dialout audio

Directories: Folder Name      | Path                        | User:Group
             -----------      | ----                        | ----------
             OPENHAB_HOME     | /usr/share/openhab2         | openhab:openhab
             OPENHAB_RUNTIME  | /usr/share/openhab2/runtime | openhab:openhab
             OPENHAB_USERDATA | /var/lib/openhab2           | openhab:openhab
             OPENHAB_CONF     | /etc/openhab2               | openhab:openhab
             OPENHAB_LOGDIR   | /var/log/openhab2           | openhab:openhab
             OPENHAB_BACKUPS  | /var/lib/openhab2/backups   | root:root

URLs:        http://192.168.137.29:8080
             https://192.168.137.29:8443

4 Likes

That is the only way that we were told would work for 2.5.1. The Web UI still said 2.5.0.