You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,18 +59,22 @@ We provide code that is reported "as-is" to run on Ubuntu but we do not support
59
59
Several optional components such as WireGuard or Homegear are known to expose problems on Ubuntu.
60
60
61
61
Note with openHAB 4 and Java 17, `buster` and older distros are no longer supported and there'll be issues when you attempt upgrading Java 11->17.
62
+
Note openHAB 5 and Java 21 require a 64 bit image.
62
63
Should you still be running an older distribution, we recommend not to upgrade the distro but to re-install using the latest openHABian image and import your config instead.
63
64
64
-
### 64 bit?
65
-
RPi 3 and newer have a 64 bit processor. There's openHABian images available in both, 32 and 64 bit.
66
-
Choose yours based on your hardware and primary use case. Please be aware that you cannot change once you decided in favor of either 32 or 64 bit. Should you need to revoke your choice, export/backup your config and install a fresh system, then import your config there.
67
65
68
-
Use the 64 bit image versions but please be aware that 64 bit always has one major drawback: increased memory usage. That is not a good idea on heavily memory constrained platforms like Raspberries. If you want to go with 64 bit, ensure your RPi has a minimum of 2 GB, 4 will put you on the safe side.
69
-
You can use the 32 bit version for older or non official addons that will not work on 64 bit yet.
70
-
Note there's a known issue on 32 bit, JS rules are reported to be annoyingly slow on first startup and in some Blockly use cases.
71
-
If you consider using the (newer but still experimental) Java version 21, if possible choose 64 bit.
66
+
### on 64 bit
67
+
openHAB 5 requires to run on a 64 bit OS and Java 21 version so the recommended openHABian image is the 64 bit version.
68
+
69
+
Many RPi users are still on a 32 bit based Linux OS. You can check bitness using the command `getconf LONG_BIT`.
70
+
64 bit has one major drawback: increased memory usage. That is not a good idea on heavily memory constrained platforms like older Raspberries. So if you want to go with 64 bit, ensure your RPi has a minimum of 2 GB, 4 will put you on the safe side.
71
+
On x86 hardware, it's all 64 bit but that in turn once more increases memory usage. A NUC to run on should have no less than 4 GB, 8 are better.
72
+
73
+
You can *temporarily* use the 32 bit version if you want to stay with openHAB 4 or if you cannot upgrade your HW or OS at the very moment, BUT
74
+
ATTENTION: RUNNING openHAB 5 on any 32 bit OS image IS NOT SUPPORTED ANY MORE and known to have issues with some functions like JS scripting.
75
+
Please don't ask for help if you nonetheless run in 32 and hit trouble.
76
+
You cannot change your OS once you decided in favor of either 32 or 64 bit, so should you decide to upgrade, export/backup your config and install a fresh system, then import your config there.
72
77
73
-
On x86 hardware, it's all 64 bit but that in turn once more increases memory usage. A NUC to run on should have no less than 8 GB.
Copy file name to clipboardExpand all lines: build-image/template_rpi-imager-openhab.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
},
16
16
{
17
17
"name": "openHABian (32 bit)",
18
-
"description": "This version can be used for systems with less memory like a RPi 3.",
18
+
"description": "Fallback version. This version can be used for RPIs with less than 2 GB of memory.\nBe prepared that you might run into issues when you attempt to run openHAB 5.\nParts of 5 requires a 64 bit OS and Java. You can run openHAB 4 with this image.",
Copy file name to clipboardExpand all lines: docs/openhabian.md
+17-7Lines changed: 17 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ With that being said, we can't and won't stop you from doing whatever you want,
45
45
46
46
Our current recommendation is to get a Raspberry Pi model 4 or 5 with 2 or 4 GB of RAM, whatever you can get for a good price.
47
47
Older RPi models (or models with less RAM) can be sufficient to run a smallish openHAB setup.
48
-
Please note that running 64bit mode on RPi's with only 1 GB of RAM tends not to work super well.
48
+
Please note that running 64bit mode on RPi with only 1 GB of RAM tends not to work super well.
49
49
50
50
You will need an SD card to go along with your Raspberry Pi, SD cards labelled "Endurance" are best for openHABian.
51
51
Cards labelled "Endurance" can handle more write cycles and will typically last longer for openHAB's use conditions.
@@ -58,11 +58,16 @@ This will give you a ready to go drop in replacement in the case of any hardware
58
58
All Raspberry Pi models are supported by openHABian.
59
59
60
60
::: tip Note
61
-
With the upcoming openHAB 5 release, we will drop support for anything older than an RPi 3 as openHAB 5 will require a 64 bit processor.
61
+
With openHAB 5 release, we have dropped support for anything older than an RPi 3 as openHAB 5 requires a 64 bit processor.
62
62
:::
63
63
64
+
65
+
Running in 64 bit has one major drawback: increased memory usage. That is not a good idea on heavily memory constrained platforms like older Raspberries. Ensure your RPi has a minimum of 2 GB, 4 will put you on the safe side.
66
+
For older hardware, you can attempt to use the 32 bit image we still provide, it should work but we do not support running openHAB 5.
67
+
64
68
openHABian can run on x86 based systems but you will need to install debian yourself.
65
69
See [installation on other Linux systems](#installation-on-other-linux-systems) for directions on what to do.
70
+
On x86 hardware, it's all 64 bit but that in turn once more increases memory usage. A NUC to run on should have no less than 4 GB, 8 are better.
66
71
67
72
All other system combinations do not have official support.
68
73
We do not actively prohibit installation on any hardware, including unsupported systems, *but we will **not** offer support for any issues you encounter*.
@@ -72,13 +77,18 @@ This will help you and those you will want to ask for help on the forum focus on
72
77
73
78
##### 32/64 Bit Image Support
74
79
75
-
Any RPi 3 or newer supports 64 bit operation.
76
-
Unless you really know what you are doing and have a compelling reason to do so, stick with the 64 bit image.
77
-
If you do install a 32 bit image, please note that you will be unable to upgrade to openHAB 5 in the future.
80
+
openHAB 5 requires to run on a 64 bit OS and Java 21 version so the recommended openHABian image is the 64 bit version.
81
+
82
+
Many RPi users are still on a 32 bit based Linux OS (you can check bitness using the command `getconf LONG_BIT`).
83
+
84
+
You can *temporarily* use the 32 bit version if you want to stay with openHAB 4 or if you cannot upgrade your HW or OS at the very moment, BUT
85
+
ATTENTION: RUNNING openHAB 5 on any 32 bit OS image IS NOT SUPPORTED ANY MORE.
86
+
You will be having issues with some functions like JS Scripting. Reinstall your OS to 64 bit or stay with openHAB 4.
87
+
Should you decide to upgrade, check the openHAB 5 release notes how to export/backup your config and install a fresh system.
Copy file name to clipboardExpand all lines: functions/menu.bash
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,11 @@ show_main_menu() {
69
69
elif [[ "$choice"=="03"* ]];then
70
70
wait_for_apt_to_finish_update
71
71
if! is_supported;then
72
-
whiptail --title "outdated OS" --msgbox "You are running a too old version of your Operating System.\\n\\nOpenHAB 4 and Java 17 require that you upgrade to Debian 11 (bullseye) first." 8 80
72
+
whiptail --title "outdated OS" --msgbox "You are running a too old version of your Operating System.\\nYou need to upgrade to be running at least Debian 11 (bullseye).\\nWe do NOT recommend to dist-upgrade but to re-install using the openHABian 64 bit image." 9 80
73
+
return 255
74
+
fi
75
+
if is_arm && [[ "$(getconf LONG_BIT)"=="32" ]];then
76
+
whiptail --title "32 bit OS" --msgbox "You are running a 32 bit Operating System. THIS IS NOT SUPPORTED ANY LONGER.\\nOpenHAB 5 and Java 21 require that you upgrade your OS to a 64 bit version, please read the release notes at\\nhttps://github.com/openhab/openhab-distro/releases/tag/5.0.0#openhabian\\nYou can still install manually via menus 45 and 41 if in vain but remember that will be an UNSUPPORTED setup.\\nPlease reinstall your system with the 64 bit image of openHABian." 11 80
73
77
return 255
74
78
fi
75
79
@@ -211,11 +215,11 @@ show_main_menu() {
211
215
"42 | Remote Console""Bind the openHAB SSH console to all external interfaces" \
212
216
"43 | Clean cache""Clean the cache for openHAB" \
213
217
"44 | Nginx Proxy""Setup reverse and forward web proxy" \
214
-
"45 | OpenJDK 17""Install and activate OpenJDK 17 as Java provider (default)" \
215
-
" | OpenJDK 21""Install and activate OpenJDK 21 as Java provider (DO NOT USE WILL BREAK SYSTEM - upcoming default when fixed)" \
216
-
" | Temurin 17""Install and activate Temurin 17 as Java provider (default alternative)" \
217
-
" | Temurin 21""Install and activate Temurin 21 as Java provider (upcoming alternative, currently preferred)" \
218
-
" | OpenJDK 11""Install and activate OpenJDK 11 as Java provider (legacy)" \
218
+
"45 | OpenJDK 17""Install + activate OpenJDK 17 as Java provider (default for OH versions 4 and older)" \
219
+
" | OpenJDK 21""Install + activate OpenJDK 21 as Java provider (DO NOT USE WILL BREAK SYSTEM)" \
220
+
" | Temurin 17""Install + activate Temurin 17 as Java provider (fallback for OH versions 4 and older)" \
0 commit comments