ssilvert at redhat.com
Wed Sep 21 09:27:38 EDT 2016
On 9/21/2016 9:02 AM, Vlasta Ramik wrote:
> Hi all,
> I've tried a migration of keycloak-server.json to keycloak-server
> subsystem following .
> I had to remove the default content of keycloak-server subsystem to make
> it work.
> <subsystem xmlns="urn:jboss:domain:keycloak-server:1.1">
That's correct. The migrate-json tool is meant to be used when you are
migrating from an older version of the server. To do that, you would
copy your old standalone.xml to the new server and then run migrate-json.
You wouldn't migrate a standalone.xml that already has the new subsystem
This probably needs to be made more clear in the documentation.
> 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 , if not I'll create a jira.
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
More information about the keycloak-dev