Hi !
I’ve just found this unresolved ticket from 2 years ago, I encounter the same problem today, while trying to update a plugin (any plugin, same issue) : Error during SonarScanner execution: Fail to compute md5
We deploy Sonarqube with Bosh, we’ve just updated from 9.9 to 10.5, now it’s in 10.5 but with older plugins, and it works just fine.
As soon as we replace any plugin by a newer version in extensions/plugins, when we restart we get this error :
[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@2aae9190-org.sonar.server.plugins.ServerPluginManager': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Fail to compute md5 of /var/vcap/data/packages/sonarqube/534f9ee6a2f10d6298269f0eb3d9d806fdc55b0d/extensions/plugins/mutation-analysis-plugin-1.8.jar
/var/vcap/data/sys/log/sonarqube/web.log:6089:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@2aae9190-org.sonar.server.plugins.ServerPluginManager': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Fail to compute md5 of /var/vcap/data/packages/sonarqube/534f9ee6a2f10d6298269f0eb3d9d806fdc55b0d/extensions/plugins/mutation-analysis-plugin-1.8.jar
/var/vcap/data/sys/log/sonarqube/web.log:6135:Caused by: java.lang.IllegalStateException: Fail to compute md5 of /var/vcap/data/packages/sonarqube/534f9ee6a2f10d6298269f0eb3d9d806fdc55b0d/extensions/plugins/mutation-analysis-plugin-1.8.jar
/var/vcap/data/sys/log/sonarqube/web.log:6144:Caused by: java.io.FileNotFoundException: /var/vcap/data/packages/sonarqube/534f9ee6a2f10d6298269f0eb3d9d806fdc55b0d/extensions/plugins/mutation-analysis-plugin-1.8.jar (No such file or directory)
We also tried to just delete a plugin and we have the same error. What’s the problem ? We probably do something wrong.
And we already checked that this file exists : /var/vcap/data/packages/sonarqube/534f9ee6a2f10d6298269f0eb3d9d806fdc55b0d/extensions/plugins/mutation-analysis-plugin-1.8.jar
Thanks for your help !
Isabelle