7.9.1 Developer Edition cannot be started

Template for a good bug report, formatted with Markdown:

  • versions used Sonarqube 7.9.1 Devloper Edition
  • error observed
    org.sonar.server.platform.db.migration.step.MigrationStepExecutionException: Execution of migration step #2123 'Rename SUBMITTER_LOGIN TO SUBMITTER_UUID on table CE_ACTIVITY' failed
  • steps to reproduce
    start sonarqube with a new empty database via
java -jar lib/sonar-application-$SONAR_VERSION.jar \
  -Dsonar.log.console=true \
  -Dsonar.jdbc.username="$SONARQUBE_JDBC_USERNAME" \
  -Dsonar.jdbc.password="$SONARQUBE_JDBC_PASSWORD" \
  -Dsonar.jdbc.url="$SONARQUBE_JDBC_URL" \
  -Dsonar.web.javaAdditionalOpts="$SONARQUBE_WEB_JVM_OPTS -Djava.security.egd=file:/dev/./urandom" \
  "${sq_opts[@]}" \
  • potential workaround


Can you double check that your env vars really are pointing SonarQube to an empty DB? It shouldn’t be attempting migration in that situation.



I decided to use an existing sonardb and had no problems anymore.