Unable to start sonar web post 7.7 upgrade

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Sonarqube 7.7 , Sonarjava 5.13 , Sonar-Maven-Plugin 3.6

  • what are you trying to achieve
    Trying to upgrade and update the plugins for scanning projects

  • what have you tried so far to achieve this
    Tried copying 3.4, 3.5, 3.6 maven plugin version in extension/plugins folder, but failing to start web server with below error

|Web server startup failed: File is not a plugin. Please delete it and restart: sonar-maven-plugin-3.6.0.1398.jar

We have downloaded the plugins from

|https://repo1.maven.org/maven2/org/sonarsource/scanner/maven/sonar-maven-plugin/3.6.0.1398/

That is not a SonarQube plugin, but a Maven plugin, for use in your build (usually just by running mvn sonar:sonar) :slight_smile: The names might be similar, but you shouldn’t keep this jar in your extensions/plugins folder. Remove it and you should be good to go.

Thank you Colin for the help

While mvn sonar:sonar I am getting below (Project and IP are masked), please help

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar (default-cli) on project XXX: Unable to execute SonarQube: Fail to get bootstrap index from server: Status returned by url [ http://xxxxxxx/batch/index ] is not valid: [407] -> [Help 1]