-
Notifications
You must be signed in to change notification settings - Fork 29
Description
We are upgrading to Nexus version 3.45.1 and attempting to upgrade to 3.68.1. While upgrading, we are seeing the following issue:.
2024-07-27 16:47:54,669+0000 WARN [FelixStartLevel] pod-0 *SYSTEM org.sonatype.nexus.upgrade.internal.orient.UpgradeServiceImpl - Problem upgrading usertoken from 1.3 to 1.4
java.lang.RuntimeException: java.lang.ClassNotFoundException: com.larscheidschmitzhermes.nexus3.github.oauth.plugin.GithubPrincipal
at com.sonatype.nexus.usertoken.plugin.upgrade.UserTokenUpgrade_1_4.deserializePrincipals(UserTokenUpgrade_1_4.java:277)
at com.sonatype.nexus.usertoken.plugin.upgrade.UserTokenUpgrade_1_4.extractUserTokenRecord(UserTokenUpgrade_1_4.java:253)
at com.sonatype.nexus.usertoken.plugin.upgrade.UserTokenUpgrade_1_4.lambda$10(UserTokenUpgrade_1_4.java:189)
at java.lang.Iterable.forEach(Iterable.java:75)
at com.sonatype.nexus.usertoken.plugin.upgrade.UserTokenUpgrade_1_4.lambda$9(UserTokenUpgrade_1_4.java:186)
at org.sonatype.nexus.orient.DatabaseUpgradeSupport.lambda$0(DatabaseUpgradeSupport.java:53)
at org.sonatype.nexus.orient.DatabaseUpgradeSupport.withDatabase(DatabaseUpgradeSupport.java:65)
at org.sonatype.nexus.orient.DatabaseUpgradeSupport.withDatabaseAndClass(DatabaseUpgradeSupport.java:51)
at com.sonatype.nexus.usertoken.plugin.upgrade.UserTokenUpgrade_1_4.migrateUserTokensToApiKey(UserTokenUpgrade_1_4.java:183)at com.sonatype.nexus.usertoken.plugin.upgrade.UserTokenUpgrade_1_4.apply(UserTokenUpgrade_1_4.java:127)
at org.sonatype.nexus.upgrade.internal.orient.UpgradeServiceImpl.lambda$3(UpgradeServiceImpl.java:190)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at org.sonatype.nexus.upgrade.internal.orient.UpgradeServiceImpl.doUpgrade(UpgradeServiceImpl.java:131)
at org.sonatype.nexus.upgrade.internal.orient.UpgradeServiceImpl.doStart(UpgradeServiceImpl.java:96)
at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:69)
at org.sonatype.nexus.upgrade.internal.orient.UpgradeServiceImpl$$EnhancerByGuice$$a850f66.GUICE$TRAMPOLINE()
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:74)
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:206)
at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:57)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)
at com.google.inject.internal.InterceptorStackCallback.invoke(InterceptorStackCallback.java:55)
at org.sonatype.nexus.upgrade.internal.orient.UpgradeServiceImpl$$EnhancerByGuice$$a850f66.start()
at org.sonatype.nexus.extender.NexusLifecycleManager.startComponent(NexusLifecycleManager.java:210)
at org.sonatype.nexus.extender.NexusLifecycleManager.to(NexusLifecycleManager.java:121)
at org.sonatype.nexus.extender.NexusContextListener.moveToPhase(NexusContextListener.java:334)
at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:231)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1597)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.ClassNotFoundException: com.larscheidschmitzhermes.nexus3.github.oauth.plugin.GithubPrincipal
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at org.apache.felix.framework.BundleWiringImpl.doImplicitBootDelegation(BundleWiringImpl.java:1785)
at org.apache.felix.framework.BundleWiringImpl.tryImplicitBootDelegation(BundleWiringImpl.java:1714)
at org.apache.felix.framework.BundleWiringImpl.searchDynamicImports(BundleWiringImpl.java:1667)
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1543)
at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:78)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1950)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at java.lang.Class.forName0(Native Method)