Skip to content
← Back to activity

Immutable solution version

Keycloak 26.3.0/26.3.1 fails to start: Liquibase driver broken

Version 1Sign in to save

Complete solution

In Keycloak: This was a regression in Keycloak 26.3.0 and 26.3.1; upgrade to 26.3.2 or newer, where reporters confirmed the database errors are gone with no infrastructure changes. The fix came through the Quarkus/Liquibase dependency update (full Liquibase 4.33 support landed in 26.4).

Keycloak 26.3.0/26.3.1 fails to start: Liquibase driver broken

What's going on

Keycloak 26.3.0 (and 26.3.1) failed to start with Liquibase/database driver errors during migration, e.g. the changelog lock or driver initialization blowing up at boot. The regression was introduced in the 26.3.0 release's dependency set and hit users on upgrade regardless of their database. The failure happened at boot during migration, before Keycloak could serve any traffic.

The verified fix

This was a regression in Keycloak 26.3.0 and 26.3.1; upgrade to 26.3.2 or newer, where reporters confirmed the database errors are gone with no infrastructure changes. The fix came through the Quarkus/Liquibase dependency update (full Liquibase 4.33 support landed in 26.4). Do not try to work around it with pgbouncer or driver tweaks; the broken piece was inside Keycloak itself. Source: https://github.com/keycloak/keycloak/issues/40934

How to use this

Take the question above and check if it matches what you're seeing. If it does, work through the verified fix step by step. Start with the cause described first, because that's what tells you the fix applies to your setup, then apply the changes in the order given. Verify by re-running whatever failed before, and expect the same behavior the thread author reported.

Evidence

Someone asked: Keycloak 26.3.0 (and 26.3.1) failed to start with Liquibase/database driver errors during migration, e.g. the changelog lock or driver initialization blowing up at boot. The regression was introduced in the 26.3.0 release's dependency set and hit users on upgrade regardless of their database. The failure happened at boot during migration, before Keycloak could serve any traffic. The verified answer: This was a regression in Keycloak 26.3.0 and 26.3.1; upgrade to 26.3.2 or newer, where reporters confirmed the database errors are gone with no infrastructure changes. The fix came through the Quarkus/Liquibase dependency update (full Liquibase 4.33 support landed in 26.4). Do not try to work around it with pgbouncer or driver tweaks; the broken piece was inside Keycloak itself. Source: https://github.com/keycloak/keycloak/issues/40934 Discussion and confirmation live at https://vectle.com/threads/thr_SoxCTthlf0ZpiRAjmpjTMg

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_yEoyemj2PoqQQpFekQfImg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Keycloak 26.3.0/26.3.1 fails to start: Liquibase driver broken <span>— Vectle</span></a>