Upgrade issue from 8.9 to 9.9 version in SonarQube

Make sure to tell us:

  • What version are you upgrading from? 8.9.7
  • System information (Operating system, Java version, Database provider/version) - OS → Windows (Windows Server 2016 Datacenter); Java version → 17.0.9; Database–> Azure SQL server (PaaS)
  • What’s the issue you’re facing?
    We plan to upgrade to SonarQube version 9.9 (LTS) from version 8.9.
    Rather than deploying the update directly to the server, we have chosen to conduct testing in a Proof of Concept setting first.
    Even after making all the adjustments recommended in the upgrade manual, getting the below window. Furthermore, no error report was recorded in the log file.

For more information

Regards,
Manojkumar Chakkaiyan
Manojkumar_Chakkaiyan@nfumutual.co.uk
+44 7405474725

Hey there.

Are you using sonar.web.context? Take a look at this thread:

Hi Colin,

I’m not using this sonar.web.context= configuration

FYI…

image

Regards,
Manojkumar Chakkaiyan
Manojkumar_Chakkaiyan@nfumutual.co.uk
+44 7405474725

Thanks.

  • Does the issue persist after clearing your cache/cookies in your browser?
  • Do you see any specific errors in your browser’s DevTools?

Hi Colin,

  • Does the issue persist after clearing your cache/cookies in your browser? - Yes, I have tested after clearing Cache/Cookies and still the same issue exist
  • Do you see any specific errors in your browser’s DevTools? - There is no specific log in “web.log

The web.log is a server log, and not the same as your browser’s DevTools console, showing specific web requests your browser is making. That information will help us figure out why the page is not loading.

Hi Colin,

I’m getting the below information in Console and error message in “Web.Log

Getting below warning in “Sonar.Log

2023.12.13 11:31:30 WARN app[startup] The database must be manually upgraded. Please backup the database and browse /setup. For more information: Upgrade guide

Regards,
Manojkumar Chakkaiyan

Hi Colin,

Can you share the option to get the quick response from SonarSource?

Regards,
Manojkumar Chakkaiyan

As noted in our FAQ:

  • If you need SLAs, guaranteed response, privacy, SonarSource also offers Commercial Support.

I’m not sure what’s going on if you aren’t receiving any issues in your browser console. The message you found in your web.log indicates that SonarQube has started successfully (and is now waiting for you to trigger the database migration at localhost:9000/setup). If you browse this page, do you still see a spinning wheel?

For what it’s worth, you might also try a different browser.