SonarQube upgrade failing 10.0.0.68432 -> 2025.1.0.1024

Current version 10.0.0.68432. Upgrading to version 2025.1.0.1024

Deployed using zip

Upgrading to latest version of SonarQube

Steps followed

Download and unzip the SonarQube distribution of your edition in a fresh directory
Drop the new zip folder on C:
Manually Copy lines from old file C:\sonarqube-10.0.0.68432\conf\sonar.properties
Stop your old SonarQube Server
sc delete SonarQube
Create new service
C:\sonarqube-2025.1.0.102418\bin\windows-x86-64\SonarService.bat install

Start service
C:\sonarqube-2025.1.0.102418\bin\windows-x86-64\StartSonar.bat

Error:
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
2025.04.03 07:37:25 INFO  app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
2025.04.03 07:37:25 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2025.04.03 07:37:25 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
Full logs listed below:

Microsoft Windows [Version 10.0.17763.6893]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Windows\system32>sc delete SonarQube
[SC] DeleteService SUCCESS

C:\Windows\system32> C:\sonarqube-2025.1.0.102418\bin\windows-x86-64\SonarService.bat install
2025-04-03 07:29:05,869 INFO  - Installing service 'SonarQube (SonarQube)'...
2025-04-03 07:29:05,885 INFO  - Service 'SonarQube (SonarQube)' was installed successfully.

C:\Windows\system32>sc create SonarQube binPath= "C:\sonarqube-2025.1.0.102418\bin\windows-x86-64\wrapper.exe\" -s "C:\sonarqube-2025.1.0.102418\conf\wrapper.conf\"
[SC] CreateService FAILED 1073:

The specified service already exists.


C:\Windows\system32>C:\sonarqube-2025.1.0.102418\bin\windows-x86-64\StartSonar.bat
Starting SonarQube...
2025.04.03 07:37:01 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory E:\Sonarqube\Temp
2025.04.03 07:37:01 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:{}]
2025.04.03 07:37:01 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [C:\sonarqube-2025.1.0.102418\elasticsearch]: C:\Program Files\Java\jdk-17\bin\java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=C:\sonarqube-2025.1.0.102418\elasticsearch -Des.path.conf=E:\Sonarqube\Temp\conf\es -Des.distribution.type=tar -cp C:\sonarqube-2025.1.0.102418\elasticsearch\lib\*;C:\sonarqube-2025.1.0.102418\elasticsearch\lib\cli-launcher\* org.elasticsearch.launcher.CliToolLauncher
2025.04.03 07:37:01 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
2025.04.03 07:37:22 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2025.04.03 07:37:22 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [C:\sonarqube-2025.1.0.102418]: C:\Program Files\Java\jdk-17\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=E:\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 --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-2025.1.0.102418.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\mssql-jdbc-12.8.1.jre11.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\accessors-smart-2.5.1.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\asm-9.6.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\content-type-2.3.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\jackson-annotations-2.18.2.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\jackson-core-2.18.2.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\jackson-databind-2.18.2.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\jcip-annotations-1.0-1.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\json-smart-2.5.1.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\lang-tag-1.7.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\msal4j-1.18.0.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\nimbus-jose-jwt-9.40.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\oauth2-oidc-sdk-11.18.jar;C:\sonarqube-2025.1.0.102418\lib\jdbc\mssql\slf4j-api-2.0.16.jar org.sonar.server.app.WebServer E:\Sonarqube\Temp\sq-process2779029769070938647properties
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
2025.04.03 07:37:25 INFO  app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
2025.04.03 07:37:25 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2025.04.03 07:37:25 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped

</>

Hi,

What do your server logs say?

 
Ann