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-126.96.36.19982.jar or sonar-java-plugin-188.8.131.5218.jar.
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-184.108.40.20682.jar -rw-r--r-- 1 1000 2000 18713549 Aug 16 09:47 sonar-java-plugin-220.127.116.1118.jar
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 ?