Red Hat build of Keycloak fails to start when a schema "KC_DB_SCHEMA" that is different from authentication user "KC_DB_USER" is specified

Solution Verified - Updated -

Issue

  • When using KC_DB_SCHEMA with an value different from KC_DB_USER, Red Hat build of Keycloak fails to start and the logs shows

    ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (WrapperJarAppMain) ERROR: liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for changeset META-INF/jpa-changelog-2.5.0.xml::2.5.0-unicode-oracle::hmlnarik@redhat.com:
    

Environment

  • Red Hat build of Keycloak
    • 26.0.9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content