Migration from OpenHab 2 to 3 failed / OpenHabian | There was an error or interruption during the execution of: "03 | Install openHAB"

I followed this guide to migrate from OpenHab 2 to version 3 (OpenHabian):

First, I had done the following as described here (switch to jfrog.io) https://v2.openhab.org/docs/installation/linux.html:

echo 'deb https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main' | sudo tee /etc/apt/sources.list.d/openhab2.list

Then update the system with

sudo apt update && sudo apt upgrade -y

After that:

  1. sudo openhabian-config
  2. Update > Stable
  3. 03 - Install openHAB
  4. Say yes to Java Zulu 11 32 bit installation etc

Screenshots when process finished:

Entries before:

2023-08-06_02:22:23_CEST [openHABian] Adding an openHAB dashboard tile for 'openhabiandocs'... Replacing... OK
OK
OK
2023-08-06_02:24:22_CEST [openHABian] Deleting mapdb persistence files... OK
2023-08-06_02:24:22_CEST [openHABian] Migrating Amanda config... OK
2023-08-06_02:24:22_CEST [openHABian] Migrating Samba and mount units... OK
OK
2023-08-06_02:24:24_CEST [openHABian] Migrating frontail... OK
2023-08-06_02:24:25_CEST [openHABian] Migrating homegear... sed: /etc/systemd/system/homegear.service kann nicht gelesen werden: cannot be read: File or directory not found
OK
FAILED (restart ZRAM)

When I try to install ZRAM from openhabian-config UI:

2023-08-06_02:46:02_CEST [openHABian] Updating Linux package information… OK
2023-08-06_02:46:21_CEST [openHABian] Updating Linux package information… OK
2023-08-06_02:46:21_CEST [openHABian] Installing basic can’t-be-wrong packages (screen, vim, …)… OK
2023-08-06_02:46:22_CEST [openHABian] Installing additional needed packages… OK
2023-08-06_02:46:57_CEST [openHABian] Installing pigpio package… OK
2023-08-06_02:47:06_CEST [openHABian] Installing additional bluetooth packages… OK
2023-08-06_02:50:55_CEST [openHABian] Updating Linux package information… OK
2023-08-06_02:51:03_CEST [openHABian] Installing ZRAM required packages (make, libattr1-dev)… OK
2023-08-06_02:51:09_CEST [openHABian] Installing ZRAM code… FAILED (clone zram)
2023-08-06_02:51:10_CEST [openHABian] Setting up OverlayFS… FAILED (make overlayfs)

Screen: There was an error or interruption during the execution of: “30 | System Settings”

I don’t think you followed the instructions correctly.
Plus, those are fairly old docs (from around OH3 release time) and quite some has changed since.
Zulu doesn’t work any longer ( in quite some months in fact).
OH4 has become available.

Long story short, you shouldn’t be expecting openHABian to perform in this muddled-up context any longer.
I suggest you make a fresh install.

The documentation for openHABian is very short: Migration from openHAB 2 | openHAB

“If you are working with an openHABian setup, the upgrade is quite easy.”

Unfortunately, I can not confirm that in this case :slight_smile:

I worked through the night and now have everything cleanly switched to openHAB 4 because the backups for openHAB 2 could not be used for 3 or 4. I now had to restore everything manually and by hand.