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:
- sudo openhabian-config
- Update > Stable
- 03 - Install openHAB
- 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”