I have installed openhab for the first time. I did not get any errors but when I tried browsing to the dashboard, it would not resolve. On checking the service, I noted the following:
sudo systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor pre
Active: activating (auto-restart) (Result: exit-code) since Wed 2019-10-16 06
Docs: https://www.openhab.org/docs/ https://community.openhab.org
Process: 14459 ExecStart=/usr/share/openhab2/runtime/bin/karaf $OPENHAB_STARTM
Main PID: 14459 (code=exited, status=1/FAILURE)
I installed it on Ubuntu Server 18.04. While trying to find the link that I used I realised that I did not have the prerequisites installed correctly. I fix this then then try again later tonight.