Search code examples
windowsservicesonarqube

SonarQube: Unable to read plugin manitest - SonarQube Server won't start - How do I fix this?


Running SonarQube 5.6 LTS as a service on Windows Server 2012 R2. It has been running fine in our initial deployment with Subversion-based projects. I installed the GitHub support via the Adminstration-->Updates menu. It wanted a restart so I said OK. I'm getting this in the sonar log:

java.lang.IllegalStateException: Unable to read plugin manifest from jar : D:\Sonar\sonarqube\extensions\plugins\sonar-github-plugin-1.3.jar

How do I correct it? If the jar file is corrupt is there a better source? If so where do I correct it in configuration or properties files given that I can't start the service to use the UI?


Solution

  • Deleted the GitHub JARs from \sonarqube\extensions\plugins and was able to start the service. One of the JARs was 0 bytes so I suspect something happened while downloading the new JARs. Will try to re-install GitHub support now that I've figured out how to get rid of the entries should there be a problem.