Upgrading SonarQube Enterprise from 10.5 to Latest Version Without Configured Database

I am currently using SonarQube Enterprise version 10.5 and I have not configured any external database, relying instead on the default database. I need guidance on how to upgrade to the latest version of SonarQube. What steps should I follow to ensure a smooth migration?

i have installed sonar qube via Zip download

Hi,

So… since you’re using the embedded database, there’s no upgrade path. You’ll need to start from scratch. SonarQube 10.5 show this warning at the bottom of every page:

Embedded database should be used for evaluation purposes only
The embedded database will not scale, it will not support upgrading to newer versions of SonarQube, and there is no support for migrating your data out of it into a different database engine.

Next time, set up a real database (I would say that PostgreSQL is the usual go-to). It’ll save you this headache when the next upgrade rolls around.

Hi Scott,

Can I use the same licence key or I will require a new key for upgrade?

Regards,
Sourabh

Hi @SourabhGulhane02,

Based on the documentation here License administration | SonarQube Server Documentation, it looks like it will invalidate your existing license key.

Thanks,
Aravind