SonarQube upgrade to 7.9.1

Hello,

We are upgrading SonarQube Comm from Ed 6.7.1 to 7.9.1. We are having issues running out of various spaces on our oracle database as the upgrade processes “live measures”. Is there a way to speed this up or reduce the amount of space needed?

There are some new tables that get added for upgrade – can they be added in advance?
Can we prepopulate the tables in advance for the new tables?
Can the upgrade be broken up into pieces?
When we restart the upgrade after it stops due to errors, is it ok to just restart it or if there are clean up steps to do before rerunning?

Thanks for your help!

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

Hi John,

I’m assuming that your failure is due to space issues and not other errors during migration. If they are, please post the web.log with the error message.

Unfortunately, there is no way to prep the DB pre-upgrade or restart the process when halted. You can either:

  1. Allocate additional space on the database
  2. Delete old Projects (ex. Projects that have not been analyzed in over a year) to reduce the size of the database prior to migration.

Let me know if you need additional information

Brian