Database needs to be migrated - Sonarqube upgrade 10.6.1 to 10.8.1

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) - * Enterprise Edition v10.6 (92116)
  • how is SonarQube deployed: zip, Docker, Helm - AWS EKS, helm
  • what are you trying to achieve - upgrade from 10.6.1 to 10.8.1
  • what have you tried so far to achieve this - changed version in repo from 10.6.1 to 10.8.1 and see in pod logs “database needs to be migrated”

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

15-Jan-2025,16:45 [sonarqube-sonarqube-0] 2025.01.16 00:45:33 INFO web[o.s.s.p.Platform] Database needs to be migrated. Please refer to Server upgrade roadmap | SonarQube Server Documentation
15-Jan-2025,16:45 [sonarqube-sonarqube-0] 2025.01.16 00:45:33 INFO web[o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@347123dc [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, …], exclusions=[/api/components/update_key, …]}]
15-Jan-2025,16:45 [sonarqube-sonarqube-0] 2025.01.16 00:45:33 INFO web[o.h.v.i.util.Version] HV000001: Hibernate Validator null

DB is Aurora PostgreSQL Engine version 15.4

Hi,

Did you read this documentation? From “Perform the upgrade”:

  1. Go to http://yourSonarQubeServerURL/setup and follow the setup instructions.