In-place Upgrade DevTest 10.5 to 10.7.
10.5 IAM was running fine before the upgrade. After the upgrade, service is not starting and showing these errors ith following log.
2021-12-10 14:23:39,452 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002225: Deploying javax.ws.rs.core.Application: class org.keycloak.services.resources.KeycloakApplication
2021-12-10 14:23:39,452 INFO [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested via an OS signal
2021-12-10 14:23:39,452 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002200: Adding class resource org.keycloak.services.resources.JsResource from Application class org.keycloak.services.resources.KeycloakApplication
2021-12-10 14:23:39,468 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 65) RESTEASY002205: Adding provider class org.keycloak.services.filters.KeycloakSecurityHeadersFilter from Application class org.keycloak.services.resources.KeycloakApplication
2021-12-10 14:23:39,968 ERROR [org.jboss.as.server] (ServerService Thread Pool -- 43) WFLYSRV0022: Deploy of deployment "keycloak-server.war" was rolled back with no failure message
2021-12-10 14:23:40,015 INFO [org.jboss.as] (MSC service thread 1-5) WFLYSRV0050: Keycloak 15.0.0 (WildFly Core 15.0.1.Final) stopped in 554ms
All supported DevTest releases.
H2 database was corrupted during the migration
1: Default database H2 of IdentityAccessManager has to be upgraded. If we don’t have any data to take the backup, just go to the location <LISA_HOME>/IdentityAccessManager/standalone/data and delete keycloak.mv database file from this folder. Which will further be created while starting the server after the upgrade.
2: Before upgrading, module folder, to keep a backup of default database H2 of IdentityAccessManager follows these steps:
3: After upgrading, module folder, to restore the backup of default database H2 of IdentityAccessManager follow these steps:
1: Default database H2 of IdentityAccessManager has to be upgraded. If we don’t have any data to take the backup, just go to the location <LISA_HOME>/IdentityAccessManager/standalone/data and delete keycloak.mv database file from this folder. Which will further be created while starting the server after the upgrade.
2: Before upgrading, module folder, to keep a backup of default database H2 of IdentityAccessManager follows these steps:
3: After upgrading, module folder, to restore the backup of default database H2 of IdentityAccessManager follow these steps: