oh! the logs didn’t quite show, but as I tried to enter the console, I got the following error:
[08:45:26] openhabian@openhabMain:~$ openhab-cli console
Error: Could not find or load main class org.apache.karaf.client.Main
Caused by: java.lang.ClassNotFoundException: org.apache.karaf.client.Main
So I rebooted my Pi and after that, OH3 didn’t come up again:
[08:51:22] openhabian@openhabMain:~$ sudo /bin/systemctl status openhab.service
● openhab.service - openHAB - empowering the smart home
Loaded: loaded (/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2021-10-12 08:51:23 CEST; 4s ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Process: 5436 ExecStart=/usr/share/openhab/runtime/bin/karaf ${OPENHAB_STARTMODE} (code=exited, status=255/EXCEPTION)
Main PID: 5436 (code=exited, status=255/EXCEPTION)
[09:03:33] openhabian@openhabMain:~$ sudo openhab-cli start --debug
A systemd service configuration exists...
Use 'sudo /bin/systemctl start openhab.service' to start an openHAB service
Launching an instance in this terminal..
Launching the openHAB runtime...
Listening for transport dt_socket at address: 5005
Could not resolve mvn:org.eclipse.platform/org.eclipse.osgi/3.16.200
[09:12:19] openhabian@openhabMain:~$ java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
OpenJDK Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)
but still (after clean-cache):
[09:12:46] openhabian@openhabMain:~$ sudo openhab-cli start --debug
A systemd service configuration exists...
Use 'sudo /bin/systemctl start openhab.service' to start an openHAB service
Launching an instance in this terminal..
Launching the openHAB runtime...
Listening for transport dt_socket at address: 5005
Could not resolve mvn:org.eclipse.platform/org.eclipse.osgi/3.16.200
What I did was to use option 02 in openhabian-config to Upgrade System, and it installed a bunch of new packages. But that was after I ran into the above initial problem with the failed SNMP-binding installation…