Configuration File migration to version 10.0.1 is introducing Validation error

Hi All.
we run a standalone HA instance of keycloak.
We are now upgrading to version 10.0.1. I run the migration command on the standalone-ha.xml file.
Migration looks successful.

Once we tried to start keycloak service we received the following error:

OPVDX001: Validation error in standalone-ha.xml --------------------------------
|
| 1: <?xml version='1.0' encoding='UTF-8'?>
| 2:
| 3:
| ^^^^ Unexpected element ‘{urn:jboss:domain:12.0}server’
|
| 4:
| 5:
| 6:
|
| The primary underlying error message was:
| > ParseError at [row,col]:[3,1]
| > Message: Unexpected element ‘{urn:jboss:domain:12.0}server’

I tchecked the example file included in the 10.0.1 archive and I saw that is specifying “”, so I tried to adapt the migrated configuration file to use it.
Once I try to start the keycloak service again I receive the following error:

OPVDX001: Validation error in standalone-ha.xml --------------------------------
|
| 160:
| 161:
| 162:
| ^^^^ Unexpected element ‘{urn:jboss:domain:ee:5.0}subsystem’
|
| 163: false
| 164:
| 165:
|
| The primary underlying error message was:
| > ParseError at [row,col]:[162,9]
| > Message: Unexpected element ‘{urn:jboss:domain:ee:5.0}subsystem’

Can somebody support here?
Thanks in advance.

KR
Lorenzo

What’s on line 162 col 9?
Maybe something is copied wrong or the migration did fail but was reported wrong.
Delete an re-insert the expected char in that line and col and see if it solved the issue.
Or pastebin your file so we can take a look

There is just a space. I tried to replace it but still the same issue.
How can I share my config file?

KR

github, pastebin, …
Also please checkout Not able to change keycloak-10.0.1 databace configuration from H2 to Postgresql first