[keycloak-dev] migrate-json

Vlasta Ramik vramik at redhat.com
Wed Sep 21 09:02:16 EDT 2016


Hi all,

I've tried a migration of keycloak-server.json to keycloak-server 
subsystem following [1].

I had to remove the default content of keycloak-server subsystem to make 
it work.

<subsystem xmlns="urn:jboss:domain:keycloak-server:1.1">
     <web-context>auth</web-context>
</subsystem>

When I left the content unchanged I got

[standalone at embedded /] /subsystem=keycloak-server/:migrate-json
{
     "outcome" => "failed",
     "failure-description" => "WFLYCTL0212: Duplicate resource [
     (\"subsystem\" => \"keycloak-server\"),
     (\"theme\" => \"defaults\")
]",
     "rolled-back" => true
}

The question is if it is required step. If so it should be added to the 
docs [1], if not I'll create a jira.

Vlasta

[1] 
https://keycloak.gitbooks.io/server-adminstration-guide/content/v/2.2/topics/MigrationFromOlderVersions.html 



More information about the keycloak-dev mailing list