# Upgrade to Community Edition 25.12 fails with Oracle DB Migration Error

**URL:** <https://community.sonarsource.com/t/upgrade-to-community-edition-25-12-fails-with-oracle-db-migration-error/178372>\
**Category:** SonarQube Server / Community Build\
**Tags:** sonarqube\
**Created:** [February 26, 2026, 3:01pm UTC](https://community.sonarsource.com/t/upgrade-to-community-edition-25-12-fails-with-oracle-db-migration-error/178372 "2026-02-26T15:01:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattgoodnight](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@mattgoodnight](https://community.sonarsource.com/u/mattgoodnight)\
**Post date:** [February 26, 2026, 3:01pm UTC](https://community.sonarsource.com/t/upgrade-to-community-edition-25-12-fails-with-oracle-db-migration-error/178372/1 "2026-02-26T15:01:13Z")

</div>

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)?

> [@Oracle database migration fails after SonarQube CE upgrade from 25.11 to 25.12 version](https://community.sonarsource.com/t/oracle-database-migration-fails-after-sonarqube-ce-upgrade-from-25-11-to-25-12-version/153817/20):
>
> Hi, Yes, it’ll be January, which should be imminent. &nbsp; Ann

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [February 27, 2026, 5:04pm UTC](https://community.sonarsource.com/t/upgrade-to-community-edition-25-12-fails-with-oracle-db-migration-error/178372/3 "2026-02-27T17:04:51Z")

</div>

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.

> [@mattgoodnight](#):
>
> Version Installed: Sonarqube 24.12

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.

&nbsp;  
HTH,  
Ann
