Unfortunately, same problem on Windows10 x64 Pro when upgrading from 2.5.10 to 3.0.0
It showed few errors during update … like this:
Could not replace string org.eclipse.smarthome.core to org.openhab.core in file C:\OpenHAB\userdata/jsondb/automation_rules.json
Get-Content : Cannot find path 'C:\OpenHAB\userdata\jsondb\automation_rules.json' because it does not exist.
At C:\Users\xsilver\AppData\Local\Temp\openhab\update\runtime\bin\update.ps1:218 char:22
+ (Get-Content $parts[3]).replace($parts[1], $parts ...
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\OpenHAB\user...tion_rules.json:String) [Get-Content], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
Could not replace string org.eclipse.smarthome to org.openhab.core in file C:\OpenHAB\userdata/jsondb/automation_rules.json
… and similar ones.
However all ended with green message in PowerShell not truly mentioning any problems I have dug out from previous console output.
Then my attempt to start seems to work, with errors as bellow, and also with WebUI no longer responding.
PS C:\OpenHAB> .\start.bat
Launching the openHAB runtime...
_ _ _ ____
___ ___ ___ ___ | | | | / \ | __ )
/ _ \ / _ \ / _ \ / _ \ | |_| | / _ \ | _ \
| (_) | (_) | __/| | | || _ | / ___ \ | |_) )
\___/| __/ \___/|_| |_||_| |_|/_/ \_\|____/
|_| 3.0.0 - Release Build
Use '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
To exit, use '<ctrl-d>' or 'logout'.
openhab> 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.0,3.0.0]"; filter:="(&(osgi.identity=openhab-runtime-base)(type=karaf.feature)(version>=3.0.0)(version<=3.0.0))" [caused by: Unable to resolve openhab-runtime-base/3.0.0: missing requirement [openhab-runtime-base/3.0.0] osgi.identity; osgi.identity=openhab-runtime-certificate; type=karaf.feature [caused by: Unable to resolve openhab-runtime-certificate/3.0.0: missing requirement [openhab-runtime-certificate/3.0.0] osgi.identity; osgi.identity=org.openhab.core.io.jetty.certificate; type=osgi.bundle; version="[3.0.0,3.0.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.io.jetty.certificate/3.0.0: missing requirement [org.openhab.core.io.jetty.certificate/3.0.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:392)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-runtime-base/3.0.0: missing requirement [openhab-runtime-base/3.0.0] osgi.identity; osgi.identity=openhab-runtime-certificate; type=karaf.feature [caused by: Unable to resolve openhab-runtime-certificate/3.0.0: missing requirement [openhab-runtime-certificate/3.0.0] osgi.identity; osgi.identity=org.openhab.core.io.jetty.certificate; type=osgi.bundle; version="[3.0.0,3.0.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.io.jetty.certificate/3.0.0: missing requirement [org.openhab.core.io.jetty.certificate/3.0.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-runtime-certificate/3.0.0: missing requirement [openhab-runtime-certificate/3.0.0] osgi.identity; osgi.identity=org.openhab.core.io.jetty.certificate; type=osgi.bundle; version="[3.0.0,3.0.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.io.jetty.certificate/3.0.0: missing requirement [org.openhab.core.io.jetty.certificate/3.0.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 13 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.core.io.jetty.certificate/3.0.0: missing requirement [org.openhab.core.io.jetty.certificate/3.0.0] osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 14 more
openhab>
You need to install Java 11. That’s been an issue with upgrades, and one reason why I personally think people are better off doing fresh OH3 installs and importing configs instead of upgrading.
I didn’t have this problem since I did a fresh install, so I don’t know the steps to fix it. However, while there may not be an answer in this particular thread, it’s been discussed elsewhere in the community.
Yes, I found out the missing Java update, so I installed OpenJDK 11.0.10, and restarted the server, after verifying Java version was 11, and then started openhab, but still got the same missing dependencies.