Update-Path from 4.3.x (32 Bit) to 5.0.x / 5.1.x with new Raspberry Pi

Hello Forum,

I would like to update my existing openHAB installation from 4.3.3 (32-bit, Raspberry Pi 4 Model B with 4 GB RAM) with a Raspberry Pi 5 to 5.0.x or 5.1.x (I would wait for the first service release here).

I would like to switch from the existing Raspberry Pi 4 to a Raspberry Pi 5 with a new SD card and more RAM. Since I need to switch from 32 to 64-bit in my operating system, I think the hardware change also makes sense.

I would prefer a clean installation (without openHABian) and have already read something about this here: Release openHAB 5.0.0 Ā· openhab/openhab-distro Ā· GitHub

From your point of view, how would you recommend carrying out the update? I had imagined it as follows:

  1. Export the configuration of the existing openHAB 4.3.3 system
  2. Install the operating system on a new Raspberry Pi 5 with 64-bit
  3. Install openHAB 4.3.3 (or the latest 4.3.x version) on the new 64-bit system
  4. Import the existing openHAB 4.3.3 configuration into the new system
  5. Update to openHAB 5.0.x (according to the update documentation with breaking changes, etc.)
  6. Update to openHAB 5.1.x (according to documentation)

Would that be the right path? Have I forgotten anything?

Thank you and wishing you a few peaceful days,
Reinhard

You can update straight from 4.3 to 5.1. You do not need to go to 5.0 in-between. Other than that it should work.

1 Like

4G is more than enough so no, no need for a new Raspi.

Why??
And what do you mean by ā€œcleanā€ ?

Only swith the SD-Card here without a new Raspberry Pi?

Until now, I have always created my openHAB installations without openHABian. Otherwise, there is no reason to do so. Would the recommendation be to do it with openHABian?

Absolutely. It’s basically the same as a manual install, but it takes into account many pitfalls and the experiences of a large number of users and developers. And it’s not a disadvantage, since you can always choose the manual approach as well.

Yes. Make sure to get an ā€˜Endurance’ SD plus check out the SD mirroring feature of openHABian and get an USB card writer to remain in the box.

As the openHABian maintainer I’m probably too biased so cowardly refusing to answer that :wink:

2 Likes

I just want to elaborate a little on this because ā€œmanualā€ in this context could have multiple meanings.

Usually a ā€œmanualā€ install would be to install Java and then download and unzip the openHAB package. Configuring it to run as a service is an exercise left to the installer.

Then we have package based installers which include apt, yum, homebrew (new!), and maybe other where OH is installed as a package (e.g. sudo apt install openhab) and the configuration to have it run as a service is set up automatically.

openHABian installs openHAB using apt.

1 Like

Sorry, with ā€œmanualā€ I meant the ā€œapt-installationā€. I have done this before. :slight_smile: