Jenkins is not starting after plugin upgrade

Hello Team,

I have upgraded Jenkins version from 2.361.1 to 2.387.3 . Once upgraded to this version, unable to upgrade all the plugins.
I have upgraded --plugins=cloudbees-bitbucket-branch-source:856.v04c46c86f911 from 791.vb_eea_a_476405b then all the sudden jenkins showed failed to load message in each plugins:—

I have tried to upgrade authentication-tokens which has dependency on credentials and credentials has dependency on configuration-as-code


java -jar jenkins-plugin-manager-2.13.0.jar --war=/usr/share/java/jenkins.war --plugins=configuration-as-code:1700.v6f448841296e --plugin-download-directory=/data/jenkins/plugins --verbose

While restarting the jenkins I am seeing below error:-

java.lang.IllegalArgumentException: No jenkins.scm.api.SCMSource implementation found for git
	at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.lambda$lookupDescriptor$11(HeteroDescribableConfigurator.java:226)
	at io.vavr.control.Option.orElse(Option.java:321)
	at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.lookupDescriptor(HeteroDescribableConfigurator.java:224)
	at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.lambda$configure$3(HeteroDescribableConfigurator.java:84)
	at io.vavr.Tuple2.apply(Tuple2.java:238)
	at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.configure(HeteroDescribableConfigurator.java:84)
	at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.configure(HeteroDescribableConfigurator.java:55)
	at io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.tryConstructor(DataBoundConfigurator.java:164)
	at io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.instance(DataBoundConfigurator.java:75)
	at io.jenkins.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:274)
	at io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.configure(DataBoundConfigurator.java:81)
	at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.lambda$doConfigure$16668e2$1(HeteroDescribableConfigurator.java:299)
	at io.vavr.CheckedFunction0.lambda$unchecked$52349c75$1(CheckedFunction0.java:247)
	at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.doConfigure(HeteroDescribableConfigurator.java:299)
	at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.lambda$configure$2(HeteroDescribableConfigurator.java:86)
	at io.vavr.control.Option.map(Option.java:392)
	at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.lambda$configure$3(HeteroDescribableConfigurator.java:86)
	at io.vavr.Tuple2.apply(Tuple2.java:238)
	at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.configure(HeteroDescribableConfigurator.java:84)
	at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.configure(HeteroDescribableConfigurator.java:55)
	at io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.tryConstructor(DataBoundConfigurator.java:164)
	at io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.instance(DataBoundConfigurator.java:75)
	at io.jenkins.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:274)
	at io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.check(DataBoundConfigurator.java:99)
	at io.jenkins.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:355)
	at io.jenkins.plugins.casc.BaseConfigurator.check(BaseConfigurator.java:293)
	at io.jenkins.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:360)
	at io.jenkins.plugins.casc.BaseConfigurator.check(BaseConfigurator.java:293)
	at io.jenkins.plugins.casc.ConfigurationAsCode.lambda$checkWith$9(ConfigurationAsCode.java:797)
	at io.jenkins.plugins.casc.ConfigurationAsCode.invokeWith(ConfigurationAsCode.java:731)
	at io.jenkins.plugins.casc.ConfigurationAsCode.checkWith(ConfigurationAsCode.java:797)
	at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:783)
	at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:652)
	at io.jenkins.plugins.casc.ConfigurationAsCode.configure(ConfigurationAsCode.java:314)
	at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:306)
Caused: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
Caused: java.lang.Error
	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:115)
	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
	at jenkins.model.Jenkins$5.runTask(Jenkins.java:1164)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused: org.jvnet.hudson.reactor.ReactorException
	at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:290)
	at jenkins.InitReactorRunner.run(InitReactorRunner.java:49)
	at jenkins.model.Jenkins.executeReactor(Jenkins.java:1199)
	at jenkins.model.Jenkins.<init>(Jenkins.java:987)
	at hudson.model.Hudson.<init>(Hudson.java:86)
	at hudson.model.Hudson.<init>(Hudson.java:82)
	at hudson.WebAppMain$3.run(WebAppMain.java:247)
Caused: hudson.util.HudsonFailedToLoad
	at hudson.WebAppMain$3.run(WebAppMain.java:264)

I don’t want to update the plugins with the latest version as some of them does not support jenkins 2.387.3 version…

Can someone please help me to fix this?
Thanks in advance!

2.387.3 is still an old Jenkins version that has known security vulnerabilities. And the update site is no longer providing information for this old version which plugins are compatible or require a newer version.
I strongly recommend to upgrade Jenkins to the latest LTS and in the future update Jenkins and plugins regularly every few weeks.

You should see at the very beginning of the Jenkins log what is causing the plugin failures. I guess you have one plugin that requires a newer Jenkins and this causes then all dependent plugins to fail as well.

1 Like

I am doing upgrade in incremental way… so that our code should work and we can do the plugins update based on the compatibility. I don’t want to update the plugins with the latest version as some of them does not support jenkins 2.387.3 version… How would I know which one plugin is causing the error in the above error message?
I have upgraded jenkins to 2.452.3 still facing above error
Looks like SCMSource… How should I fix this issue?

Do you still see errors that some plugin wasn’t loaded with 2.452.3? Have you already upgraded all plugins to the latest version that is compatible with 2.452.3?

I have upgraded jenkins to 2.452.3 and based on the compatibility upgraded plugins… however when i upgraded these plugin ,

java -jar jenkins-plugin-manager-2.13.0.jar --war=/usr/share/java/jenkins.war --plugins=role-strategy:717.v6a_69a_fe98974 --plugin-download-directory=/data/jenkins/plugins --verbose

I am getting warning in Assign roles under security user found but permissions would also be granted to a group of this name in jenkins

This table contains rows with ambiguous entries. This means that they apply to both users and groups of the specified name. If the current security realm does not distinguish between user names and group names unambiguously, and if users can either choose their own user name or create new groups, this configuration may allow them to obtain greater permissions. It is recommended that all ambiguous entries are replaced with ones that are either explicitly a user or a group.

Once I have changed permission to USER, warning error gone.

After that I have upgrade Bitbucket Branch Source to the latest one , jenkins starts failing with below error:-

HTTP ERROR 503 java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong.
URI:	/
STATUS:	503
MESSAGE:	java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong.
SERVLET:	Stapler
CAUSED BY:	java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong.
Caused by:
java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong.
	at jenkins.model.Jenkins.get(Jenkins.java:824)
	at com.michelin.cio.hudson.plugins.rolestrategy.RoleMap.hasPermission(RoleMap.java:142)
	at com.michelin.cio.hudson.plugins.rolestrategy.RoleMap$AclImpl.hasPermission(RoleMap.java:802)
	at hudson.security.SidACL._hasPermission(SidACL.java:73)
	at hudson.security.SidACL.hasPermission2(SidACL.java:54)
	at hudson.security.ACL.checkPermission(ACL.java:76)
	at hudson.security.AccessControlled.checkPermission(AccessControlled.java:52)
	at jenkins.model.Jenkins.getTarget(Jenkins.java:5211)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:725)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:900)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:698)
	at hudson.init.impl.InstallUncaughtExceptionHandler.handleException(InstallUncaughtExceptionHandler.java:59)
	at hudson.init.impl.InstallUncaughtExceptionHandler.lambda$init$0(InstallUncaughtExceptionHandler.java:33)
	at org.kohsuke.stapler.compression.CompressionFilter.reportException(CompressionFilter.java:72)
	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:56)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:86)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
	at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
	at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:38)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:569)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1580)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1384)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1553)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1306)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
	at org.eclipse.jetty.server.Server.handle(Server.java:563)
	at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)
	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)
	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)
	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.produce(AdaptiveExecutionStrategy.java:193)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)
	at java.base/java.lang.Thread.run(Thread.java:834)

Please look at the full log of Jenkins. My suspicion is that you have some error at the very beginning that is causing follow up problems.

This is full error:-

 cat /data/jenkins/local7.info | grep "2024-07-24 10:38:"

**2024-07-24 10:38:**16.717+0000 [id=32] INFO winstone.Logger#logInternal: JVM is terminating. Shutting down Jetty

**2024-07-24 10:38:**16.717+0000 [id=32] INFO org.eclipse.jetty.server.Server#doStop: Stopped Server@5852c06f{STOPPING}[10.0.20,sto=0]

**2024-07-24 10:38:**16.720+0000 [id=32] INFO o.e.j.server.AbstractConnector#doStop: Stopped ServerConnector@49c90a9c{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}

**2024-07-24 10:38:**16.722+0000 [id=32] INFO o.e.j.s.handler.ContextHandler#doStop: Stopped w.@32b9bd12{Jenkins v2.452.3,/,null,STOPPED}{/var/cache/jenkins/war}

**2024-07-24 10:38:**17.681+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file

**2024-07-24 10:38:**17.734+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath

**2024-07-24 10:38:**17.781+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-10.0.20; built: 2024-01-29T20:46:45.278Z; git: 3a745c71c23682146f262b99f4ddc4c1bc41630c; jvm 11.0.15.1+2-LTS-10

**2024-07-24 10:38:**17.993+0000 [id=1] INFO o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet

**2024-07-24 10:38:**18.026+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: Session workerName=node0

**2024-07-24 10:38:**18.313+0000 [id=1] INFO hudson.WebAppMain#contextInitialized: Jenkins home directory: /data/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")

**2024-07-24 10:38:**18.383+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStart: Started w.@59546cfe{Jenkins v2.452.3,/,file:///var/cache/jenkins/war/,AVAILABLE}{/var/cache/jenkins/war}

**2024-07-24 10:38:**18.390+0000 [id=1] INFO o.e.j.server.AbstractConnector#doStart: Started ServerConnector@3b35a229{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}

**2024-07-24 10:38:**18.392+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: Started Server@34129c78{STARTING}[10.0.20,sto=0] @1142ms

**2024-07-24 10:38:**18.394+0000 [id=27] INFO winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled

**2024-07-24 10:38:**18.588+0000 [id=33] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization

**2024-07-24 10:38:**18.743+0000 [id=40] WARNING hudson.ClassicPluginStrategy#createPluginWrapper: encountered /data/jenkins/plugins/github.hpi under a nonstandard name; expected github.jpi

**2024-07-24 10:38:**18.744+0000 [id=40] INFO hudson.PluginManager$1$3$1#isDuplicate: Ignoring /data/jenkins/plugins/github.hpi because /data/jenkins/plugins/github.jpi is already loaded

**2024-07-24 10:38:**18.751+0000 [id=40] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins

**2024-07-24 10:38:**18.965+0000 [id=36] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Jenkins Git client plugin v5.0.0 (git-client)

**2024-07-24 10:38:**19.050+0000 [id=45] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Git plugin v5.2.2 (git)

**2024-07-24 10:38:**19.051+0000 [id=45] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Atlassian Jira Software Cloud v2.0.6 (atlassian-jira-software-cloud)

**2024-07-24 10:38:**19.055+0000 [id=43] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Autofavorite for Blue Ocean v1.2.5 (blueocean-autofavorite)

**2024-07-24 10:38:**19.057+0000 [id=47] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin GitHub plugin v1.39.0 (github)

**2024-07-24 10:38:**19.058+0000 [id=36] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin GitHub Branch Source Plugin v1790.v5a_7859812c8d (github-branch-source)

**2024-07-24 10:38:**19.061+0000 [id=43] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Pipeline implementation for Blue Ocean v1.27.14 (blueocean-pipeline-api-impl)

**2024-07-24 10:38:**19.061+0000 [id=43] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Bitbucket Branch Source Plugin v888.v8e6d479a_1730 (cloudbees-bitbucket-branch-source)

**2024-07-24 10:38:**19.062+0000 [id=43] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Bitbucket Pipeline for Blue Ocean v1.27.14 (blueocean-bitbucket-pipeline)

**2024-07-24 10:38:**19.062+0000 [id=40] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Events API for Blue Ocean v1.27.14 (blueocean-events)

**2024-07-24 10:38:**19.063+0000 [id=37] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Git Pipeline for Blue Ocean v1.27.14 (blueocean-git-pipeline)

**2024-07-24 10:38:**19.063+0000 [id=37] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin GitHub Pipeline for Blue Ocean v1.27.14 (blueocean-github-pipeline)

**2024-07-24 10:38:**19.064+0000 [id=43] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Blue Ocean Pipeline Editor v1.27.14 (blueocean-pipeline-editor)

**2024-07-24 10:38:**19.065+0000 [id=34] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Blue Ocean v1.27.13 (blueocean)

**2024-07-24 10:38:**19.065+0000 [id=48] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Datadog Plugin v7.1.2 (datadog)

**2024-07-24 10:38:**19.077+0000 [id=34] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Jenkins Git server Plugin v126.v0d945d8d2b_39 (git-server)

**2024-07-24 10:38:**19.080+0000 [id=35] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Jenkins Job Configuration History Plugin v1229.v3039470161a_d (jobConfigHistory)

**2024-07-24 10:38:**19.083+0000 [id=48] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Pipeline: GitHub Groovy Libraries v38.v445716ea_edda_ (pipeline-github-lib)

**2024-07-24 10:38:**19.087+0000 [id=44] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Pipeline: Deprecated Groovy Libraries v588.v576c103a_ff86 (workflow-cps-global-lib)

**2024-07-24 10:38:**21.595+0000 [id=44] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins

**2024-07-24 10:38:**21.610+0000 [id=41] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins

**2024-07-24 10:38:**21.617+0000 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions

**2024-07-24 10:38:**21.759+0000 [id=38] WARNING o.j.p.s.scripts.ScriptApproval#load: There are 5 deprecated approved script hashes and 0 deprecated approved classpath hashes. They will be rehashed upon next use and that may cause performance issues until all of them are converted or removed.

**2024-07-24 10:38:**21.759+0000 [id=34] INFO o.s.s.l.DefaultSpringSecurityContextSource#<init>: Configure with URL ldaps://ldap.evbcentral.com:636/OU=Okta,DC=ad,DC=evbcentral,DC=com and root DN OU=Okta,DC=ad,DC=evbcentral,DC=com

**2024-07-24 10:38:**21.773+0000 [id=34] INFO o.s.s.l.s.FilterBasedLdapUserSearch#<init>: Searches will be performed from the root ou=Okta,dc=ad,dc=evbcentral,dc=com since SearchBase not set

**2024-07-24 10:38:**21.844+0000 [id=34] INFO o.s.s.l.u.DefaultLdapAuthoritiesPopulator#<init>: Will perform group search from the context source base since groupSearchBase is empty.

**2024-07-24 10:38:**22.115+0000 [id=38] INFO h.p.b.g.GlobalTimeOutConfiguration#load: global timeout not set


**2024-07-24 10:38:**22.353+0000 [id=48] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded

**2024-07-24 10:38:**22.622+0000 [id=48] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class javaposse.jobdsl.plugin.GlobalJobDslSecurityConfiguration#metaClass: type is abstract but not Describable.

**2024-07-24 10:38:**22.892+0000 [id=48] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed ConfigurationAsCode.init

**2024-07-24 10:38:**22.893+0000 [id=26] SEVERE hudson.util.BootFailure#publish: Failed to initialize Jenkins

**2024-07-24 10:38:**22.948+0000 [id=26] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins

**2024-07-24 10:38:**22.967+0000 [id=26] INFO jenkins.model.Jenkins$16#onAttained: Started termination

**2024-07-24 10:38:**22.983+0000 [id=26] INFO h.p.b.global.Lifecycle#shutdown: Shutdown complete - Global TimeOut ScheduledExecutorService had 0 tasks pending

**2024-07-24 10:38:**22.984+0000 [id=26] INFO jenkins.model.Jenkins$16#onAttained: Completed termination

**2024-07-24 10:38:**22.984+0000 [id=26] INFO jenkins.model.Jenkins#_cleanUpDisconnectComputers: Starting node disconnection

**2024-07-24 10:38:**22.990+0000 [id=26] INFO jenkins.model.Jenkins#_cleanUpShutdownPluginManager: Stopping plugin manager

**2024-07-24 10:38:**22.995+0000 [id=26] INFO jenkins.model.Jenkins#_cleanUpPersistQueue: Persisting build queue

**2024-07-24 10:38:**23.004+0000 [id=26] INFO jenkins.model.Jenkins#_cleanUpAwaitDisconnects: Waiting for node disconnection completion

**2024-07-24 10:38:**32.993+0000 [id=26] SEVERE jenkins.model.Jenkins#_cleanUpPluginServletFilters: Failed to stop filters

**2024-07-24 10:38:**32.994+0000 [id=26] INFO hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped

I am unable to load plugins due to latest plugin upgrade … am assuming it because of some plugins which has dependencies on other … mostly it failed while upgrading

Bitbucket Branch Source Plugin

github

email extension

And all the other errors afterwards

Probably in the lines after that line you will see the reason why it failed to load. As you used grep to match timestamp they are not visible here

I have installed configuration-as-code 1810.v9b_c30a_249a_4c, still the error exists.

java.io.IOException: Failed to load: Jenkins Git client plugin (git-client 5.0.0)
 - Update required: Configuration as Code Plugin (configuration-as-code 1805.v1455f39c04cf) to be updated to 1810.v9b_c30a_249a_4c or higher
        at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:992)
        at hudson.PluginManager$2$1$1.run(PluginManager.java:552)
        at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:177)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
        at jenkins.model.Jenkins$5.runTask(Jenkins.java:1175)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
        at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
2024-07-23 20:15:25.869+0000 [id=38]    SEVERE  jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Run Condition Plugin v1.5 (run-condition)
java.io.IOException: Failed to load: Run Condition Plugin (run-condition 1.5)
 - Failed to load: Token Macro Plugin (token-macro 400.v35420b_922dcb_)
        at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:992)
        at hudson.PluginManager$2$1$1.run(PluginManager.java:552)
        at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:177)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
        at jenkins.model.Jenkins$5.runTask(Jenkins.java:1175)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
        at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

you should update all plugins in one run. If you updates the plugins one by one it will take forever until you solved all dependency problems.
And you should update all plugins to the latest version, not just what a dependant plugin has as minimum version.

Sure ,
Could you please let me know How to update all the plugins in one run using CLI?

See GitHub - jenkinsci/plugin-installation-manager-tool: Plugin Manager CLI tool for Jenkins
You can give it a text file with a list of plugins

Thanks a lot. I can not perform now…its still failing. I will revert back to the older plugin had copy of it then update all at once.

Hello @mawinter69 ,

As discussed, I have update all the plugins to the latest version at one run mentioned in the update section in Manage Jenkins->Plugins. I am seeing below error:-

2024-07-25 18:18:07.402+0000 [id=17]	INFO	hudson.model.UpdateCenter#doSafeRestart: Scheduling Jenkins reboot
2024-07-25 18:18:08.252+0000 [id=423]	INFO	hudson.lifecycle.Lifecycle#onStatusUpdate: Restart in 10 seconds
2024-07-25 18:18:18.252+0000 [id=423]	INFO	hudson.lifecycle.Lifecycle#onStop: Stopping Jenkins as requested by priya.rani
2024-07-25 18:18:18.258+0000 [id=423]	INFO	hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
2024-07-25 18:18:18.266+0000 [id=423]	INFO	jenkins.model.Jenkins$16#onAttained: Started termination
2024-07-25 18:18:18.273+0000 [id=423]	INFO	h.p.b.global.Lifecycle#shutdown: Shutdown complete - Global TimeOut ScheduledExecutorService had 0 tasks pending
2024-07-25 18:18:18.276+0000 [id=423]	INFO	jenkins.model.Jenkins$16#onAttained: Completed termination
2024-07-25 18:18:18.276+0000 [id=423]	INFO	jenkins.model.Jenkins#_cleanUpDisconnectComputers: Starting node disconnection
2024-07-25 18:18:18.280+0000 [id=423]	INFO	jenkins.model.Jenkins#_cleanUpShutdownPluginManager: Stopping plugin manager
2024-07-25 18:18:18.285+0000 [id=423]	INFO	jenkins.model.Jenkins#_cleanUpPersistQueue: Persisting build queue
2024-07-25 18:18:18.287+0000 [id=423]	INFO	jenkins.model.Jenkins#_cleanUpAwaitDisconnects: Waiting for node disconnection completion
2024-07-25 18:18:18.288+0000 [id=423]	SEVERE	jenkins.model.Jenkins#_cleanUpPluginServletFilters: Failed to stop filters
java.lang.ClassNotFoundException: org.jenkinsci.plugins.ssegateway.SubscriptionConfigQueue$SubscriptionConfig
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
	at jenkins.util.URLClassLoader2.findClass(URLClassLoader2.java:35)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
Caused: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/ssegateway/SubscriptionConfigQueue$SubscriptionConfig
	at org.jenkinsci.plugins.ssegateway.SubscriptionConfigQueue.stop(SubscriptionConfigQueue.java:106)
	at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.destroy(Endpoint.java:253)
	at hudson.util.PluginServletFilter.cleanUp(PluginServletFilter.java:191)
	at jenkins.model.Jenkins._cleanUpPluginServletFilters(Jenkins.java:3997)
	at jenkins.model.Jenkins.cleanUp(Jenkins.java:3694)
	at hudson.lifecycle.ExitLifecycle.restart(ExitLifecycle.java:67)
	at jenkins.model.Jenkins$20.run(Jenkins.java:4722)
2024-07-25 18:18:18.288+0000 [id=423]	INFO	hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
2024-07-25 18:18:18.288+0000 [id=28]	INFO	winstone.Logger#logInternal: JVM is terminating. Shutting down Jetty
2024-07-25 18:18:18.289+0000 [id=28]	INFO	org.eclipse.jetty.server.Server#doStop: Stopped Server@34129c78{STOPPING}[10.0.20,sto=0]
2024-07-25 18:18:18.290+0000 [id=28]	INFO	o.e.j.server.AbstractConnector#doStop: Stopped ServerConnector@3b35a229{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2024-07-25 18:18:18.292+0000 [id=28]	INFO	o.e.j.s.handler.ContextHandler#doStop: Stopped w.@59546cfe{Jenkins v2.452.3,/,null,STOPPED}{/var/cache/jenkins/war}
2024-07-25 18:18:19.410+0000 [id=1]	INFO	winstone.Logger#logInternal: Beginning extraction from war file
2024-07-25 18:18:19.466+0000 [id=1]	WARNING	o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
2024-07-25 18:18:19.507+0000 [id=1]	INFO	org.eclipse.jetty.server.Server#doStart: jetty-10.0.20; built: 2024-01-29T20:46:45.278Z; git: 3a745c71c23682146f262b99f4ddc4c1bc41630c; jvm 11.0.15.1+2-LTS-10
2024-07-25 18:18:19.726+0000 [id=1]	INFO	o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2024-07-25 18:18:19.759+0000 [id=1]	INFO	o.e.j.s.s.DefaultSessionIdManager#doStart: Session workerName=node0
2024-07-25 18:18:20.052+0000 [id=1]	INFO	hudson.WebAppMain#contextInitialized: Jenkins home directory: /data/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
2024-07-25 18:18:20.132+0000 [id=1]	INFO	o.e.j.s.handler.ContextHandler#doStart: Started w.@59546cfe{Jenkins v2.452.3,/,file:///var/cache/jenkins/war/,AVAILABLE}{/var/cache/jenkins/war}
2024-07-25 18:18:20.141+0000 [id=1]	INFO	o.e.j.server.AbstractConnector#doStart: Started ServerConnector@3b35a229{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2024-07-25 18:18:20.142+0000 [id=1]	INFO	org.eclipse.jetty.server.Server#doStart: Started Server@34129c78{STARTING}[10.0.20,sto=0] @1153ms
2024-07-25 18:18:20.144+0000 [id=27]	INFO	winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled
2024-07-25 18:18:20.365+0000 [id=33]	INFO	jenkins.InitReactorRunner$1#onAttained: Started initialization
2024-07-25 18:18:22.122+0000 [id=46]	INFO	jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2024-07-25 18:18:25.997+0000 [id=49]	INFO	jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
2024-07-25 18:18:26.152+0000 [id=37]	WARNING	o.j.p.s.scripts.ScriptApproval#load: There are 5 deprecated approved script hashes and 0 deprecated approved classpath hashes. They will be rehashed upon next use and that may cause performance issues until all of them are converted or removed.
2024-07-25 18:18:26.429+0000 [id=37]	WARNING	hudson.model.Descriptor#load: Failed to load /data/jenkins/github-plugin-configuration.xml
com.thoughtworks.xstream.mapper.CannotResolveClassException: github-plugin-configuration
	at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:452)
	at hudson.util.xstream.MapperDelegate.realClass(MapperDelegate.java:46)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
	at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:135)
	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1464)
	at hudson.util.XStream2.unmarshal(XStream2.java:230)
	at hudson.util.XStream2.unmarshal(XStream2.java:201)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1441)
	at hudson.XmlFile.unmarshal(XmlFile.java:196)
Caused: java.io.IOException: Unable to read /data/jenkins/github-plugin-configuration.xml
	at hudson.XmlFile.unmarshal(XmlFile.java:199)
	at hudson.XmlFile.unmarshal(XmlFile.java:179)
	at hudson.model.Descriptor.load(Descriptor.java:937)
	at org.jenkinsci.plugins.github.config.GitHubPluginConfig.<init>(GitHubPluginConfig.java:88)
	at org.jenkinsci.plugins.github.config.GitHubPluginConfig$$FastClassByGuice$$3fd213c9.GUICE$TRAMPOLINE(<generated>)
	at org.jenkinsci.plugins.github.config.GitHubPluginConfig$$FastClassByGuice$$3fd213c9.apply(<generated>)
	at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:82)
	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114)
	at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:33)
	at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:98)
	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
	at hudson.ExtensionFinder$GuiceFinder$SezpozModule.onProvision(ExtensionFinder.java:613)
	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:117)
	at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:66)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:93)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:300)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169)
	at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:448)
	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
	at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1148)
	at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:406)
	at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:397)
	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:335)
	at hudson.ExtensionList.load(ExtensionList.java:384)
	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:320)
	at hudson.ExtensionList.getComponents(ExtensionList.java:184)
	at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:213)
	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:320)
	at hudson.ExtensionList.iterator(ExtensionList.java:172)
	at hudson.ExtensionList.get(ExtensionList.java:149)
	at com.atlassian.jira.cloud.jenkins.config.JiraCloudPluginConfig.get(JiraCloudPluginConfig.java:60)
	at com.atlassian.jira.cloud.jenkins.listeners.InitializePluginListener.postInitialize(InitializePluginListener.java:31)
	at hudson.PluginManager$2$1$2.run(PluginManager.java:580)
	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:177)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
	at jenkins.model.Jenkins$5.runTask(Jenkins.java:1175)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
2024-07-25 18:18:26.551+0000 [id=37]	INFO	h.p.b.g.GlobalTimeOutConfiguration#load: global timeout not set
2024-07-25 18:18:26.962+0000 [id=48]	INFO	jenkins.InitReactorRunner$1#onAttained: Started all plugins
2024-07-25 18:18:26.965+0000 [id=48]	INFO	jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
2024-07-25 18:18:27.101+0000 [id=43]	INFO	o.s.s.l.DefaultSpringSecurityContextSource#<init>: Configure with URL ldaps://ldap.evbcentral.com:636/OU=Okta,DC=ad,DC=evbcentral,DC=com and root DN OU=Okta,DC=ad,DC=evbcentral,DC=com
2024-07-25 18:18:27.117+0000 [id=43]	INFO	o.s.s.l.s.FilterBasedLdapUserSearch#<init>: Searches will be performed from the root ou=Okta,dc=ad,dc=evbcentral,dc=com since SearchBase not set
2024-07-25 18:18:27.129+0000 [id=47]	INFO	o.d.j.p.d.c.DatadogAgentClient#reinitializeStatsDClient: Re/Initialize DogStatsD Client: hostname = localhost, port = 8135
2024-07-25 18:18:27.166+0000 [id=43]	INFO	o.s.s.l.u.DefaultLdapAuthoritiesPopulator#<init>: Will perform group search from the context source base since groupSearchBase is empty.
2024-07-25 18:18:27.244+0000 [id=43]	INFO	hudson.slaves.SlaveComputer#tryReconnect: Attempting to reconnect qa-core-app1
2024-07-25 18:18:27.288+0000 [id=33]	INFO	jenkins.InitReactorRunner$1#onAttained: System config loaded
2024-07-25 18:18:27.649+0000 [id=34]	WARNING	i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class javaposse.jobdsl.plugin.GlobalJobDslSecurityConfiguration#metaClass: type is abstract but not Describable.
2024-07-25 18:18:28.022+0000 [id=34]	WARNING	i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.plugins.git.GitSCMSource#owner: type is abstract but not Describable.
2024-07-25 18:18:28.283+0000 [id=34]	SEVERE	jenkins.InitReactorRunner$1#onTaskFailed: Failed ConfigurationAsCode.init
io.jenkins.plugins.casc.UnknownAttributesException: unclassified: Invalid configuration elements for type: class jenkins.model.GlobalConfigurationCategory$Unclassified : simple-theme-plugin.
Available attributes : administrativeMonitorsConfiguration, artifactManager, audit-trail, bitbucketEndpointConfiguration, buildDiscarders, buildStepOperation, builtInNode, casCGlobalConfig, datadogGlobalConfiguration, defaultDisplayUrlProvider, defaultFolderConfiguration, defaultView, descriptionSetterWrapper, email-ext, enrichedSummaryConfig, envInjectNodeProperty, envVarsFilter, fingerprints, gitHubConfiguration, gitHubPluginConfig, globalDefaultFlowDurabilityLevel, globalLibraries, globalTimeOutConfiguration, globalUntrustedLibraries, injectionConfig, jiraCloudPluginConfig, jiraGlobalConfiguration, jobConfigHistory, junitTestResultStorage, location, lockableResourcesManager, mailer, mavenModuleSet, myView, nodeProperties, pipeline-model-docker, plugin, pollSCM, projectNamingStrategy, proxyConfigurationManager, quietPeriod, rebuildDescriptor, remoteBuildConfiguration, resourceRoot, scmGit, scmRetryCount, shell, singleConditionalBuilder, slackNotifier, subversionSCM, throttleJobProperty, timestamper, usageStatistics, viewsTabBar
	at io.jenkins.plugins.casc.BaseConfigurator.handleUnknown(BaseConfigurator.java:389)
	at io.jenkins.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:374)
	at io.jenkins.plugins.casc.BaseConfigurator.check(BaseConfigurator.java:293)
	at io.jenkins.plugins.casc.ConfigurationAsCode.lambda$checkWith$9(ConfigurationAsCode.java:834)
	at io.jenkins.plugins.casc.ConfigurationAsCode.invokeWith(ConfigurationAsCode.java:777)
	at io.jenkins.plugins.casc.ConfigurationAsCode.checkWith(ConfigurationAsCode.java:834)
	at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:820)
	at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:699)
	at io.jenkins.plugins.casc.ConfigurationAsCode.configure(ConfigurationAsCode.java:356)
	at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:345)
Caused: io.jenkins.plugins.casc.ConfigurationAsCodeBootFailure
	at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:347)
Caused: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
Caused: java.lang.Error
	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:115)
	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
	at jenkins.model.Jenkins$5.runTask(Jenkins.java:1175)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
2024-07-25 18:18:28.284+0000 [id=26]	SEVERE	hudson.util.BootFailure#publish: Failed to initialize Jenkins
io.jenkins.plugins.casc.UnknownAttributesException: unclassified: Invalid configuration elements for type: class jenkins.model.GlobalConfigurationCategory$Unclassified : simple-theme-plugin.
Available attributes : administrativeMonitorsConfiguration, artifactManager, audit-trail, bitbucketEndpointConfiguration, buildDiscarders, buildStepOperation, builtInNode, casCGlobalConfig, datadogGlobalConfiguration, defaultDisplayUrlProvider, defaultFolderConfiguration, defaultView, descriptionSetterWrapper, email-ext, enrichedSummaryConfig, envInjectNodeProperty, envVarsFilter, fingerprints, gitHubConfiguration, gitHubPluginConfig, globalDefaultFlowDurabilityLevel, globalLibraries, globalTimeOutConfiguration, globalUntrustedLibraries, injectionConfig, jiraCloudPluginConfig, jiraGlobalConfiguration, jobConfigHistory, junitTestResultStorage, location, lockableResourcesManager, mailer, mavenModuleSet, myView, nodeProperties, pipeline-model-docker, plugin, pollSCM, projectNamingStrategy, proxyConfigurationManager, quietPeriod, rebuildDescriptor, remoteBuildConfiguration, resourceRoot, scmGit, scmRetryCount, shell, singleConditionalBuilder, slackNotifier, subversionSCM, throttleJobProperty, timestamper, usageStatistics, viewsTabBar
	at io.jenkins.plugins.casc.BaseConfigurator.handleUnknown(BaseConfigurator.java:389)
	at io.jenkins.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:374)
	at io.jenkins.plugins.casc.BaseConfigurator.check(BaseConfigurator.java:293)
	at io.jenkins.plugins.casc.ConfigurationAsCode.lambda$checkWith$9(ConfigurationAsCode.java:834)
	at io.jenkins.plugins.casc.ConfigurationAsCode.invokeWith(ConfigurationAsCode.java:777)
	at io.jenkins.plugins.casc.ConfigurationAsCode.checkWith(ConfigurationAsCode.java:834)
	at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:820)
	at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:699)
	at io.jenkins.plugins.casc.ConfigurationAsCode.configure(ConfigurationAsCode.java:356)
	at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:345)
Caused: io.jenkins.plugins.casc.ConfigurationAsCodeBootFailure
	at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:347)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
	at jenkins.model.Jenkins$5.runTask(Jenkins.java:1175)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
2024-07-25 18:18:28.293+0000 [id=26]	INFO	hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
2024-07-25 18:18:28.314+0000 [id=26]	INFO	jenkins.model.Jenkins$16#onAttained: Started termination
2024-07-25 18:18:28.315+0000 [id=26]	INFO	h.p.b.global.Lifecycle#shutdown: Shutdown complete - Global TimeOut ScheduledExecutorService had 0 tasks pending
2024-07-25 18:18:28.331+0000 [id=26]	INFO	jenkins.model.Jenkins$16#onAttained: Completed termination
2024-07-25 18:18:28.331+0000 [id=26]	INFO	jenkins.model.Jenkins#_cleanUpDisconnectComputers: Starting node disconnection
2024-07-25 18:18:28.335+0000 [id=26]	INFO	jenkins.model.Jenkins#_cleanUpShutdownPluginManager: Stopping plugin manager
2024-07-25 18:18:28.341+0000 [id=26]	INFO	jenkins.model.Jenkins#_cleanUpPersistQueue: Persisting build queue
2024-07-25 18:18:28.349+0000 [id=26]	INFO	jenkins.model.Jenkins#_cleanUpAwaitDisconnects: Waiting for node disconnection completion
2024-07-25 18:18:38.336+0000 [id=68]	WARNING	h.plugins.sshslaves.SSHLauncher#launch: SSH Launch of qa-core-app1 on qa-core-app1 failed in 10,991 ms
2024-07-25 18:18:38.339+0000 [id=26]	SEVERE	jenkins.model.Jenkins#_cleanUpPluginServletFilters: Failed to stop filters
java.lang.ClassNotFoundException: org.jenkinsci.plugins.ssegateway.SubscriptionConfigQueue$SubscriptionConfig
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
	at jenkins.util.URLClassLoader2.findClass(URLClassLoader2.java:35)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
Caused: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/ssegateway/SubscriptionConfigQueue$SubscriptionConfig
	at org.jenkinsci.plugins.ssegateway.SubscriptionConfigQueue.stop(SubscriptionConfigQueue.java:106)
	at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.destroy(Endpoint.java:253)
	at hudson.util.PluginServletFilter.cleanUp(PluginServletFilter.java:191)
	at jenkins.model.Jenkins._cleanUpPluginServletFilters(Jenkins.java:3997)
	at jenkins.model.Jenkins.cleanUp(Jenkins.java:3694)
	at hudson.WebAppMain$3.run(WebAppMain.java:281)
2024-07-25 18:18:38.339+0000 [id=26]	INFO	hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
2024-07-25 18:19:49.217+0000 [id=28]	INFO	winstone.Logger#logInternal: JVM is terminating. Shutting down Jetty
2024-07-25 18:19:49.218+0000 [id=28]	INFO	org.eclipse.jetty.server.Server#doStop: Stopped Server@34129c78{STOPPING}[10.0.20,sto=0]
2024-07-25 18:19:49.221+0000 [id=28]	INFO	o.e.j.server.AbstractConnector#doStop: Stopped ServerConnector@3b35a229{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2024-07-25 18:19:49.223+0000 [id=28]	INFO	o.e.j.s.handler.ContextHandler#doStop: Stopped w.@59546cfe{Jenkins v2.452.3,/,null,STOPPED}{/var/cache/jenkins/war}
2024-07-25 18:19:50.162+0000 [id=1]	INFO	winstone.Logger#logInternal: Beginning extraction from war file
2024-07-25 18:19:50.218+0000 [id=1]	WARNING	o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
2024-07-25 18:19:50.269+0000 [id=1]	INFO	org.eclipse.jetty.server.Server#doStart: jetty-10.0.20; built: 2024-01-29T20:46:45.278Z; git: 3a745c71c23682146f262b99f4ddc4c1bc41630c; jvm 11.0.15.1+2-LTS-10
2024-07-25 18:19:50.481+0000 [id=1]	INFO	o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2024-07-25 18:19:50.514+0000 [id=1]	INFO	o.e.j.s.s.DefaultSessionIdManager#doStart: Session workerName=node0
2024-07-25 18:19:50.789+0000 [id=1]	INFO	hudson.WebAppMain#contextInitialized: Jenkins home directory: /data/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
2024-07-25 18:19:50.863+0000 [id=1]	INFO	o.e.j.s.handler.ContextHandler#doStart: Started w.@59546cfe{Jenkins v2.452.3,/,file:///var/cache/jenkins/war/,AVAILABLE}{/var/cache/jenkins/war}
2024-07-25 18:19:50.870+0000 [id=1]	INFO	o.e.j.server.AbstractConnector#doStart: Started ServerConnector@3b35a229{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2024-07-25 18:19:50.874+0000 [id=1]	INFO	org.eclipse.jetty.server.Server#doStart: Started Server@34129c78{STARTING}[10.0.20,sto=0] @1127ms
2024-07-25 18:19:50.875+0000 [id=27]	INFO	winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled
2024-07-25 18:19:51.106+0000 [id=33]	INFO	jenkins.InitReactorRunner$1#onAttained: Started initialization
2024-07-25 18:19:51.179+0000 [id=36]	INFO	jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2024-07-25 18:19:55.048+0000 [id=34]	INFO	jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
2024-07-25 18:19:55.197+0000 [id=39]	WARNING	o.j.p.s.scripts.ScriptApproval#load: There are 5 deprecated approved script hashes and 0 deprecated approved classpath hashes. They will be rehashed upon next use and that may cause performance issues until all of them are converted or removed.
2024-07-25 18:19:55.448+0000 [id=39]	WARNING	hudson.model.Descriptor#load: Failed to load /data/jenkins/github-plugin-configuration.xml
com.thoughtworks.xstream.mapper.CannotResolveClassException: github-plugin-configuration
	at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:452)
	at hudson.util.xstream.MapperDelegate.realClass(MapperDelegate.java:46)
	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
	at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
	at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:135)
	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1464)
	at hudson.util.XStream2.unmarshal(XStream2.java:230)
	at hudson.util.XStream2.unmarshal(XStream2.java:201)
	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1441)
	at hudson.XmlFile.unmarshal(XmlFile.java:196)
Caused: java.io.IOException: Unable to read /data/jenkins/github-plugin-configuration.xml
	at hudson.XmlFile.unmarshal(XmlFile.java:199)
	at hudson.XmlFile.unmarshal(XmlFile.java:179)
	at hudson.model.Descriptor.load(Descriptor.java:937)
	at org.jenkinsci.plugins.github.config.GitHubPluginConfig.<init>(GitHubPluginConfig.java:88)
	at org.jenkinsci.plugins.github.config.GitHubPluginConfig$$FastClassByGuice$$400a37df.GUICE$TRAMPOLINE(<generated>)
	at org.jenkinsci.plugins.github.config.GitHubPluginConfig$$FastClassByGuice$$400a37df.apply(<generated>)
	at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:82)
	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114)
	at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:33)
	at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:98)
	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
	at hudson.ExtensionFinder$GuiceFinder$SezpozModule.onProvision(ExtensionFinder.java:613)
	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:117)
	at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:66)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:93)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:300)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169)
	at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:448)
	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
	at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1148)
	at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:406)
	at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:397)
	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:335)
	at hudson.ExtensionList.load(ExtensionList.java:384)
	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:320)
	at hudson.ExtensionList.getComponents(ExtensionList.java:184)
	at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:213)
	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:320)
	at hudson.ExtensionList.iterator(ExtensionList.java:172)
	at hudson.ExtensionList.get(ExtensionList.java:149)
	at com.atlassian.jira.cloud.jenkins.config.JiraCloudPluginConfig.get(JiraCloudPluginConfig.java:60)
	at com.atlassian.jira.cloud.jenkins.listeners.InitializePluginListener.postInitialize(InitializePluginListener.java:31)
	at hudson.PluginManager$2$1$2.run(PluginManager.java:580)
	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:177)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
	at jenkins.model.Jenkins$5.runTask(Jenkins.java:1175)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
2024-07-25 18:19:55.556+0000 [id=39]	INFO	h.p.b.g.GlobalTimeOutConfiguration#load: global timeout not set
2024-07-25 18:19:56.051+0000 [id=46]	INFO	jenkins.InitReactorRunner$1#onAttained: Started all plugins
2024-07-25 18:19:56.058+0000 [id=35]	INFO	jenkins.InitReactorRunner$1#onAttained: Augmented all extensions

You’re using CasC so if you would have read the upgrade guides you would have seen that there is a breaking change:

You should read all upgrade guides to see whether they affect you or not.