Must-share information (formatted with Markdown):
- which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) sonarqube-developer-10.7.0.96327.
- how is SonarQube deployed: zip extracted to ubuntu server 22.04
- what are you trying to achieve: to upgrade to developer edition, starting with a trial
- what have you tried so far to achieve this
I followed the steps below.
- When I stopped sonar.sh stop in sonarqube-10.6.0.92116 folder(community edition). The sonar stopped successfully. And the page in which I was giving error about bad gateway. Meaning the service stopped successfully. and the command line also displayed that sonarqube gracefully shutdown.
- copied the sonar.properties from the conf folder in CE to DE folder.
- Then I restarted the sonarqube-10.7.0.96327 that was downloaded from the developer edition url starting with https://binaries.sonarsource.com/CommercialDistribution/sonarqube-developer/sonarqube-developer-10.7.0.96327.zip
- sonarqube started successfully.
- navigated to the website.
- However, the Community Edition
- v10.6 (92116)ACTIVE is showing on the footer.
I followed these steps:
- Backup Your Data:
Before making any changes, ensure you have a complete backup of your SonarQube database and configuration files.
- Download the Developer Edition:
Visit the SonarQube Downloads page and download the Developer Edition.
- Stop the Community Edition Server:
Stop your currently running SonarQube Community Edition server.
- Install the Developer Edition:
Extract the downloaded Developer Edition package to a directory of your choice.
- Copy the conf/sonar.properties and conf/wrapper.conf files from your Community Edition installation to the corresponding directory in the Developer Edition.
- there were no wrapper.conf file in CE. only sonar.properties, including the db config information.
- Update Database Configuration:
Ensure your sonar.properties file in the Developer Edition points to your existing database.
Start the Developer Edition Server: (the sonar.properties from the community edition was copied which has the db connection to the existing database.
-
Start the SonarQube Developer Edition server using the appropriate script (bin//sonar.sh start).
-
Verify the Installation: sonarqube comes up.
Access your SonarQube instance via a web browser and verify that it is running the Developer Edition. : *showed community edition at the bottom when the page loaded successfully after admin login - * Community Edition
-
v10.6 (92116)ACTIVE*
-
this failed as it is showing community edition.
Reinstall Plugins:
If you had any plugins installed in the Community Edition, you might need to reinstall them in the Developer Edition.
For more detailed instructions, you can refer to the SonarQube documentation1.
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!