Upgraded to 9.6 and upgraded Database but still under maintenance

Must-share information

  • which versions are you using: SonarQube
  • what are you trying to achieve:
    • I clicked upgraded on setup page, and it did upgraded.
    • But that task got killed somehow. A new task is created and can’t access the SonarQube page anymore.
    • It’s always on SonarQube is under maintenance, and when access the setup page, it will show Database is up-to-date. After clicking home, I still stuck at SonarQube is under maintenance. It’s unfortunately an infinite loop…
  • what have you tried so far to achieve this: upgraded the database


Welcome to the community!

What do your server logs say?


The issue was mainly because our desired count of tasks for ECS services is 2, but the horizontal scaling feature of sonar is only available in paid version, so we could ever just run 1 task. We now decrease the ideal count of task to 1 then it’s solved.