- Platform information:
- Hardware: Raspberry Pi 4, 4Gb
- OS: Raspbian
- Java Runtime Environment: Zulu build of OpenJDK11.x
- openHAB version: latest
- Issue of the topic: Cannot get OpenHAB running
my setup runs on a Pi with other goals, so I executed the manual installation as described in the documentation, under Linux (Package Repository Installation) for Apt Based Systems.
wget -qO - ‘https://openhab.jfrog.io/artifactory/api/gpg/key/public’ | sudo apt-key add -
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install openhab
sudo apt-get install openhab-addons
sudo /etc/init.d/openhab start
sudo /etc/init.d/openhab status
sudo update-rc.d openhab defaults
sudo systemctl start openhab.service
sudo systemctl status openhab.service
sudo systemctl daemon-reload
sudo systemctl enable openhab.service
Also changed /etc/default/openhab to other ports (8088 and 8444), to prevent conflicts.
The command sudo systemctl status openhab.service reports:
● openhab.service - openHAB - empowering the smart home
Loaded: loaded (/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-07-19 09:16:05 CEST; 1h 15min ago
Main PID: 549 (java)
Tasks: 44 (limit: 4915)
└─549 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib/openhab -Dopenhab.logdir=/var/log/openhab -Dfelix.cm.d
Jul 19 09:16:05 Multi-Pi systemd: Started openHAB - empowering the smart home.`
Which looks fine to me, also Glances reports OpenHAB running.
But even if I wait for hours, the webinterface fails to show.
Scanning ports does also not show ports from OpenHAB active.
Logfiles of OpenHAB in the default locations are all empty.
Hopefully this makes sense to someone?