Upgrade to Community Edition 25.12 fails with Oracle DB Migration Error

Version Installed: Sonarqube 24.12 on Linux RHEL8, using Oracle as Metadata DB

Installed via Zip File

Trying to upgrade to Sonarqube 25.12, I am getting an error on the DB MIgration:

2026.02.20 13:22:44 ERROR web[DbMigrations] 120/121 #202506025 ‘Populate ‘issue_stats_by_rule_key’’: failure | time=1ms
2026.02.20 13:22:44 ERROR web[DbMigrations] Executed 119/121 DB migrations: failure | time=9900ms
2026.02.20 13:22:44 ERROR web[o.s.s.p.d.m.DatabaseMigrationImpl] DB migration failed | time=9929ms
2026.02.20 13:22:44 ERROR web[o.s.s.p.d.m.DatabaseMigrationImpl] DB migration ended with an exception
org.sonar.server.platform.db.migration.step.MigrationStepExecutionException: Execution of migration step #202506025 ‘Populate ‘issue_stats_by_rule_key’’ failed
..
Caused by: java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended

From reading the following post, I see the fix for this is in Sonarqube 26.1. Can I upgrade directly from 24.12 to 26.1 or do I somehow need to get 25.12 to work (even though the 25.12 failure is out of my control)?

Hi,

Normally you would need to hit 25.12, but because of this bug we’ve shifted this year’s target. You can jump straight to 26.1 instead.

BTW, your migration path here, 24.12 → 25.12, makes me think you’re trying to stick to LTAs. So I need to make sure you understand that for Community Build there is no LTA. Explicitly, we don’t patch Community Build, and any bug fixes - like this one - will only be in the next release. So once you’ve landed at 26.1 you need to keep going to 26.2, and then keep up through the rest of the year.

 
HTH,
Ann