Sonar.properties is commented out at startup

  • SonarQube Community edition 8.0.0.29455, postgres v10
  • I try to setup a proper database in Azure app service after testing the embedded. When I change the connection string in sonar.properties and restart the app the jdbc user/password/url is automatically commented out

Stop service, then edit like this:

sonar.jdbc.username=user@host
sonar.jdbc.password=password
sonar.jdbc.url=jdbc:postgresql://host/database&sslmode=require

After start:

#sonar.jdbc.username=user@host
#sonar.jdbc.password=password
#sonar.jdbc.url=jdbc:postgresql://host/database&sslmode=require

  • As far as I see this is commented out before logging starts so I can not see any thing in the logs, any idea what I am doing wrong here? Is it an azure thing?

see SonarQube as Azure App Service & SQL database - config entries get commented out automatically