Which database are you using ?
This migration (from SonarQube 6.0) could take time if you have a lot of project measures.
It’s only goal is to drop the columns “rules_category_id”, “tendency”, “measure_date”, “url”, “rule_priority”, “characteristic_id”, “rule_id” from “project_measures” table.
I can recommend you to either :
- Wait for more time for the SQL query to be completed
- Try to manually drop the columns on your own to check how much time it can take (then rollback to previous database backup to be sure you are in the correct state)
- Start from a new SonarQube 7.9.3 as it’s the latest LTS and the version you’re using is very old, and it will be hard to help you.