Captain-P-Goldfish / scim-for-keycloak

a third party module that extends keycloak by SCIM functionality
BSD 3-Clause "New" or "Revised" License
186 stars 48 forks source link

META-INF/scim-changelog.xml::scim-sdk-1.0::pascal knueppel was: 7:54900cba59debc2ce8fe7a3a8067e8b2 but is now: 8:fc78a5690c6c0f158148d1e19cdc6f22 #60

Closed mkg20001 closed 2 years ago

mkg20001 commented 2 years ago

I'm getting the following error

Aug 25 14:30:19 xstage keycloak-start[1279973]: 2022-08-25 14:30:19,485 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (production) mode
Aug 25 14:30:19 xstage keycloak-start[1279973]: 2022-08-25 14:30:19,485 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: liquibase.exception.ValidationFailedException: Validation Failed:
Aug 25 14:30:19 xstage keycloak-start[1279973]:      1 change sets check sum
Aug 25 14:30:19 xstage keycloak-start[1279973]:           META-INF/scim-changelog.xml::scim-sdk-1.0::pascal knueppel was: 7:54900cba59debc2ce8fe7a3a8067e8b2 but is now: 8:fc78a5690c6c0f158148d1e19cdc6f22
Aug 25 14:30:19 xstage keycloak-start[1279973]: 2022-08-25 14:30:19,485 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Validation Failed:
Aug 25 14:30:19 xstage keycloak-start[1279973]:      1 change sets check sum
Aug 25 14:30:19 xstage keycloak-start[1279973]:           META-INF/scim-changelog.xml::scim-sdk-1.0::pascal knueppel was: 7:54900cba59debc2ce8fe7a3a8067e8b2 but is now: 8:fc78a5690c6c0f158148d1e19cdc6f22
Aug 25 14:30:19 xstage keycloak-start[1279973]: 2022-08-25 14:30:19,485 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) For more details run the same command passing the '--verbose' option. Also you can use '--help' to see the details about the usage of the particular command.

Not sure what to do. Where did I mess up?

Captain-P-Goldfish commented 2 years ago

You did not. I would assume you migrated from a previous version? you can fix this by executing the following sql statement:

update DATABASECHANGELOG_SCIM_JPA_E set MD5SUM = null where 1=1;

due to a bug report I needed to make changes on the liquibase script that are the cause of this result. Sorry for that. LEt me know if it worked

mkg20001 commented 2 years ago

That fixed it. It would be neat if it'd be documented somewhere.

Captain-P-Goldfish commented 2 years ago

https://github.com/Captain-P-Goldfish/scim-for-keycloak/wiki/How-to-fix:-liquibase.exception.ValidationFailedException:-Validation-Failed: