- SonarQube - Installation on Ubuntu Linux
- SonarQube - Integration with Azure Active Directory
- SonarQube - Azure AD login does not place users in correct groups
- Use the portal to attach a data disk to a Linux VM
Binaries and versions can be found at binaries.sonarsource.com.
Latin1_General_CS_AS
vi /opt/sonarqube/bin/linux-x86-64/sonar.sh
RUN_AS_USER=sonarqube
vi /opt/sonarqube/conf/sonar.properties
sonar.jdbc.username=sonarqube
sonar.jdbc.password=kamisama123
sonar.jdbc.url=jdbc:sqlserver://sqlserver-name.database.windows.net:1433;databaseName=sonarqube
sonar.web.javaAdditionalOpts=-server
sonar.web.host=0.0.0.0
sonar.path.data=/path/to/fast/io/volume/data
sonar.path.temp=/path/to/fast/io/volume/temp
Update the variable SONARQUBE_VERSION
in the upgrade.sh
file to the latest version.
Before starting the sonarqube service you need to update the service unit configuration to use the new version number.
You might also need to do a manual database migration after the service started by going to URL: https://{sonarqube}/setup
.
sudo ./upgrade.sh
sudo systemctl stop sonarqube.service
sudo mv /opt/sonarqube /opt/sonarqube-{yyyyMMdd}
sudo mv /opt/sonarqube-{SONARQUBE_VERSION} /opt/sonarqube
sudo vi /etc/systemd/system/sonarqube.service
....
sudo systemctl daemon-reload
sudo systemctl start sonarqube.service