Older plugin java version reappears after some time


We have setup SonarQube (7.9.6) on Kubernetes platform.
We are using PVC (Persistent volume) to store data.
When we update SonarJava plugin version from 5.13.1 (build 18282) to 6.3.2 (build 22818) through MarketPlace, update is happening.
We observed that jar of plugin is getting updated with 6.3.2 version under /opt/sonarqube/extensions/plugins.

After update, we are to access Sonar App as usual.

Although, it is observed that we are getting below error after few hours.

2021.08.17 04:14:32 ERROR web[][o.s.s.p.Platform] Web server startup failed: Found two versions of the plugin SonarJava [java] in the directory extensions/plugins. Please remove one of sonar-java-plugin- or sonar-java-plugin-

As I checked, I found jars of java plugins for both versions:

-rw-r--r--    1 1000     root       8302745 Aug 16 23:20 sonar-java-plugin-
-rw-r--r--    1 1000     2000      18713549 Aug 16 09:47 sonar-java-plugin-

When I remove any of them, issue is getting resolved. And after few hours, I am getting into same issue.

Can anyone please help me to resolve this issue ?

Vaibhav Jariwala


First, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9.6 → 8.9.2 → 9.0.1 (last step optional)

Once you upgrade, you’ll find actual support (an official Helm chart) for Kubernetes. You’ll also find that the analyzers are pinned per version, so there’s no question of upgrading or old versions. It should be more stable for you.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.