Kanekotic/Sonarqube Upgrade Error due LDAP

Created Thu, 17 Mar 2016 09:56:49 +0200 Modified Sun, 05 Dec 2021 10:26:06 +0000

While upgrading Sonarqube i am getting the next error message

An error happened, some parts of the page might not render correctly. Please contact the administrator if you keep on experiencing this error

As you can see the message is not to explicit, in reality it doesnt have anything to do with reality. In my case i had copy as per the instructions the sonar.properties file. after searching i fouund this discussion post.

The problem at this point became clear, LDAP is a plugin inside Sonarqube. During the upgrade process the plugins must have not been loaded causing an unidentified section in the upgrade.

The solution is simple:

  1. Comment the LDAP section.
  2. Go through the upgrade process of Sonarqube.
  3. Stop Sonarqube.
  4. Uncomment LDAP section.
  5. Start Sonarqube.