Trying to upgrade 2.4 to 2.5

if i use openhabian-config
and try tu upgrade to stable version, nothing seems to happen.

if i run
sudo apt-get upgrade openhab2 i get
openhab2 is already the newest version (2.4.0-1).

what is the problem? :slight_smile:

Did you upgrade openhabian-config first?
Did you check the openHAB 2.5.0 Release note for any breaking changes?

asterisk (*) stand for stable in config tool…

There were breaking changes moving from 2.4.x to 2.5.x. There are even more possible ones moving to the latest stable 3.0.1.

2.5.x is stable and only bindings are updated but it should be considered a major upgrade with breaking changes.
2.5 started the rearchitecting of the back end (away from Eclipse Smart Home) that was completed in OH3.

i used to have 2.5 version running, but had to restore my backup image that had 2.4 version. now i am not able to upgrade.

What tools / process did you use to backup & restore? There may have been some 2.5 pieces still lingering in the OS.

i fully formated sd card with sd formater tool and then loaded image with win 32 disk…
still have no idea why it shows openhab2 is already the newest version (2.4.0-1).

Not sure if that could be the reason but

  • is the right repository used in /etc/apt/ and it’s subdirectories ?
  • did you try: sudo apt update; sudo apt upgrade ?
1 Like

i just restored same image one more time and same process went through successfully. Thanks for the help