Installing OH5 on raspi5 /16GB never ends successful?

  • Platform information:
    • Hardware: Raspberry Pi5, 16GB
  • Issue of the topic: I am trying to set up a completely new raspi 5 with latest OH5

so far I have tried using various versions of openhabian-raspios64 image files. Tried with Etcher and used Raspberry Pi Imager having the tool to select the image to copy. It all ends with either no access to openhab or no access to the network (LAN) or no access through ssh.

The installation generally takes forever. Somewhere close to 24 hrs. But the weirdest part the sd-card looks like completely untouched by any of the install. Zero additional files and even the first-boot.log is unchanged.

Followed through with copying all information generated while installation goes on. It doesn`t appear to me as if anything went seriously wrong.

Anyone who has an idea what I am doing wrong?

just to show the install went all the way through, once again. But it is dead after doing what it says in the last line. :face_with_raised_eyebrow:

2025-05-13_00:16:32_UTC [openHABian] Starting the openHABian initial setup.
2025-05-13_00:16:32_UTC [openHABian] Storing configuration... OK
2025-05-13_00:16:32_UTC [openHABian] Starting webserver with installation log... OK
2025-05-13_00:16:37_UTC [openHABian] Changing default username ... SKIPPED
2025-05-13_00:16:37_UTC [openHABian] Changing default password... 2025-05-13_00:16:37_UTC [openHABian] Setting up NetworkManager and Wi-Fi connection... 2025-05-13_00:16:37_UTC [openHABian] Ensuring network connectivity... e[33;01m
executing ping -c1 8.8.8.8 &> /dev/null || curl --silent --head https://www.openhab.org/docs/ |& grep -qs 'HTTP/[^ ]*[ ]200' e[39;49;00m
OK
2025-05-13_00:16:38_UTC [openHABian] Waiting for dpkg/apt to get ready... OK
2026-04-16_08:05:37_UTC [openHABian] Updating repositories and upgrading installed packages... OK
2026-04-16_08:05:37_UTC [openHABian] Updating myself from https://github.com/openhab/openhabian, openHAB branch... OK
2026-04-16_08:05:44_UTC [openHABian] Starting execution of 'openhabian-config unattended'... OK
2026-04-16_08:05:44_UTC [openHABian] Checking for root privileges... OK
2026-04-16_08:05:44_UTC [openHABian] Making sure router advertisements are available... 
e[90;01m$ sysctl --system e[39;49;00m
* Applying /usr/lib/sysctl.d/50-pid-max.conf ...
* Applying /etc/sysctl.d/98-rpi.conf ...
* Applying /usr/lib/sysctl.d/99-protect-links.conf ...
* Applying /etc/sysctl.d/99-sysctl.conf ...
* Applying /etc/sysctl.conf ...
kernel.pid_max = 4194304
kernel.printk = 3 4 1 3
vm.min_free_kbytes = 16384
net.ipv4.ping_group_range = 0 2147483647
fs.protected_fifos = 1
fs.protected_hardlinks = 1
fs.protected_regular = 2
fs.protected_symlinks = 1
net.ipv6.conf.all.accept_ra = 1
net.ipv6.conf.all.accept_ra_rt_info_max_plen = 64
net.ipv6.conf.all.accept_ra = 1
net.ipv6.conf.all.accept_ra_rt_info_max_plen = 64
.
.
.
.
Removing libxshmfence1:arm64 (1.3-1) ...
Removing libz3-4:arm64 (4.8.12-3.1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+rpt2+deb12u10) ...
Updating FireMotD available updates count ... 
OK
2026-04-16_13:40:34_UTC [openHABian] Execution of 'openhabian-config unattended' completed.
2026-04-16_13:40:34_UTC [openHABian] First time setup successfully finished. Rebooting your system!
2026-04-16_13:40:34_UTC [openHABian] After rebooting the openHAB dashboard will be available at: http://openhabian:8080
2026-04-16_13:40:34_UTC [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.

Well, if I was to guess, you have a problem with internet connectivity.
But it can be anything, particularly so on an exotic piece of HW like yours.
You would need to show a debug level log of your installation attempt else noone can tell.
Set debug=maximum in openhabian.conf before you boot from a freshly flashed SD.

will try to set those parameters for next attempt.

Internet connectivity shouldn’t be an issue but you never now. Strange thing the established connection as shown in the fritz needs to be deleted before trying new installation. Otherwise a new installation wouldn’t even start to connect on LAN. Never had this happen before.

I have OH 5.1.4 running on RPI5 but it was installed manually, not with Openhabian.

You might consider manual installation so you have better visibility of what happens at each step of the installation.

Thanks for the hint

I was considering that yesterday. Got a little confused at what to do when. Everything works inside the raspi console it seems. Therefore a debian setup most likely is the first step? Next would be Java 21 and only after that successfully started openhab can be setup?

Somehow debian needs ssh setup since I don’t have a monitor or keyboard attached?

any suggestions are appreciated

Choose RaspberryPi Lite from the list in the RaspberryPi image burner. When it asks toapply OS customization options choose “yes” (or if you’ve set settings before choose “edit settings”). Here you have opportunity to set the user account, wifi settings, locale, and ssh (you can even set up your ssh cert).

Once the image is burned and the RPi boots those options will apply and you’ll be able to ssh into the newly booted machine. From there you can clone the openHABian repo and install it following the manual instructions in docs. openhabian-config can install Java and all the rest for you.

Or you can go without openHABian and install Java and openHAB manually.

A pi 5?? Wait wait wait
 you have to explain this one to me :rofl:

A 16 GB RPi5.

Oooooooooooooh
.. point taken


That`s what it says on the box. 64-bit quad-core Cortex-A76 processor with 16GB LPDDR4X SDRAM

should work for some time

FWIW I also run openHAB on a 16GB Rpi 5 and used the standard openhabian install when installing it a few months ago. I don’t know what your problem now is, but I didn’t encounter any issues. There may be a hardware change in subversions that impacts this, but I don’t think it should be an issue.

It’s indeed unlikely that this is due to the 16 GB.
However I guess Debian changed to trixie meanwhile so possibly that’s not so well tested with rare RPi variants like this one.

But whatever.
@Lehmann rerun your install with full debug, that should give a hint where.

Until then, please everybody don’t throw speculations.

tried the to go the path you suggested. Had to use the bookworm lite version. Later version didn’t work.

Trying to enter ‘openhabian-config’ is unknown command for openhab? Have to use ‘sudo ./openhabian-setup.sh’. Unsupported Linux release then pops up. Not tried to upgrade the Linux version as of now.

whenever a reboot ‘shutdown-r’ is undertaken, updating the locale asks for that, the raspi shuts down and never restarts unless action is taken on my side. Shutdown and removable of sd-card is necessary.

so far I do get access through ssh on WLAN. LAN is available but this nasty message ‘IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!’ makes aware that something needs a little more attention.

With WLAN acces the openhab overview page is accessible and the initial setup performed as known from previous installs.

Still testing whether everything else is working. Any further suggestions from your side so far?

Thanks for your help.

PS: since I do have some spare sd-cards now I will test another install with

openhabian-raspios64-latest-202602082146-crc8c0b8b7c.img.xz

Did you run all of the commands outlined in the docs first?

The second to last command is what makes openhabian-config available.

You had this machine set up before. It had a trandomly generated certificate. You’ve reinstalled the operating system on this machine. It has a new randomly generated certificate. SSH is telling you that the certificate has changed. That could mean someone is trying to pretend to be your machine but in this case it jsut means the machine has a new certificate. The warning will tell you how to remove the old certificate from the known hosts file in ~/.ssh.

sure didn’t see that one. Missed the hardlink ‘ln’ step and didn’t copy the openhabian.conf.

so worst case scenario I have do redo all of it. Best case the system doesn’t get messed up when doing as a later step?

It shouldn’t matter if you do that later. But if you don’t follow the steps you will not get reilable/predictable results. I would at a minimum redo all of the the steps in the docs on the same machine. Though to have a perfectly clear setup I recommend starting over from scratch.

But others on this thread have reported success with openHABian on this RPi variant so it’s probably worth trying the openHABian image again. Just make sure you follow the steps and edit /boot/openhabian.conf before transferring the SD card to the RPi.

openhabian@192.168.178.40's password: 
Linux openhabian 6.12.47+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Apr 19 18:02:21 2026 from 192.168.178.20

###############################################################################
###############  openhabian  ##################################################
###############################################################################
##        Ip = 192.168.178.40
##   Release = Debian GNU/Linux 13 (trixie)
##    Kernel = Linux 6.12.47+rpt-rpi-2712
##    Uptime = 0 day(s). 02:08:54
## CPU Usage = 0.71% avg over 4 cpu(s) ( core(s) x - socket(s))
##  CPU Load = 1m: 0.10, 5m: 0.17, 15m: 0.09
##    Memory = Free: 14.17GB (90%), Used: 1.77GB (10%), Total: 15.83GB
##      Swap = Free: 2.99GB (100%), Used: 0.00GB (0%), Total: 2.99GB
##      Root = Free: 7.11GB (54%), Used: 6.04GB (46%), Total: 13.77GB
##   Updates = 66 apt updates available.
##  Sessions = 1 session(s)
## Processes = 161 running processes of 4194304 maximum processes
###############################################################################

                          _   _     _     ____   _               
  ___   ___   ___   ___  | | | |   / \   | __ ) (_)  ____   ___  
 / _ \ / _ \ / _ \ / _ \ | |_| |  / _ \  |  _ \ | | / _  \ / _ \ 
| (_) | (_) |  __/| | | ||  _  | / ___ \ | |_) )| || (_) || | | |
 \___/|  __/ \___/|_| |_||_| |_|/_/   \_\|____/ |_| \__|_||_| | |
      |_|                  openHAB 5.1.4 - Release Build          

Looking for a place to get started? Check out 'sudo openhabian-config' and the
documentation at https://www.openhab.org/docs/installation/openhabian.html
The openHAB dashboard can be reached at http://openhabian:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'


the issue of not getting a good and working setup obviously was related to the FritzBox. Three options to verify the root cause are left for me to check.

The sd-card was written by the Raspberry Pi Imager.

Thanks for your great support. If you would like further testing pls let me know.