Open alsaadii98 opened 3 weeks ago
Oh no. That will be tricky to fix. :see_no_evil:
Simply fixing the problem in the migration will leave keycloak unusable with validation errors.
2024-10-15 16:26:45,798 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: liquibase.exception.ValidationFailedException: Validation Failed:
2 changesets check sum
META-INF/challenge-changelog.xml::app-auth-challenge::giuliano.mele@verdigado.com was: 9:e1eeca744c1ae636c26136d444a47042 but is now: 9:0e1d0466aa32d78d19fc788feb8e4c18
META-INF/challenge-changelog.xml::app-auth-challenge-23.0.2::giuliano.mele@verdigado.com was: 9:81ef48391a4183a8d6ad0afd901d9c99 but is now: 9:6100858eda05be18e9df907f365cd0a6
One working way would be:
delete from databasechangelog_challenge_; drop table app_auth_challenge;
Because the content of app_auth_challenge is ephemeral by nature, data losses should be negligible. Just the transition is a bit tricky.
Thanks a lot for your report. I prepare a fix for the next release.
cc: @svenseeberg
Hi, I was installing all of the
MFA Provider Plugins
into Keycloak after adding them to the provider directory, and try to run the app I got the following error stackAfter debugging, I notice the migration file is trying to create an index with the
realm
instead ofREALM
table name.Here is my system specification: Alama Linux 9.4 MariaDB 10.5.22 Keycloak 24.0.4 Keycloak-mfa-plugin 24.0.4