How to upgrade from 8.7 to 8.9

Im currently on Community Edition Version 8.7.1 (build 42226).
How to upgrade to 8.9 latest release and is there an easy yum upgrade option? or a script to upgrade from these pretty close releases.

Thanks

Thanks, I figured it out by myself.

  1. Download and unzip sonarqube-8.9.0.43852.zip in /opt
  2. Stop sonarqube service
  3. chown -R sonar:sonar sonarqube-8.9.0.43852
  4. Remove the sonarqube symlink /opt/sonarqube
  5. Create the symlink for sonarqube-8.9.0.43852 as ‘sonarqube’ in /opt and chown it to ‘sonar’ user.
  6. Update /etc/systemd/system/sonarqube.service with the new jar location to start the application
  7. Update the sonarqube/conf/sonar.properties file for jdbc username, password, url
  8. Finally, restart postgresql-12 and sonarqube service
  9. And goto, http://yourSonarQubeServerURL/setup to reanalyze the projects / load the data from DB (Upgrade the Server | SonarQube Docs)
1 Like

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