Sonarqube migration and upgradation

Hello

I’m in the process of upgrading and migrating my SonarQube setup, and I could use some advice. My current setup includes:

SonarQube: Version 9.4 running on a CentOS server
PostgreSQL: Version 13.5

I am moving to a new server with the following configuration:

  • OS: Debian
  • SonarQube:Version 10.6
  • PostgreSQL: Version 15.8

I need to migrate the SonarQube database from the CentOS server to the new Debian server and ensure everything runs smoothly on the new versions of SonarQube and PostgreSQL.
Can anyone send me the steps to achieve migration

Has anyone here gone through a similar migration? What steps would you recommend to ensure a successful database migration? Any tips or pitfalls to avoid would be greatly appreciated!

Thanks in advance for your help!

Hi,

Welcome to the community!

To be clear, you can’t upgrade from 9.4 directly to 10.6. You’ll need to upgrade from 9.4 to 9.9.6, and then to 10.6.

Regarding the DB move, you should be able to simple backup the DB from PostgreSQL 13.5 and restore it into PostgreSQL 15.8.

The docs should help.

 
Ann