Hello Friends,
I have run OpenHAB 2 for the past year on a Raspberry Pi 4 4GB running the official Raspberry Pi OS Desktop.
I initially installed OpenHAB 2 as an APT package (not Openhabian).
Today, I decided it was time to upgrade to OpenHAB 3, so I ran the openhabian installation guide as described when installing on an existing linux machine.
The installation finished and I’m able to run th Openhabian configuration tool, but I can’t log into the OpenHAB web based panel in my browser using the url’s:
my ip address: http://192.168.1.2:8080
or http://openhabian:8080
Can anyone please assist? I can’t get OpenHAB to work.
openhabian in your case is ‘only’ as set of scripts that are started by the command openhabian-config.
Running the OH installation process that is executed by the menu uses apt in the background, too.
So I personally doubt that it will make any difference in case you remove the set of openhabian-config tools. openhabian-config is checked out by using git. So in case you would need to remove the complete openhabian-config installation directory.
Is there any logentry in /var/log/openhab/openhab.log ?
Thank you @Wolfgang_S for your reply.
Here is the openhab.log file. If I understand the file content correctly, it seems the openhabian installation process did not run properly.
2021-07-05 20:09:05.747 [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.1.0,3.1.0]"; filter:="(&(osgi.identity=openhab-runtime-base)(type=karaf.feature)(version>=3.1.0)(version<=3.1.0))" [caused by: Unable to resolve openhab-runtime-base/3.1.0: missing requirement [openhab-runtime-base/3.1.0] osgi.identity; osgi.identity=openhab-core-model-sitemap; type=karaf.feature [caused by: Unable to resolve openhab-core-model-sitemap/3.1.0: missing requirement [openhab-core-model-sitemap/3.1.0] osgi.identity; osgi.identity=org.openhab.core.model.sitemap; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.model.sitemap/3.1.0: missing requirement [org.openhab.core.model.sitemap/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core.items.dto)(version>=3.1.0)(!(version>=4.0.0)))" [caused by: Unable to resolve org.openhab.core/3.1.0: missing requirement [org.openhab.core/3.1.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:433) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257) ~[?:?]
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-runtime-base/3.1.0: missing requirement [openhab-runtime-base/3.1.0] osgi.identity; osgi.identity=openhab-core-model-sitemap; type=karaf.feature [caused by: Unable to resolve openhab-core-model-sitemap/3.1.0: missing requirement [openhab-core-model-sitemap/3.1.0] osgi.identity; osgi.identity=org.openhab.core.model.sitemap; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.model.sitemap/3.1.0: missing requirement [org.openhab.core.model.sitemap/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core.items.dto)(version>=3.1.0)(!(version>=4.0.0)))" [caused by: Unable to resolve org.openhab.core/3.1.0: missing requirement [org.openhab.core/3.1.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-core-model-sitemap/3.1.0: missing requirement [openhab-core-model-sitemap/3.1.0] osgi.identity; osgi.identity=org.openhab.core.model.sitemap; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.model.sitemap/3.1.0: missing requirement [org.openhab.core.model.sitemap/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core.items.dto)(version>=3.1.0)(!(version>=4.0.0)))" [caused by: Unable to resolve org.openhab.core/3.1.0: missing requirement [org.openhab.core/3.1.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.core.model.sitemap/3.1.0: missing requirement [org.openhab.core.model.sitemap/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core.items.dto)(version>=3.1.0)(!(version>=4.0.0)))" [caused by: Unable to resolve org.openhab.core/3.1.0: missing requirement [org.openhab.core/3.1.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.core/3.1.0: missing requirement [org.openhab.core/3.1.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
2021-07-05 20:11:31.365 [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.1.0,3.1.0]"; filter:="(&(osgi.identity=openhab-runtime-base)(type=karaf.feature)(version>=3.1.0)(version<=3.1.0))" [caused by: Unable to resolve openhab-runtime-base/3.1.0: missing requirement [openhab-runtime-base/3.1.0] osgi.identity; osgi.identity=openhab-core-io-rest-audio; type=karaf.feature [caused by: Unable to resolve openhab-core-io-rest-audio/3.1.0: missing requirement [openhab-core-io-rest-audio/3.1.0] osgi.identity; osgi.identity=openhab-core-base; type=karaf.feature [caused by: Unable to resolve openhab-core-base/3.1.0: missing requirement [openhab-core-base/3.1.0] osgi.identity; osgi.identity=org.openhab.core.automation; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.automation/3.1.0: missing requirement [org.openhab.core.automation/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]]]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:433) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257) ~[?:?]
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-runtime-base/3.1.0: missing requirement [openhab-runtime-base/3.1.0] osgi.identity; osgi.identity=openhab-core-io-rest-audio; type=karaf.feature [caused by: Unable to resolve openhab-core-io-rest-audio/3.1.0: missing requirement [openhab-core-io-rest-audio/3.1.0] osgi.identity; osgi.identity=openhab-core-base; type=karaf.feature [caused by: Unable to resolve openhab-core-base/3.1.0: missing requirement [openhab-core-base/3.1.0] osgi.identity; osgi.identity=org.openhab.core.automation; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.automation/3.1.0: missing requirement [org.openhab.core.automation/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-core-io-rest-audio/3.1.0: missing requirement [openhab-core-io-rest-audio/3.1.0] osgi.identity; osgi.identity=openhab-core-base; type=karaf.feature [caused by: Unable to resolve openhab-core-base/3.1.0: missing requirement [openhab-core-base/3.1.0] osgi.identity; osgi.identity=org.openhab.core.automation; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.automation/3.1.0: missing requirement [org.openhab.core.automation/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-core-base/3.1.0: missing requirement [openhab-core-base/3.1.0] osgi.identity; osgi.identity=org.openhab.core.automation; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.automation/3.1.0: missing requirement [org.openhab.core.automation/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.core.automation/3.1.0: missing requirement [org.openhab.core.automation/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
2021-07-05 20:23:50.650 [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.1.0,3.1.0]"; filter:="(&(osgi.identity=openhab-runtime-base)(type=karaf.feature)(version>=3.1.0)(version<=3.1.0))" [caused by: Unable to resolve openhab-runtime-base/3.1.0: missing requirement [openhab-runtime-base/3.1.0] osgi.identity; osgi.identity=openhab-core-model-lsp; type=karaf.feature [caused by: Unable to resolve openhab-core-model-lsp/3.1.0: missing requirement [openhab-core-model-lsp/3.1.0] osgi.identity; osgi.identity=org.openhab.core.model.lsp; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.model.lsp/3.1.0: missing requirement [org.openhab.core.model.lsp/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.eclipse.lsp4j.services)(version>=0.10.0)(!(version>=1.0.0)))" [caused by: Unable to resolve org.eclipse.lsp4j/0.10.0.v20201105-1103: missing requirement [org.eclipse.lsp4j/0.10.0.v20201105-1103] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]]]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:433) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257) ~[?:?]
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-runtime-base/3.1.0: missing requirement [openhab-runtime-base/3.1.0] osgi.identity; osgi.identity=openhab-core-model-lsp; type=karaf.feature [caused by: Unable to resolve openhab-core-model-lsp/3.1.0: missing requirement [openhab-core-model-lsp/3.1.0] osgi.identity; osgi.identity=org.openhab.core.model.lsp; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.model.lsp/3.1.0: missing requirement [org.openhab.core.model.lsp/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.eclipse.lsp4j.services)(version>=0.10.0)(!(version>=1.0.0)))" [caused by: Unable to resolve org.eclipse.lsp4j/0.10.0.v20201105-1103: missing requirement [org.eclipse.lsp4j/0.10.0.v20201105-1103] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-core-model-lsp/3.1.0: missing requirement [openhab-core-model-lsp/3.1.0] osgi.identity; osgi.identity=org.openhab.core.model.lsp; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.model.lsp/3.1.0: missing requirement [org.openhab.core.model.lsp/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.eclipse.lsp4j.services)(version>=0.10.0)(!(version>=1.0.0)))" [caused by: Unable to resolve org.eclipse.lsp4j/0.10.0.v20201105-1103: missing requirement [org.eclipse.lsp4j/0.10.0.v20201105-1103] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.core.model.lsp/3.1.0: missing requirement [org.openhab.core.model.lsp/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.eclipse.lsp4j.services)(version>=0.10.0)(!(version>=1.0.0)))" [caused by: Unable to resolve org.eclipse.lsp4j/0.10.0.v20201105-1103: missing requirement [org.eclipse.lsp4j/0.10.0.v20201105-1103] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.eclipse.lsp4j/0.10.0.v20201105-1103: missing requirement [org.eclipse.lsp4j/0.10.0.v20201105-1103] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
2021-07-05 20:34:42.071 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab/addons/org.openhab.binding.broadlink-3.1.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.broadlink [29]
Unresolved requirement: Import-Package: org.openhab.core
at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:440) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.8]
2021-07-05 20:42:35.748 [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.1.0,3.1.0]"; filter:="(&(osgi.identity=openhab-runtime-base)(type=karaf.feature)(version>=3.1.0)(version<=3.1.0))" [caused by: Unable to resolve openhab-runtime-base/3.1.0: missing requirement [openhab-runtime-base/3.1.0] osgi.identity; osgi.identity=openhab-core-io-rest-voice; type=karaf.feature [caused by: Unable to resolve openhab-core-io-rest-voice/3.1.0: missing requirement [openhab-core-io-rest-voice/3.1.0] osgi.identity; osgi.identity=openhab-core-base; type=karaf.feature [caused by: Unable to resolve openhab-core-base/3.1.0: missing requirement [openhab-core-base/3.1.0] osgi.identity; osgi.identity=org.openhab.core.automation; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.automation/3.1.0: missing requirement [org.openhab.core.automation/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]]]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:433) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257) ~[?:?]
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-runtime-base/3.1.0: missing requirement [openhab-runtime-base/3.1.0] osgi.identity; osgi.identity=openhab-core-io-rest-voice; type=karaf.feature [caused by: Unable to resolve openhab-core-io-rest-voice/3.1.0: missing requirement [openhab-core-io-rest-voice/3.1.0] osgi.identity; osgi.identity=openhab-core-base; type=karaf.feature [caused by: Unable to resolve openhab-core-base/3.1.0: missing requirement [openhab-core-base/3.1.0] osgi.identity; osgi.identity=org.openhab.core.automation; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.automation/3.1.0: missing requirement [org.openhab.core.automation/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-core-io-rest-voice/3.1.0: missing requirement [openhab-core-io-rest-voice/3.1.0] osgi.identity; osgi.identity=openhab-core-base; type=karaf.feature [caused by: Unable to resolve openhab-core-base/3.1.0: missing requirement [openhab-core-base/3.1.0] osgi.identity; osgi.identity=org.openhab.core.automation; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.automation/3.1.0: missing requirement [org.openhab.core.automation/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-core-base/3.1.0: missing requirement [openhab-core-base/3.1.0] osgi.identity; osgi.identity=org.openhab.core.automation; type=osgi.bundle; version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.automation/3.1.0: missing requirement [org.openhab.core.automation/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.core.automation/3.1.0: missing requirement [org.openhab.core.automation/3.1.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))" [caused by: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve com.google.gson/2.8.6: missing requirement [com.google.gson/2.8.6] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9.0))"
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.16.200.jar:?]
... 12 more
2021-07-05 20:42:48.783 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab/addons/org.openhab.binding.broadlink-3.1.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.broadlink [29]
Unresolved requirement: Import-Package: org.openhab.core
Unresolved requirement: Import-Package: org.openhab.binding.broadlink.config
-> Export-Package: org.openhab.binding.broadlink.config; bundle-symbolic-name="org.openhab.binding.broadlink"; bundle-version="2.5.1.202010311019"; version="2.5.1"
org.openhab.binding.broadlink [30]
Unresolved requirement: Import-Package: org.eclipse.smarthome.config.core
Unresolved requirement: Import-Package: org.openhab.binding.broadlink
-> Export-Package: org.openhab.binding.broadlink; bundle-symbolic-name="org.openhab.binding.broadlink"; bundle-version="2.5.1.202010311019"; version="2.5.1"; uses:="org.eclipse.smarthome.core.thing"
at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:440) ~[org.eclipse.osgi-3.16.200.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.8]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.8]
2021-07-05 20:42:48.887 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.broadlink-2.5.1-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.broadlink [30]
Unresolved requirement: Import-Package: org.eclipse.smarthome.config.core
The log looks like you have a mixture of OH 3.1.0 jar files and OH 2.5.1-SNAPSHOT jar files.
Besides that: did you make sure that Java Zulu 11 is installed ? Parts of the logfile look like Java 8 is being used.
You have a menu entry to choose between different Java providers and between Java 8 and Java 11.
But you easily can check which version is running on your system.
Do ps -ef | grep java and check where the binary is located by following the links.
Or run: /usr/bin/java -version
Thank you @Wolfgang_S for your help and suggestions
I ended up reinstalling the whole OS from scratch due to undesired changes OpenHABian made.
The bright spot is I I now have a clean OS with no unnecessary past residues and OpenHAB 3.1 was not dependant on OpenHAB2 data migration, so everything should run smooth.