SonarQube Developer Edition upgrade from 10.1.0 to higher versions fail database connection error

Must-share information (formatted with Markdown):

  • Version 10.1.0.73491
  • Deployed using zip
  • Upgrade to 10.4.1
  • I have upgraded from version 9.9.4 directly to 10.1.0 without any problems. Trying to upgrade from 10.1.0 to any higher version i.e. 10.2.1, 10.3, 10.4.1 fails with a JDBC error stating that the “Database connection cannot be established. Please check database status and JDBC settings.”

image

Hey there.

What do the logs say?