yesterday I did an update sudo apt-get update and sudo apt-get upgrade on my RPI4 with openhabian. With that OH 3.1.0-1 was installed.
After that the webui is not reachable anymore. I’ve checked config and also service status. Service is running and config seems fine, but I can’t access the webui via defined ports 8080 or 8443. Even on localhost it is not working.
But the OH frontail log via Port 9001 is available.
Unfortunately I don’t see any logs. I don’t know what else to check to get the UI running again.
thanks for the hints. I’ve excuted all in the mentioned sequence. But I don’t see an error
[17:03:42] openhabian@openhab:~$ sudo systemctl status openhab
● openhab.service - openHAB instance, reachable at http://openhab:8080
Loaded: loaded (/usr/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/openhab.service.d
└─override.conf
Active: active (running) since Mon 2021-06-28 17:02:03 CEST; 1min 56s ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Main PID: 22009 (java)
Tasks: 29 (limit: 4915)
CGroup: /system.slice/openhab.service
└─22009 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib/o
Jun 28 17:02:03 openhab systemd[1]: Started openHAB instance, reachable at http://openhab:8080.
Jun 28 16:54:41 openhab systemd[1]: Stopped openHAB instance, reachable at http://openhab:8080.
Jun 28 17:02:03 openhab systemd[1]: Started openHAB instance, reachable at http://openhab:8080.
[23:30:29] openhabian@openhab:~$ openhab-cli console
Logging in as openhab
Failed to get the session.
Can’t remember I’ve ever changed it manually.
# The installation package of this openHAB instance
# Note: This is only regarded at the VERY FIRST START of openHAB
# Note: If you want to specify your add-ons yourself through entries below, set the package to "minimal"
# as otherwise your definition might be in conflict with what the installation package defines.
#
# Valid options:
# - standard : Standard setup for normal use of openHAB
# - minimal : Installation of core components, but no UIs or other add-ons. Use this for special headless setups.
#
# See https://www.openhab.org/docs/configuration/packages.html for a detailed explanation of these packages.
#
package = standard
# Access Remote Add-on Repository
# Defines whether the remote openHAB add-on repository should be used for browsing and installing add-ons. (default is $#
#remote = true
# A comma-separated list of automation services to install (e.g. "automation = groovyscripting")
#automation =
# A comma-separated list of bindings to install (e.g. "binding = knx,sonos,zwave")
#binding =
# A comma-separated list of miscellaneous services to install (e.g. "misc = openhabcloud")
#misc =
# A comma-separated list of persistence services to install (e.g. "persistence = jpa,rrd4j")
#persistence =
# A comma-separated list of transformation services to install (e.g. "transformation = jsonpath,map")
#transformation =
# A comma-separated list of UIs to install (e.g. "ui = basic,habpanel")
#ui =
# A comma-separated list of voice services to install (e.g. "voice = googletts,marytts")
#voice =
You’re not the only one with this problem. I upgraded 2 instances today and one works perfect and the other won’t start. Same results from those three commands. Any more wisdom from those that might know something or have suggestion on what to try?
Hi there - Had the exact same issue on Ubuntu, after upgrading OpenHAB 3.0 to 3.1.01.
There were absolutely no log entries to suggest an issue (syslog shows openhab starting message, and openhab.log was empty). It just didn’t seem to respond, even though the service was running (UI, Karaf console etc).
So I did manage to get it going however, although TBH, not sure which of the following steps resolved it:
Uninstalled openHAB via APT
Re-added the jfrog repository & key for OpenHAB APT install to work
Installed openHAB via APT
I had to repeat the above steps after stopping another (non-openhab) service using the openhab user, as the install process gave the following error:
Warning: openHAB's home directory is incorrect (/var/lib/openhab2)
but can't be changed because another process (623) is using it.
So I cannot be sure if the reinstall of OpenHAB iteself fixed my issue, or the same ‘user conflict’ (Where I am using the openhab user for another process) caused the original issue, and was the root-cause.
But none-the-less, other than a bunch of empheris exceptions in the log, OpenHAB is back on air and working…