Moving to 64bit Openhab3 in Docker

Hello!
Can anyone explain how I can migrate from 32bit to 64bit OS ?
Now I’m running OH3 Docker image and want go to OH5m1 .
Hw: Rpi 4 4GB

Reinstall. The old times of installing 32bit two times to get 64bit are long gone.

  1. Make a backup of your OH
  2. Reinstall your OS to the 64-bit version of Raspian
  3. Reinstall Docker and any other needed software
  4. Pull the image (the correct architecture will be chosen) for openHAB, make sure it’s the same version of OH as the backup
  5. Restore your backup and clear the cache (you don’t want the 32-bit jar and kar files in the userdata/cache hanging around)
  6. Start the OH container
  7. If everything works, pull the 5 image and recreate the container.
1 Like

Can you explain how do this backup ?

Presumably you have some volumes mounted into the container. That’s the officially supported way to run OH. Well, make a copy of those volumes and copy them off the machine you are about to reimage.