# Infinispan errors upgrading from keycloak 11.x to 12.x

**URL:** <https://forum.keycloak.org/t/infinispan-errors-upgrading-from-keycloak-11-x-to-12-x/7034>\
**Category:** Configuring the server\
**Tags:** upgrading\
**Created:** [January 28, 2021, 1:40am UTC](https://forum.keycloak.org/t/infinispan-errors-upgrading-from-keycloak-11-x-to-12-x/7034 "2021-01-28T01:40:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deadlysyn](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/deadlysyn/32/1961_2.png) [@deadlysyn](https://forum.keycloak.org/u/deadlysyn)\
**Post date:** [January 28, 2021, 1:40am UTC](https://forum.keycloak.org/t/infinispan-errors-upgrading-from-keycloak-11-x-to-12-x/7034/1 "2021-01-28T01:40:50Z")

</div>

been watching this:

[https://groups.google.com/u/1/g/keycloak-user/c/J7PQwRH3hP4](https://groups.google.com/u/1/g/keycloak-user/c/J7PQwRH3hP4)

cross-posting since i’ve seen multiple reports w/o ideas. interesting, i saw similar behavior when upgrading from 11.x to 12.x, but not with 11.x nodes running…simply starting a new 12.x instances with 11.x database. schema migration appears to work fine but infinispan errors follow and instances keep restarting. 12.x on fresh database is fine.

anyone identified a fix for this behavior?

tia

---

<div class="post-metadata">

**Author:** ![dasniko](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/dasniko/32/2969_2.png) [@dasniko](https://forum.keycloak.org/u/dasniko)\
**Post date:** [January 28, 2021, 7:51am UTC](https://forum.keycloak.org/t/infinispan-errors-upgrading-from-keycloak-11-x-to-12-x/7034/2 "2021-01-28T07:51:05Z")

</div>

> [@11.0.3 to 12.0.1 Upgrade fails](http://forum.keycloak.org/t/11-0-3-to-12-0-1-upgrade-fails/6730/5):
>
> Keycloak doesn’t support rolling upgrades. So, if you want to wait, until this is fixed, this might become long… very long… Zero-downtime upgrade is on the map for Keycloak.X. But then, you only will be upgradeable from an X-based version to one of the next without downtime, not from 11.x to somewhat X…

---

<div class="post-metadata">

**Author:** ![deadlysyn](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/deadlysyn/32/1961_2.png) [@deadlysyn](https://forum.keycloak.org/u/deadlysyn)\
**Post date:** [January 28, 2021, 2:59pm UTC](https://forum.keycloak.org/t/infinispan-errors-upgrading-from-keycloak-11-x-to-12-x/7034/3 "2021-01-28T14:59:30Z")

</div>

thanks for the response. i am indeed waiting for X…to see how much effort the refactor is going to be!

in my case it is new behavior. i was able to use the same upgrade method i’m using now to successfully move from 4.x-11.x. it is not 0-downtime in my case, but fully stopping older instances, and starting new instances which run the liquibase migration.

i might be conflating two issues, but the errors i saw when trying to startup after migrating a 11.x database to 12.x were similar to the infinispan issues in the groups thread so it caught my eye.

just to confirm, have folks successfully upgraded 11.x to 12.x (with data migration, not just a fresh install)? fresh installation works fine, but the same config generates infinispan errors after data migration. i dug a bit and didn’t find any good answers so just rolled back for now.

thanks!

---

<div class="post-metadata">

**Author:** ![dasniko](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/dasniko/32/2969_2.png) [@dasniko](https://forum.keycloak.org/u/dasniko)\
**Post date:** [January 28, 2021, 4:27pm UTC](https://forum.keycloak.org/t/infinispan-errors-upgrading-from-keycloak-11-x-to-12-x/7034/4 "2021-01-28T16:27:07Z")

</div>

I did an upgrade from v11 to v12, but stopped all v11 instances gracefully before, then started first node again with v12.  
No problems, everything worked fine.
