You mentioned Docker. Did you notice this part of the upgrade note?
Docker images updated
The deprecated SONARQUBE_JDBC_USERNAME, SONARQUBE_JDBC_PASSWORD, and SONARQUBE_JDBC_URL variables have been removed. See Environment variables for up-to-date configuration variables.
That would be for if these properties were being configured in a conf/sonar.properties file. You should use environment variables (and the ones documented for the version you’re upgrading to) when deploying via Docker.
Hi colin we have upgrade our sonarqube docker container from 9.8 to 9.9.3 after ugrade sonarqube is not loading and showing mainteance page
upon checking we could see below warning error in sonar.log. could you please check ?
2024.01.25 13:21:18 WARN app[startup] ################################################################################
2024.01.25 13:21:18 WARN app[startup] The database must be manually upgraded. Please backup the database and browse /setup. For more information: https://docs.sonarqube.org/latest/setup/upgrading
2024.01.25 13:21:18 WARN app[startup] ################################################################################
[root@ip-10-160-191-30 logs]#
Docker container is up
[root@ip-10-160-191-30 logs]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
dc8d76ca290d sonarqube:9.9.3-community “/opt/sonarqube/dock…” 40 minutes ago Up 40 minutes 0.0.0.0:9000->9000/tcp, :::9000->9000/tcp sonarqube
[root@ip-10-160-191-30 logs]#
Hi Colin, in my case Sonarqube is installed as docker container in AWS ec2 instance and AWS PostgreSQL RDS instance is been used for database, and the version is already 12.14. Still do I need to follow these steps?
This is required to migrate the schema from one that works with an v8.9 instance to one that works with a v9.9 instance. it’s not upgrading/migrating your database software.