Must-share information (formatted with Markdown):
We are currently using Sonarqube 7.8 community edition. We have new requirement to do branch analysis which is not available with community license.
Wanted to check is it possible to upgrade from Community edition to Developer edition directly after purchasing license or We have to uninstall the existing instance and install new instance?
should work like that
Download the Developer Edition here https://www.sonarqube.org/downloads/
Then use the same Database you used with the Community Edtion in …/conf/sonarqube.properties and use the license in ../admin/extension/license/app
Means you have to use the Developer edtion instead of the Community edtion because of additional plugins, but you may reuse your database.
So you mean, I stop and remove the existing sonarqube service on the server as I have installed it as Windows service and use the same conf file for Developer edition and install it as a service again. Right?
As you have said, I can reuse the database which mean the existing projects will not be lost. Please correct me if my understanding is wrong here.
yes, and as always before updating make sure your database backup works correctly.
You should use the new 7.9.1 LTS, note
Sonarqube itself needs Java 11 (whereas the analysis runs still with Java 8)
if you have set sonar.search.javaOpts make sure that Xms and Xmx are equal, otherwise you’ll
get an ES bootstrap error
MySql ist not supported anymore
I have the same situation on my centos 7.7. I want to upgrade sonar 7.6 community to sonar 8.1 developer edition. I need steps how to make this upgrade with migration of Elasticsearch DB and applying my licence. I couldn’t find anywhere. please help.
OK, so you need to go from 7.6 Community to 7.9.2 LTS Community first.
Then download the Sonarqube 8.1 Developer Edition, do the update and apply your license.
No need for ES migration. Sonarqube 8.1 start will cause a rebuilt of ES index.
Hi Ann… When you say, “do the update and apply your license”… can you share the steps. Because I don’t see any script in sonar installation pack which says how to do the update and install the license.
So if you can help me applying my license to the new developers edition I just installed.
It appears that you never set up a production database despite the prominent warnings across the bottom of every page and are instead using the embedded H2 database. As the log notification indicates, you cannot upgrade that database; you’ll need to start over, so you might as well do it with a fresh 8.1 DE version. (As a side note, 8.2 should be released next week.)
Hey I want to update my community sonarqube to the developer what is the process to do that and I have a licenses key of the developer how would I update it?
Upgrading from one edition to another does not require much: Simply install the new edition, apply the same settings as the old edition in sonar.properties, stop the old edition, start the new one and you’re done.
After having upgraded, you should forward your new ServerID to your Sales rep, so we can generate the correct license key, which is tied to a single ServerID.
(ServerID will change with the upgrade of edition).