Migration from 8.9.6 to 9.9.0

Must-share information (formatted with Markdown):

  • which versions are you using SonarQube 9.9
  • how is SonarQube deployed: zip, Docker, Helm - zip
  • what are you trying to achieve upgrade
  • what have you tried so far to achieve this all required steps

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

Upgrading Sonar LTS Enterprise ver from 8.9.6 to 9.9.
after update datase on new version , seeing message as below in access.log
10.229.167.17 - - [03/Mar/2023:18:46:45 +0000] “GET /api/system/status HTTP/1.1” 200 - “https:///maintenance?return_to=%2F” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36” “-”

also, home page is showing as “SonarQube is starting” and its keep spinning.

Please suggest , what is root case and what is remediation?

Hi,

The docs should help.

 
Ann

@ganncamp …I am following the same doc. however, Its still spinning from last 3-4 hrs and seeing this message in access logs

10.229.167.17 - - [03/Mar/2023:20:03:18 +0000] “GET /api/system/status HTTP/1.1” 200 - “https:///maintenance?return_to=%2F” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36” “-”

Also, seeing message in web.log

2023.03.03 19:12:27 ERROR web[o.s.a.c.g.GitlabHttpClient] Gitlab API call to [https://gitlab-gxp-stg.cloud.com/api/v4/user] failed with 401 http code. gitlab response content : [{“error”:“invalid_token”,“error_description”:“Token is expired. You can either do re-authorization or token refresh.”}]
2023.03.03 19:19:36 INFO web[o.s.s.q.RegisterQualityProfiles] Register profile yaml/YAML Analyzer
2023.03.03 19:19:36 INFO web[o.s.s.q.RegisterQualityProfiles] Update profile yaml/Sonar way

Hi,

So then you’ve done this?

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

 
Ann

Thanks but now i am facing another issue.
All customized rules with respect to project is not migrated .
Do we need to migrate the rules or quality profiles separately for projects?
Is there any documentation for this?

Hi,

Please create a new thread for this new topic.

 
Ann