Hello everyone,
I seem to be unable to upgrade from 3.1.0~M3-1… It is since months that I try to upgrade, I tried at least 5 or 6 times, booking several hours of time to be able to address the challenge and still no luck. Since I can’t spend days on this, I skip and hope that next version will be better… no luck so far…
The 3.1.0~M3-1 is running absolutly fine and flawlessly since months, it is fine, but I can’t stay like this for ever.
Symptoms of failed upgrades are a huge list of java errors of the kind below. It is not always this one, usually I spend hours trying for address the cause of the one I can understand, to get into another one if by chance I was able to do something that fixed it…
Of course, I always do restart openhab several times (up to 5, with 5 to 10 minutes waiting time between the restarts)…
What are the ways out? I’d like to avoid re-installing everything… what are the ways the investigate what goes wrong? Reading the forums, it seems for most people the upgrades are seamless:-(
Thanks in advance for any help !
2022-07-15 15:14:28.186 [ERROR] [Events.Framework ] - FrameworkEvent ERROR
org.osgi.framework.BundleException: Exception in org.apache.karaf.jaas.modules.impl.Activator.stop() of bundle org.apache.karaf.jaas.modules.
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:890) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1046) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:376) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.container.Module.doStop(Module.java:660) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.container.Module.stop(Module.java:521) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1888) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1763) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:208) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.container.Module.doStop(Module.java:660) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.container.Module.stop(Module.java:521) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:226) ~[org.eclipse.osgi-3.17.200.jar:?]
at java.lang.Thread.run(Thread.java:834) ~[?:?]
Caused by: java.lang.NoClassDefFoundError: org/apache/karaf/jaas/modules/ldap/LDAPCache
at org.apache.karaf.jaas.modules.impl.Activator.doStop(Activator.java:82) ~[?:?]
at org.apache.karaf.util.tracker.BaseActivator.stop(BaseActivator.java:108) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:870) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) ~[org.eclipse.osgi-3.17.200.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:862) ~[org.eclipse.osgi-3.17.200.jar:?]
... 13 more
Caused by: java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.ldap.LDAPCache cannot be found by org.apache.karaf.jaas.modules_4.3.7
at org.eclipse.osgi.internal.loader.BundleLoader.generateException(BundleLoader.java:529) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:524) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:416) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168) ~[org.eclipse.osgi-3.17.200.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
at org.apache.karaf.jaas.modules.impl.Activator.doStop(Activator.java:82) ~[?:?]
at org.apache.karaf.util.tracker.BaseActivator.stop(BaseActivator.java:108) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:870) ~[org.eclipse.osgi-3.17.200.jar:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) ~[org.eclipse.osgi-3.17.200.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:862) ~[org.eclipse.osgi-3.17.200.jar:?]
... 13 more