9.0 -> 9.2 or 9.4 hangs during upgrade

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Currently on 9.0, which is still running fine, sonar-scanner-4.6.1.2450, PostgresSQL ver 10 and 13
  • what are you trying to achieve
    to upgrade from 9.0 to 9.4, I’ve had the issue since 9.2
  • what have you tried so far to achieve this
    installed the product, start it as service, and from command line (tried both ways) Sonarqube starts, but never come back from the “preparing …” message you get right after starting after new install or upgrade, I let it sit overnight and still had not finished. I’ve never run into this before, so I’m stumped.

Hi,

i’m almost sure you’ll find this entry in your $SONARQUBE_HOME/logs/sonar.log !?

#############################################################################
The database must be manually upgraded. Please backup the database and browse /setup.
#############################################################################

At this point browse https://yoursonarhost/setup and choose upgrade database to complete the update.

Gilbert

1 Like

Thanks, I’ll give it a try tonight.

Hi Gilbert,
I haven’t been in my sandbox for a while.
Everything is blowing up, I think I’m just going the remove everything and start from scratch with a production 9.0 backup