Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SonarQube is under maintenance

Tags:

sonarqube

I added a new extension plugin for typescript, stop and restarted the service and now the web page sonarqube displays "SonarQube is under maintenance". On the web they said to try \setup but it does not work...

Someone have an idea of how to remove this maintenance mode?

Thanks in advance.

like image 423
Drumy Avatar asked Jun 05 '15 12:06

Drumy


2 Answers

You should update the database if you use MySQL or another RDBMS: Visit http://127.0.0.1:9000/setup. After the update finished,visit http://127.0.0.1:9000. It's ok!

like image 185
fisher Avatar answered Nov 17 '22 16:11

fisher


Please follow the below steps to upgrade your sonarqube server:

  1. First take the backup of your sonarqube server
  2. Rename the current sonarqube folder (i.e mv /opt/sonarqube /opt/sonarqube_old)
  3. now unzip the latest downloaded setup to /opt/
  4. now make the changes in sonar.properties and wrapper.conf file according to old setup.
  5. now start the sonarqube service (systemctl start sonar)
  6. Now browse http://localhost:9000/setup to upgrade your database
  7. After upgrade the database, browse your sonarqube server

Enjoy! your server is upgraded!

Thanks Sandeep

like image 5
Sandeep Avatar answered Nov 17 '22 16:11

Sandeep