Can you skip major versions when upgrading the Keycloak server?

Hello,

Is there a recommendation or best practice when upgrading your Keycloak server in regards to how many versions you skip/what version you upgrade to?

We are currently on 11.0.3 and have quickly fallen behind the now latest version of 18.0.0. Should we upgrade one version at a time, i.e. 11 → 12 → 13 etc.? Is it okay to skip a few versions at a time, i.e. 11 → 13 → 16 → 18? Or is it even possible to jump more major versions at a time than that?

Is there a recommendation or best practice around this?

We obviously want to balance the time/complexity around performing each Keycloak server upgrade with the potential risk involved in the upgrade.

Any guidance around this would be greatly appreciated.

Thank you,

1 Like

+1

We so far haven’t been able to skip major versions on a loaded server. Yes we can skip major versions on a test server without much data, but it seems to me Keycloak migration scripts are written or tested in a way that only work well when you DO NOT skip versions which is painful…