Which versions are you using?
We’re using SonarQube 9.9 (recently upgraded from 9.6) and wanted to upgrade to 10.
How is SonarQube deployed?
We’ve deployed a container through Docker using the following command
docker run -d --name sonarqube -p 9000:9000 -e SONAR_JDBC_URL='jdbc:sqlserver://oursqlserver.url;databaseName=sonarqube;encrypt=false' -e SONAR_JDBC_USERNAME='correct.username' -e SONAR_JDBC_PASSWORD='correct.password' -v sonarqube_data:/opt/sonarqube/data -v sonarqube_extensions:/opt/sonarqube/extensions -v sonarqube_logs:/opt/sonarqube/logs --restart=unless-stopped sonarqube:developer
The page for sonarqube loaded the first time in maintenance mode but when we start the upgrade process Elasticsearch seems to give a ‘No shard available for [get [metadatas][dbVendor]: routing [null]]’ error.
Here is a full logfile:
sonarqube docker logs.txt (21.8 KB)