Issue with SonarQube upgrade from 10.5.1+2816 to 10.7.0+3598 - Pods are not coming up

Hi,

I have recently upgraded SonarQube from 10.5.1+2816 to 10.7.0+3598 community edition. And it is deployed using helm.
I am trying to upgrade the existing version to the newer version. I have pushed the image to my nexus repository and tried deploying it. But after deploying the pods are not coming up and in events it is showing readiness probe failed.
This issue appears to occur right after the upgrade. Previously, everything worked fine with version 10.5.1.

Environment Details:

  • SonarQube Version: 10.7.0+3598
  • Kubernetes Version: v1.30.10-eks-bc803b4
  • Helm Chart Version: Latest
  • Ingress Controller: NGINX

For now, we’ve rolled back to version 10.5.1+2816, which appears to be working correctly.

Has anyone else faced this problem or might have suggestions for resolving it?

Thank you in advance for any insights!

Hi,

Welcome to the community!

It’s not clear to me why you would upgrade to 10.7.

Only the latest version of SonarQube Community Build is considered active, so you’ll need to upgrade and see if the situation is still replicable before we can help you.

10.5.1 → 24.12 → 25.5

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

Regarding your error, if you’re still seeing a problem on the upgrade to 24.12 or 25.5, you should check your server logs.

 
Ann

Hello,

yes I have upgraded to SonarQube 24.12 and after upgrade pod was not coming up , i have tried manual restart as well but it was not coming up.

I am getting this error. Could you please suggest me how to fix this.

2025.07.02 11:33:36 WARN  es[][o.e.c.InternalClusterInfoService] failed to retrieve stats for node [o8gHOIUwQ8uatntu3tl9tA]
org.elasticsearch.transport.ReceiveTimeoutTransportException: [sonarqube][127.0.0.1:44729][cluster:monitor/nodes/stats[n]] request_id [137] timed out after [15010ms]
2025.07.02 11:34:58 WARN  es[][o.e.m.f.FsHealthService] health check of [/opt/sonarqube/data/es8] took [57629ms] which is above the warn threshold of [5s]
2025.07.02 11:37:13 WARN  web[][o.s.c.a.AnnotationConfigApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@7e3181aa-org.sonar.server.plugins.ServerPluginManager': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Fail to unzip plugin [javascript] /opt/sonarqube/lib/extensions/sonar-javascript-plugin-10.18.0.28572-multi.jar to /opt/sonarqube/data/web/deploy/plugins/javascript
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@7e3181aa-org.sonar.server.plugins.ServerPluginManager': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Fail to unzip plugin [javascript] /opt/sonarqube/lib/extensions/sonar-javascript-plugin-10.18.0.28572-multi.jar to /opt/sonarqube/data/web/deploy/plugins/javascript
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:628)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591)
        at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:225)
        at org.sonar.server.platform.platformlevel.PlatformLevel.start(PlatformLevel.java:80)
        at org.sonar.server.platform.platformlevel.PlatformLevel2.start(PlatformLevel2.java:111)
        at org.sonar.server.platform.PlatformImpl.start(PlatformImpl.java:217)
        at org.sonar.server.platform.PlatformImpl.startLevel2Container(PlatformImpl.java:189)
        at org.sonar.server.platform.PlatformImpl.init(PlatformImpl.java:81)
        at org.sonar.server.platform.web.PlatformServletContextListener.contextInitialized(PlatformServletContextListener.java:45)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4007)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4448)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1203)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1193)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
        at java.base/java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:749)
        at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:721)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1203)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1193)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
        at java.base/java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:749)
        at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:211)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164)
        at org.apache.catalina.core.StandardService.startInternal(StandardService.java:415)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164)
        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:878)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164)
        at org.sonar.server.app.EmbeddedTomcat.start(EmbeddedTomcat.java:72)
        at org.sonar.server.app.WebServer.start(WebServer.java:55)
        at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:97)
        at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:81)
        at org.sonar.server.app.WebServer.main(WebServer.java:104)
Caused by: java.lang.IllegalStateException: Fail to unzip plugin [javascript] /opt/sonarqube/lib/extensions/sonar-javascript-plugin-10.18.0.28572-multi.jar to /opt/sonarqube/data/web/deploy/plugins/javascript
        at org.sonar.server.plugins.ServerPluginJarExploder.explode(ServerPluginJarExploder.java:60)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
        at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(Unknown Source)
        at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
        at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
        at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(Unknown Source)
        at java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)
        at java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)
        at java.base/java.util.stream.ReferencePipeline.toList(Unknown Source)
        at org.sonar.server.plugins.ServerPluginManager.extractPlugins(ServerPluginManager.java:86)
        at org.sonar.server.plugins.ServerPluginManager.start(ServerPluginManager.java:65)
        at org.sonar.core.platform.StartableBeanPostProcessor.postProcessBeforeInitialization(StartableBeanPostProcessor.java:33)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
        ... 44 common frames omitted
Caused by: sun.nio.fs.UnixException: Input/output error
2025.07.02 11:37:13 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Shutdown initiated...
2025.07.02 11:37:13 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Shutdown completed.
2025.07.02 11:37:13 INFO  web[][o.s.p.ProcessEntryPoint] Hard stopping process
2025.07.02 11:37:13 INFO  app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
2025.07.02 11:37:20 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2025.07.02 11:37:20 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 143
2025.07.02 11:37:20 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped

Thanks.

Hey there

One common cause for this issue can be security software (such as antivirus or endpoint protection) blocking file extraction operations. Please check if you have any security software running on your system or server that might be interfering with the unzip process, and try temporarily disabling it or adding an exception for the SonarQube install directory. Additionally, ensure that the SonarQube service account has proper permissions to write to the target directory.

This can also happen if there’s not enough disk space available for the zip file to be unpacked.