Upgrading to developer edition trial from community edition did not work

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.
  1. copied the sonar.properties from the conf folder in CE to DE folder.
  2. 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:

  1. Backup Your Data:

Before making any changes, ensure you have a complete backup of your SonarQube database and configuration files.

  1. Download the Developer Edition:

Visit the SonarQube Downloads page and download the Developer Edition.

  1. Stop the Community Edition Server:

Stop your currently running SonarQube Community Edition server.

  1. Install the Developer Edition:

Extract the downloaded Developer Edition package to a directory of your choice.

  1. 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.
  1. 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.

  1. Start the SonarQube Developer Edition server using the appropriate script (bin//sonar.sh start).

  2. 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

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)!

Hi,

How did you start? Did you navigate to your 10.7 directory and fire the script? Or do you have some alias or service that you invoked?

 
Ann

yes cd into that folder and started it

Hi,

Can you share the command you used to start it? Because somehow your invocation got redirected to the wrong copy of the script.

 
Ann

I think i figured out the problem. The SONAR_HOME is pointing to the CE version folder.
Trying to fix it.

Ok, I figured to run the setup page.

I sent a request for a trial license key two days ago. Have not received one.

Is there a typical ETA on acquiring the license key.

I am able to access the projects and stuff, however. Do I need to apply the trial key right away? or will it get deactivated to access these projects?
If i am able to and use the developer edition functions. then, this ticket can be closed. Now I see:

  • Developer Edition
  • v10.7 (96327)ACTIVE

Following the instructions in the above document
and then going to https://mydomain/setup as a final step as stated in the doc and completing the upgrade resolved the issue.

Hi,

As stated in another thread:

That includes being able to view your projects and use the UI.

 
HTH,
Ann

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.