Openhab:8080 not reachable after opening config-tool

  • Platform information:

    • RPI3 with openhabian
    • openHAB version: 3
  • Issue of the topic:
    After opening the config-tool and accepting updates, I can’t reach the openhab service anymore, neither via openhab:8080 nor via the console using ‘’'ssh openhab@localhost" . I did already reboots, restored a config backup, checked similar issues, etc. without success. It seems there is an issue in the log (see below) but unfortunetly I can’t inteprete nor any ideas how to resolve after trying… :frowning: any help very highly appreciated! Thanks a million.

  • If logs where generated please post these here:

2021-02-14 20:23:01.044 [WARN ] [org.apache.felix.fileinstall        ] - /usr/share/openhab2/addons does not exist, please create it.
2021-02-14 20:23:01.101 [WARN ] [org.apache.felix.fileinstall        ] - Root path does not exist: /usr/share/openhab2/addons
2021-02-14 20:23:14.573 [ERROR] [ternal.service.BootFeaturesInstaller] - Error installing boot features
org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-runtime-base; type=karaf.feature; version="[3.0.1,3.0.1]"; filter:="(&(osgi.identity=openhab-runtime-base)(type=karaf.feature)(version>=3.0.1)(version<=3.0.1))" [caused by: Unable to resolve openhab-runtime-base/3.0.1: missing requirement [openhab-runtime-base/3.0.1] osgi.identity; osgi.identity=openhab-transport-http; type=karaf.feature [caused by: Unable to resolve openhab-transport-http/3.0.1: missing requirement [openhab-transport-http/3.0.1] osgi.identity; osgi.identity=openhab-core-auth-oauth2client; type=karaf.feature [caused by: Unable to resolve openhab-core-auth-oauth2client/3.0.1: missing requirement [openhab-core-auth-oauth2client/3.0.1] osgi.identity; osgi.identity=openhab-core-base; type=karaf.feature [caused by: Unable to resolve openhab-core-base/3.0.1: missing requirement [openhab-core-base/3.0.1] osgi.identity; osgi.identity=org.openhab.core.automation; type=osgi.bundle; version="[3.0.1,3.0.1]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.automation/3.0.1: missing requirement [org.openhab.core.automation/3.0.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core)(version>=3.0.0)(!(version>=4.0.0)))" [caused by: Unable to resolve org.openhab.core/3.0.1: missing requirement [org.openhab.core/3.0.1] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]]]]]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:392) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257) ~[?:?]
	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:393) ~[?:?]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062) ~[?:?]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_282]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_282]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_282]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-runtime-base/3.0.1: missing requirement [openhab-runtime-base/3.0.1] osgi.identity; osgi.identity=openhab-transport-http; type=karaf.feature [caused by: Unable to resolve openhab-transport-http/3.0.1: missing requirement [openhab-transport-http/3.0.1] osgi.identity; osgi.identity=openhab-core-auth-oauth2client; type=karaf.feature [caused by: Unable to resolve openhab-core-auth-oauth2client/3.0.1: missing requirement [openhab-core-auth-oauth2client/3.0.1] osgi.identity; osgi.identity=openhab-core-base; type=karaf.feature [caused by: Unable to resolve openhab-core-base/3.0.1: missing requirement [openhab-core-base/3.0.1] osgi.identity; osgi.identity=org.openhab.core.automation; type=osgi.bundle; version="[3.0.1,3.0.1]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.automation/3.0.1: missing requirement [org.openhab.core.automation/3.0.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core)(version>=3.0.0)(!(version>=4.0.0)))" [caused by: Unable to resolve org.openhab.core/3.0.1: missing requirement [org.openhab.core/3.0.1] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]]]]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-transport-http/3.0.1: missing requirement [openhab-transport-http/3.0.1] osgi.identity; osgi.identity=openhab-core-auth-oauth2client; type=karaf.feature [caused by: Unable to resolve openhab-core-auth-oauth2client/3.0.1: missing requirement [openhab-core-auth-oauth2client/3.0.1] osgi.identity; osgi.identity=openhab-core-base; type=karaf.feature [caused by: Unable to resolve openhab-core-base/3.0.1: missing requirement [openhab-core-base/3.0.1] osgi.identity; osgi.identity=org.openhab.core.automation; type=osgi.bundle; version="[3.0.1,3.0.1]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.automation/3.0.1: missing requirement [org.openhab.core.automation/3.0.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core)(version>=3.0.0)(!(version>=4.0.0)))" [caused by: Unable to resolve org.openhab.core/3.0.1: missing requirement [org.openhab.core/3.0.1] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]]]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-core-auth-oauth2client/3.0.1: missing requirement [openhab-core-auth-oauth2client/3.0.1] osgi.identity; osgi.identity=openhab-core-base; type=karaf.feature [caused by: Unable to resolve openhab-core-base/3.0.1: missing requirement [openhab-core-base/3.0.1] osgi.identity; osgi.identity=org.openhab.core.automation; type=osgi.bundle; version="[3.0.1,3.0.1]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.automation/3.0.1: missing requirement [org.openhab.core.automation/3.0.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core)(version>=3.0.0)(!(version>=4.0.0)))" [caused by: Unable to resolve org.openhab.core/3.0.1: missing requirement [org.openhab.core/3.0.1] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-core-base/3.0.1: missing requirement [openhab-core-base/3.0.1] osgi.identity; osgi.identity=org.openhab.core.automation; type=osgi.bundle; version="[3.0.1,3.0.1]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.automation/3.0.1: missing requirement [org.openhab.core.automation/3.0.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core)(version>=3.0.0)(!(version>=4.0.0)))" [caused by: Unable to resolve org.openhab.core/3.0.1: missing requirement [org.openhab.core/3.0.1] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.core.automation/3.0.1: missing requirement [org.openhab.core.automation/3.0.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core)(version>=3.0.0)(!(version>=4.0.0)))" [caused by: Unable to resolve org.openhab.core/3.0.1: missing requirement [org.openhab.core/3.0.1] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.core/3.0.1: missing requirement [org.openhab.core/3.0.1] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343) ~[org.eclipse.osgi-3.12.100.jar:?]
	... 12 more

I also had similar problems wiht OH3.
Now openhab is running again. What I did:

  • reinstalled java [11] with config-tool
  • fix permissions with config-tool
  • sudo openhab-cli backup --full
  • sudo /bin/systemctl stop openhab.service
  • sudo openhab-cli clean-cache
  • sudo apt-get install --reinstall openhab

Maybe it helps. I don’t know what was the cases of the problem.

Thanks @Tuny

I didn’t try the “reinstall java” part but your other suggestions I had done… without success…

In the meantime, I did a fresh install of OH3 as I have a config backup at hand. But now a new challenge: when trying to copy the backup.zip over to “\OPENHABIAN\openHAB-userdata\backups” I’m getting an access denied message. Seems I cannot write, but only read on the userdate folder :frowning:

Are you using windows samba to copy?

Something’s seriously wrong about your OH installation. Any OH3 install should not be using any openhab2 pathes.

I would apt purge openhab then (re)install from either CLI or the tool to have a clean OH3 install to proceed from. You should check your config for anything openhab2 before restoring it.

Yes, via Windows. I can copy to “openhab-conf” but I cannot copy to “openhab-userdata” (only read).

Though I’m not even sure whether I could use the configuration backup on a fresh install as such?

I am lost. How was your backup made? Oh 2 b4 o3 upgrade.

You can copy to any samba share and just point to that when restoring or use ssh to move the file.

Apologies. I did the config backup on OH3 (OH3 version around Christmas release) via the config tool. Now, I did a fresh reinstall (downloaded openhabian SD card image) and wanted to copy over the backup zip file to use for restore.

But this is where I struggled (copying via Windows the backup zip to “\OPENHABIAN\openHAB-userdata\backups”). If copying via windows doesn’t work (why?) then I will need to use alternative method for copying (ssh…).