Drumy
Drumy

Reputation: 151

SonarQube is under maintenance

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.

Upvotes: 15

Views: 21271

Answers (2)

Sandeep
Sandeep

Reputation: 61

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

Upvotes: 6

fisher
fisher

Reputation: 471

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!

Upvotes: 47

Related Questions