For posterity or maybe more for the failing of my memory, which comes with the processus of aging, I report in this thread what I have done to install openHAB at home.
Installing on Porteus slackware derivative does not work at least for now.
Up to now it works fine on ubuntu latest version. My best guide was this thread:
# Learn about the current service status
sudo systemctl status openhab.service
# (Re-)Start openHAB (background service)
sudo systemctl restart openhab.service
Find my ip address to open openHAB
fl@Satellite-Z930:~$ ifconfig
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet xx.x.x.xx
My favourite method of installation is using docker, with a docker-compose file. It is so nice and easy to upgrade / downgrade, and backup. I also don’t have to worry about java because it’s a part of the docker. I can run any version of java on the bare-metal and it won’t affect my openhab docker installation’s version of java.
I can even have production and dev/testing instances running at the same time, each would listen on different set of ports (http, https, console, lsp ports).
I run mqtt, zigbee2mqtt, tuyamqtt, influxdb, grafana, Frigate, and many others inside docker too.
From what I can glimpse, that isn’t an error in openhab, but rather a problem in installing zigbee2mqtt?
I’m going to write up a tutorial about how to install openhab + mosquitto + zigbee2mqtt using docker on linux to hopefully help new users get set up quickly.
Currently there’s openhabian but it’s mainly focused for an installation on a raspberry pi.