Migrating Sonarqube from RHEL7 to RHEL8

Must-share information (formatted with Markdown):

  • which versions are you using: Sonarqube Developer Edition, version 8.9.6 Stand-alone (not clustered)
  • how is SonarQube deployed: ZIP
  • what are you trying to achieve: Migrate current installation to new server
  • what have you tried so far to achieve this: Searched thru existing posts on the subject

Good day! I am preparing to migrate my existing Sonarqube installation from a RHEL7 server to RHEL8 server. I have found some good information on here in previous posts but was hoping to get some concrete “do” or “do not” steps or guidance. Reasons are that we are on a highly locked down environment and I need to make sure every step is ready before I jump.

We utilize a separate SQL database server and the plan is to re-use the same database. I know the steps are: shutdown old server; install on new server; connect to existing SQL database; sit back and relax.

But, are there any other specifics needed to take into consideration? I don’t have a test/dev environment so this will have to be done on my production server. Any specific java versions need installed or is that included in the installation? What about any plugins I have installed on the old version? Any other gotchas? Thanks!

Hey there.

This should be a pretty basic move as long as the new server meets the requirements.

It’s almost like you’re performing an upgrade without the actual upgrade.

  1. Manually install additional plugins that are compatible with your version of SonarQube. Use the compatibility matrix to ensure that the versions you install are compatible with your server version. Simply copying plugins from the old server to the new is not recommended; incompatible or duplicate plugins could cause startup errors. Analysis of all languages provided by your edition is available by default without plugins.

Once you’ve moved servers, I hope you’re targeting SonarQube v9.9 LTA. SonarQube v8.9 LTA has been EOL for a long time.