Cannot upgrade from Sonarqube 7.0 to 7.3

Hi,

When trying this the sonar server stops before I even get the chance to go to the setup page. Here is the console output:

wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM…
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 | 2018.10.17 10:30:10 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /app/sonarqube-7.3/temp
jvm 1 | 2018.10.17 10:30:10 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
jvm 1 | 2018.10.17 10:30:10 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/app/sonarqube-7.3/elasticsearch]: /app/sonarqube-7.3/elasticsearch/bin/elasticsearch -Epath.conf=/app/sonarqube-7.3/temp/conf/es
jvm 1 | 2018.10.17 10:30:10 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1 | 2018.10.17 10:30:11 INFO app[][o.e.p.PluginsService] no modules loaded
jvm 1 | 2018.10.17 10:30:11 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
jvm 1 | 2018.10.17 10:30:22 INFO app[][o.s.a.SchedulerImpl] Process[es] is up
jvm 1 | 2018.10.17 10:30:22 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [/app/sonarqube-7.3]: /usr/lib/jvm/java-1.8.0-oracle-1.8.0.181.x86_64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/app/sonarqube-7.3/temp -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -cp ./lib/common/*:/app/sonarqube-7.3/lib/jdbc/mysql/mysql-connector-java-5.1.46.jar org.sonar.server.app.WebServer /app/sonarqube-7.3/temp/sq-process3489676075741429852properties
jvm 1 | 2018.10.17 10:30:30 WARN app[][startup]
jvm 1 | ################################################################################
jvm 1 | Database must be upgraded. Please backup database and browse /setup
jvm 1 | ################################################################################
jvm 1 | 2018.10.17 10:30:40 INFO app[][o.s.a.SchedulerImpl] Process [web] is stopped
jvm 1 | 2018.10.17 10:30:40 WARN app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
jvm 1 | 2018.10.17 10:30:40 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
jvm 1 | 2018.10.17 10:30:40 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
wrapper | <-- Wrapper Stopped

Sorry this was a user error, I had multiple versions of the java jar under extensions/plugins (copied the latest version there, not realising it already had jars there unlike the previous version)

1 Like