Problem upgrading from 7.9.3 --> 8.9.0.43852

Hi,

I am upgrading from 7.9.3 → 8.9.0.43852

Release 8.9 LTS Upgrade Notes

Upgrading directly from SonarQube v7.9 LTS to v8.9 LTS ? Refer to the LTS to LTS Release Upgrade Notes.

Database support updated
SonarQube 8.9 supports the following database versions:

  • PostgreSQL versions 9.6 to 13. PostgreSQL versions <9.6 are no longer supported.
  • MSSQL Server 2014, 2016, 2017, and 2019.
  • Oracle XE, 12C, 18C, and 19C. Oracle 11G is no longer supported.

We use:

bash-4.2$ psql
psql (12.4)

I checked the sonar.log

2021.11.11 16:08:56 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2021.11.11 16:08:56 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:40103]
2021.11.11 16:08:56 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
warning: usage of JAVA_HOME is deprecated, use ES_JAVA_HOME
2021.11.11 16:08:56 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
warning: no-jdk distributions that do not bundle a JDK are deprecated and will be removed in a future release
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2021.11.11 16:09:03 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2021.11.11 16:09:03 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[[key='web', ipcIndex=2, logFilenamePrefix=web]] from [/opt/sonarqube]: /usr/lib/jvm/java-11-openjdk-11.0.7.10-4.el7_8.x86_64/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -Xmx2048m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Duser.timezone=Europe/Stockholm -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-8.9.0.43852.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.2.19.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process6823564956916348209properties
2021.11.11 16:09:06 WARN  app[][startup] ################################################################################
2021.11.11 16:09:06 WARN  app[][startup] The database must be manually upgraded. Please backup the database and browse /setup. For more information: https://docs.sonarqube.org/latest/setup/upgrading
2021.11.11 16:09:06 WARN  app[][startup] ################################################################################

Any ideas what I should do ? Manual upgrade and it is a warn… No ERRORS

//mike

Hello @eraonel ,

You just need to follow the directions from the logs. Back up your database then go to your web browser and go to INSERT-SONARQUBE-HOSTNAME/setup URL, then the upgrade will proceed.

Joe

1 Like