Reinstalling SonarQube 7.9 LTS with Same MS SQL DB

Currently I’m using SonarQube 7.9 LTS, Jenkins 2.0, using against .Net project having SonarQube for MSBuild 4.0.2 Version on Jenkins. Adopt JDK 11.

I have already installed SonarQube 7.9 LTS on Windows with MS SQL DB.

Unfortunately, I just realized that I have successfully installed the sonarqube on different Windows server host from the one it supposed to be installed.

I have copied the SonarQube 7.9 LTS and Jdk 11 from old windows to the new one.
Can I use the same Database MS SQL on which I have used earlier?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

Welcome :slight_smile:

All your settings are persisted in MSSQL database, the Sonarqube server is just the frontend.
So, no need to copy the whole Sonarqube Server filesystem.
Just start with a fresh installation and copy your $SONARQUBE_HOME/conf/sonar.properties
and additional plugins - if any, you need to copy to $SONARQUBE_HOME/extensions/plugins

Gilbert

3 Likes

Thank you for quick response Gilbert. I was able to install and startup the Server and sonarqube is functioning as usual. I searched up Web.log too, it is really fine as you said. Thank you.