Issue with restore - Linux to Windows

My linux box is failing me, so I am trying to move it over to a Windows 10 machine I have available. As a clean install, it runs perfectly on Windows. When I replace the userdata folder with a copy from the linux box, it will not start. Both are running 2.5.0.M1. The error is below, any ideas?

org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=package; type=karaf.feature; version="[4.2.2,4.2.2]"; filter:="(&(osgi.identity=package)(type=karaf.feature)(version>=4.2.2)(version<=4.2.2))"
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(
at org.apache.felix.resolver.ResolverImpl.doResolve(
at org.apache.felix.resolver.ResolverImpl.resolve(
at org.apache.felix.resolver.ResolverImpl.resolve(
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(
at org.apache.karaf.features.internal.service.Deployer.deploy(
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(
at Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)

Installation paths are totally different. replacing the userdata folder like that was a mistake.

There are ways to backup & restore openHAB configuration . That is not one of the supported ways.

1 Like

Got you, thanks. Looks like this is not as easy as I hoped.