I’m running a very old version of OH version 2.5.0 on a windows minipc .The system has been working flawlessly for years, but lately I’ve been experiencing some occasional problems. So I want to update the old version to the latest version now, but how do I do that, and is it easy? Can I update this version automatically? Or do I need to install a new version separately first? Is it possible to install it on a different machine and then transfer some folders or files with my programming? I found a lot of other posts related to updates but nothing regarding updating with such a big step..
Hi Koert,
General consensus here is to install a new version parallel to your existing install and migrate over by one binding(technology) at a time.
There’s also the option to ‘mirror’ the existing install by using the remote openhab binding so you can get the items in your new system first and then migrate binding by binding(do note that every item on the mirrored system is represented as a channel below the remote openhab binding). Using this option allows you to migrate rules earlier in the process which imho are the important parts after which you can pull in the devices by their respective bindings.
There’s a couple of topics in the migration category that might provide with some more insight into the undertaking, I think this one matches with your situation: Upgrading from OH2 to OH5
@j.hoekstra has the right answer but I just want to mention that if upgrading from OH 3 or OH 4 to the latest, you wouldn’t need to to go to this much trouble.
But the differences between 2.5 and and 3.0 are almost as big as the differences between 1.8 and 2.0 so running a parallel instance and reconfigure is the recommended approach. But if upgrading from a 3.0+ an in place upgrade is much more feasible.