Update von openHAB 4.1.0.M2
Verfasst: 14. Jan 2026 14:59
Hallo. Ich war schon lange nicht mehr hier.
Bei mir ist ein Shelly ausgefallen. Ich habe mir neue bestellt, diese sind leider von der Generation3. Ein einbinden in openHAB ist nicht möglich. Etwas gegoogelt und herrausgefunden, das openHAB 4.2.x nötig ist, damit das Shelly Binding die Shellys Generation 3 einbinden kann.
Jetzt habe ich versucht, openHAB zu updaten. Leider kommt ein Fehler.
Auch ein upgrade auf 5 wirft ein Fehler.
Was kann ich tun?
System
## Release = Raspbian GNU/Linux 11 (bullseye)
## Kernel = Linux 6.1.21-v8+
## Platform = Raspberry Pi 4 Model B Rev 1.1
## Uptime = 0 day(s). 0:2:3
## CPU Usage = 1.25% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 0.68, 5m: 0.43, 15m: 0.17
## Memory = Free: 2.61GB (70%), Used: 1.13GB (30%), Total: 3.75GB
## Swap = Free: 2.99GB (100%), Used: 0.00GB (0%), Total: 2.99GB
## Root = Free: 7.66GB (55%), Used: 6.03GB (45%), Total: 14.31GB
Wenn ich die Fehlermeldung vom Upgrade richtig verstehe, fehlt mir Java 21, und für Java 21 braucht man ein 64Bit System.
Beim update zur letzten stabielen Version (release), wird die Instalation abgebrochen und man solle es später nochmal versuche.
Vielleicht verstehe ich einiges auch nicht richtig.
Bei mir ist ein Shelly ausgefallen. Ich habe mir neue bestellt, diese sind leider von der Generation3. Ein einbinden in openHAB ist nicht möglich. Etwas gegoogelt und herrausgefunden, das openHAB 4.2.x nötig ist, damit das Shelly Binding die Shellys Generation 3 einbinden kann.
Jetzt habe ich versucht, openHAB zu updaten. Leider kommt ein Fehler.
Code: Alles auswählen
2026-01-14_14:32:23_CET [openHABian] Updating Linux package information... OK
2026-01-14_14:32:23_CET [openHABian] Beginning install of latest openhab release (stable repo)... OK
2026-01-14_14:32:25_CET [openHABian] Adding required keys to apt... OK
2026-01-14_14:32:26_CET [openHABian] Installing selected openHAB version... FAILED
Code: Alles auswählen
openhabian@openhabian:~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
raspinfo
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
openhab openhab-addons
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/676 MB of archives.
After this operation, 172 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
(Reading database ... 54869 files and directories currently installed.)
Preparing to unpack .../openhab_5.1.1-1_all.deb ...
[openHAB] WARNING: We were unable to detect Java 21 on your system. This is needed before openHAB is unpacked.
[openHAB] Java 21 may not be available on 32-bit platforms.
dpkg: error processing archive /var/cache/apt/archives/openhab_5.1.1-1_all.deb (--unpack):
new openhab package pre-installation script subprocess returned error exit status 1
Preparing to unpack .../openhab-addons_5.1.1-1_all.deb ...
[openHAB] WARNING: We were unable to detect Java 21 on your system. This is needed before openHAB is unpacked.
[openHAB] Java 21 may not be available on 32-bit platforms.
dpkg: error processing archive /var/cache/apt/archives/openhab-addons_5.1.1-1_all.deb (--unpack):
new openhab-addons package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/openhab_5.1.1-1_all.deb
/var/cache/apt/archives/openhab-addons_5.1.1-1_all.deb
Updating FireMotD available updates count ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
System
## Release = Raspbian GNU/Linux 11 (bullseye)
## Kernel = Linux 6.1.21-v8+
## Platform = Raspberry Pi 4 Model B Rev 1.1
## Uptime = 0 day(s). 0:2:3
## CPU Usage = 1.25% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 0.68, 5m: 0.43, 15m: 0.17
## Memory = Free: 2.61GB (70%), Used: 1.13GB (30%), Total: 3.75GB
## Swap = Free: 2.99GB (100%), Used: 0.00GB (0%), Total: 2.99GB
## Root = Free: 7.66GB (55%), Used: 6.03GB (45%), Total: 14.31GB
Wenn ich die Fehlermeldung vom Upgrade richtig verstehe, fehlt mir Java 21, und für Java 21 braucht man ein 64Bit System.
Beim update zur letzten stabielen Version (release), wird die Instalation abgebrochen und man solle es später nochmal versuche.
Vielleicht verstehe ich einiges auch nicht richtig.