Atul Sureka
Atul Sureka

Reputation: 3312

How to upgrade sonar from 5.6 to 6.7 with dedicated database

I am using 5.6 version of sonar, want to upgrade to 6.7. Can I directly upgraded to 6.7 ?

I have 8-10 sonar projects hosted on a same instance of sonar server. I am not sure what would break after upgrade. I am thinking of following approach

  1. Install (do not upgrade) a new version of sonar 6.7, this would run on the different port(s).

  2. Create a copy of sonar database which I have with my older sonar version, attach that copy of DB to new installation of sonar (by updating the sonar configuration file).

  3. Assuming everything works fine, retire the older version (sonar server & DB).

I am using dedicated database as SQL server.

Anybody tried this approach? does it work?

Atul

Upvotes: 1

Views: 2878

Answers (1)

If you're using one of the supported databases, you can upgrade directly from 5.6 to 6.7.

Simply follow the Upgrade Guide - and make sure that you back up your DB first in case of troubles.

Upvotes: 3

Related Questions