# Keycloak upgrade to version 20 standalone.xml example

**URL:** <https://forum.keycloak.org/t/keycloak-upgrade-to-version-20-standalone-xml-example/19245>\
**Category:** Getting advice\
**Created:** [December 21, 2022, 2:04pm UTC](https://forum.keycloak.org/t/keycloak-upgrade-to-version-20-standalone-xml-example/19245 "2022-12-21T14:04:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![elxan24](https://avatars.discourse-cdn.com/v4/letter/e/7cd45c/32.png) [@elxan24](https://forum.keycloak.org/u/elxan24)\
**Post date:** [December 21, 2022, 2:04pm UTC](https://forum.keycloak.org/t/keycloak-upgrade-to-version-20-standalone-xml-example/19245/1 "2022-12-21T14:04:56Z")

</div>

Hello. I need to upgrade keycloak version 15 to version 20 and as you know this consists of also changing the standalone.xml file from having jboss and wildfly configurations to having quarkus configurations. I’ve searched high and wide and could not find an example standalone.xml file or template for version 20 (with quarkus).

Can someone help with such an example?

---

<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:** [December 21, 2022, 4:16pm UTC](https://forum.keycloak.org/t/keycloak-upgrade-to-version-20-standalone-xml-example/19245/2 "2022-12-21T16:16:48Z")

</div>

The Quarkus based distribution doesn’t have a standalone.xml anymore. The way of configuration has changed completely, please refer to the new guides on the website.

---

<div class="post-metadata">

**Author:** ![elxan24](https://avatars.discourse-cdn.com/v4/letter/e/7cd45c/32.png) [@elxan24](https://forum.keycloak.org/u/elxan24)\
**Post date:** [December 23, 2022, 1:45pm UTC](https://forum.keycloak.org/t/keycloak-upgrade-to-version-20-standalone-xml-example/19245/3 "2022-12-23T13:45:28Z")

</div>

@dasniko Is there an example configuration file in the documentation? For Keycloak 20 I still haven’t found anything in the Github repository, all the examples are old, from 2016-2018.

---

<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:** [December 23, 2022, 1:49pm UTC](https://forum.keycloak.org/t/keycloak-upgrade-to-version-20-standalone-xml-example/19245/4 "2022-12-23T13:49:52Z")

</div>

> [@dasniko](#):
>
> please refer to the new guides on the website

Is it so hard? [Guides - Keycloak](https://www.keycloak.org/guides#server)

---

<div class="post-metadata">

**Author:** ![Carl](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/carl/32/10443_2.png) [@Carl](https://forum.keycloak.org/u/Carl)\
**Post date:** [December 23, 2022, 1:56pm UTC](https://forum.keycloak.org/t/keycloak-upgrade-to-version-20-standalone-xml-example/19245/5 "2022-12-23T13:56:05Z")

</div>

I’d start with the link below. With Quarkus, Keycloak the config is built into the deployment instead of maintained separately

[Migrating to Quarkus distribution](https://www.keycloak.org/migration/migrating-to-quarkus)

---

<div class="post-metadata">

**Author:** ![lajibolala](https://avatars.discourse-cdn.com/v4/letter/l/a4c791/32.png) [@lajibolala](https://forum.keycloak.org/u/lajibolala)\
**Post date:** [April 28, 2023, 9:35pm UTC](https://forum.keycloak.org/t/keycloak-upgrade-to-version-20-standalone-xml-example/19245/6 "2023-04-28T21:35:24Z")

</div>

Hi, did you found a solution for that?

---

<div class="post-metadata">

**Author:** ![stancristian88](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/stancristian88/32/6845_2.png) [@stancristian88](https://forum.keycloak.org/u/stancristian88)\
**Post date:** [November 15, 2023, 10:42am UTC](https://forum.keycloak.org/t/keycloak-upgrade-to-version-20-standalone-xml-example/19245/7 "2023-11-15T10:42:48Z")

</div>

Hehe prepare to have fun! I worked more than 2 months to switch from Keycloak 19 Wildfly to Keycloak 19 Quarkus as A LOT of stuff changed.

My advice is (if you have any non-trivial keycloak, ours was not as we have PLENTY of customizations by implementing custom SPIs) to jump first from Keycloak 15 or whatever version you are now on to Keycloak 19 Wildfly and then switch to Quarkus 19, and only then once you are sure your Quarkus Keycloak works as before to jump to newer versions. Will not be easy, I can tell you that, but it is a fun process and you really learn a lot.

So I would highly suggest such an approach. Of course that you can jump directly to Keycloak 22 if you are brave enough, but I would really really not recommend as there are quite a few changes.
