I am running several instances of Openhabian on raspberry pi 4’s, they are on varying versions, all at least version 3. I’d like to get them all up to date before I get too far behind. Last time I tried using the menu option in openhabian-config to update I wasn’t able to get it to jump from version 3 to 4(might have worked for minor updates within the same version, I don’t remember anymore). I was then able to successfully updated by backing up my configuration, flashing the new version of Openhabian to a SD card and then restoring the previous configuration. I could see some potential conflicts happening doing it that way but I didn’t seem to run into any. So what is the recommended way of updating if it is different than what I did?
EDIT:
The menu option should work and do.
But it’s a good idea to reinstall your systems at times to also not get too far behind on the OS part, and with OH5 and its potential requirement to reinstall the OS, it’s indeed the right time to do that now.
Thanks @Udo_Hartmann for pointing that out.
Maybe the version 3 was too old to be upgraded automatically? Best practice (in my experience) is to update to the latest version of the currently installed major version, then upgrade to the next version (so e.g. 3.x to 3.4.5 before 4.0 gets stable, then later upgrade 3.4.5 to 4.x).
However, for the next major upgrade there is a another mandatory major upgrade first, that is 32 Bit to 64 Bit and Java 17 to Java 21.
If you aren’t at 64Bit already, afaik you will have to do a fresh OS installation anyway
That must be what it was, I’m pretty sure it worked within version 3 but wouldn’t go to version 4. Thank you for your replies!