-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
jenkins 2.361.1-jdk11/ thinBackup:1.10
I am migrating jenkins. When i check the restore plugins box and restore it, an error related to the update center appears and it is not restored.
The recovery was successful when I changed the boostrap4-api version from v4.6.0-3 to v4.6.0-5 in the installPlugins.xml file. But There are many other plugins installed, so it is difficult to find a version that can be restored one by one
2022-09-28 06:09:21.802+0000 [id=78] WARNING o.e.j.s.h.ContextHandler$Context#log: Error while serving https://xxx/manage/thinBackup/restore java.lang.NoSuchMethodError: 'void hudson.model.UpdateCenter$DownloadJob.<init>(hudson.model.UpdateCenter, hudson.model.UpdateSite, org.acegisecurity.Authentication)' at org.jvnet.hudson.plugins.thinbackup.restore.PluginRestoreUpdateCenter$PluginRestoreJob.<init>(PluginRestoreUpdateCenter.java:47) at org.jvnet.hudson.plugins.thinbackup.restore.HudsonRestore.installPlugin(HudsonRestore.java:274) at org.jvnet.hudson.plugins.thinbackup.restore.HudsonRestore.restorePlugins(HudsonRestore.java:216) at org.jvnet.hudson.plugins.thinbackup.restore.HudsonRestore.restore(HudsonRestore.java:190) at org.jvnet.hudson.plugins.thinbackup.restore.HudsonRestore.restoreFromDirectories(HudsonRestore.java:122) at org.jvnet.hudson.plugins.thinbackup.restore.HudsonRestore.restore(HudsonRestore.java:92) at org.jvnet.hudson.plugins.thinbackup.ThinBackupMgmtLink.doRestore(ThinBackupMgmtLink.java:113) at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)