Hi,
I’m trying to upgrade my sonarqube developer edition from v2025.4.2.112048 to 2026.1.0.119033 but I’ve run into problems.
Initially, I was trying to go straight from 2025.4.2.112048 to 2026.1.0.119033 but spotted into database schema related issues in the logs.
I then successfully upgraded from 2025.4.2.112048 to 2025.6.1.117629, and upgraded the database schema by visiting /setup and followed the onscreen steps in the WebGUI.
I then attempted again to upgrade to 2026.1.0.119033 (this time from 2025.6.1.117629).. I’m no longer getting schema related errors in the logs, but the service is still not starting. It seems to my untrained eye that elasticsearch is unable to start due to “Module jdk.attach not found”
2026.02.02 15:26:55 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-2026.1.0.119033/temp
2026.02.02 15:26:55 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:{}]
2026.02.02 15:26:56 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch]: /usr/lib/jvm/temurin-21-jre-amd64/bin/java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch -Des.path.conf=/opt/sonarqube/sonarqube-2026.1.0.119033/data/es8/config -Des.distribution.type=tar -cp /opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch/lib/*:/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch/lib/cli-launcher/* org.elasticsearch.launcher.CliToolLauncher
2026.02.02 15:26:56 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2026.02.02 15:26:59 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 1
2026.02.02 15:26:59 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2026.02.02 15:26:59 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
2026.02.02 15:27:01 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-2026.1.0.119033/temp
2026.02.02 15:27:01 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:{}]
2026.02.02 15:27:01 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch]: /usr/lib/jvm/temurin-21-jre-amd64/bin/java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch -Des.path.conf=/opt/sonarqube/sonarqube-2026.1.0.119033/data/es8/config -Des.distribution.type=tar -cp /opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch/lib/*:/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch/lib/cli-launcher/* org.elasticsearch.launcher.CliToolLauncher
2026.02.02 15:27:01 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2026.02.02 15:27:04 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 1
2026.02.02 15:27:04 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2026.02.02 15:27:04 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
2026.02.02 15:27:05 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-2026.1.0.119033/temp
2026.02.02 15:27:05 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:{}]
2026.02.02 15:27:06 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch]: /usr/lib/jvm/temurin-21-jre-amd64/bin/java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch -Des.path.conf=/opt/sonarqube/sonarqube-2026.1.0.119033/data/es8/config -Des.distribution.type=tar -cp /opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch/lib/*:/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch/lib/cli-launcher/* org.elasticsearch.launcher.CliToolLauncher
2026.02.02 15:27:06 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2026.02.02 15:27:09 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 1
2026.02.02 15:27:09 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2026.02.02 15:27:09 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
2026.02.02 15:27:10 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-2026.1.0.119033/temp
2026.02.02 15:27:10 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:{}]
2026.02.02 15:27:11 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch]: /usr/lib/jvm/temurin-21-jre-amd64/bin/java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch -Des.path.conf=/opt/sonarqube/sonarqube-2026.1.0.119033/data/es8/config -Des.distribution.type=tar -cp /opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch/lib/*:/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch/lib/cli-launcher/* org.elasticsearch.launcher.CliToolLauncher
2026.02.02 15:27:11 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2026.02.02 15:27:15 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 1
2026.02.02 15:27:15 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2026.02.02 15:27:15 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
2026.02.02 15:27:41 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/sonarqube-2026.1.0.119033/temp
2026.02.02 15:27:41 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:{}]
2026.02.02 15:27:41 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch]: /usr/lib/jvm/temurin-21-jre-amd64/bin/java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch -Des.path.conf=/opt/sonarqube/sonarqube-2026.1.0.119033/data/es8/config -Des.distribution.type=tar -cp /opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch/lib/*:/opt/sonarqube/sonarqube-2026.1.0.119033/elasticsearch/lib/cli-launcher/* org.elasticsearch.launcher.CliToolLauncher
2026.02.02 15:27:41 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2026.02.02 15:27:45 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 1
2026.02.02 15:27:45 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2026.02.02 15:27:45 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
I’ve reviewed the software requirements for 2026.1 and believe the server meets them.
Server host requirements | SonarQube Server | Sonar Documentation - https://docs.sonarsource.com/
- Operating system: Debian GNU/Linux 12 (bookworm)
- Java:
openjdk 21.0.10 2026-01-20 LTS
OpenJDK Runtime Environment Temurin-21.0.10+7 (build 21.0.10+7-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.10+7 (build 21.0.10+7-LTS, mixed mode, sharing)
I’ve performed many sonarqube upgrades in the past with very few issues (normally they’re schema related!) but this one has me completely stumped. Any assistance gratefully received!
Thanks
Steve