<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Great, thanks. That works.<br>
    <br>
    Tim<br>
    <br>
    <div class="moz-cite-prefix">On 12/02/2016 14:19, Stian Thorgersen
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJgngAdn5OW+qa4XzJY8OQsy=E7t4744PSiKQmSQ8Z5+WQVxeg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><span style="font-size:12.8px">The image was updated to use
            an entrypoint, so you can drop "</span><span
            style="font-size:12.8px">$PWD:/tmp/json
            jboss/keycloak:1.8.1.Final \ </span><span
            style="font-size:12.8px">/opt/jboss/keycloak/bin/</span><span
            style="font-size:12.8px">standalone.sh", and just run it
            with:</span></div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px">docker run -it --rm -v </span><span
            style="font-size:12.8px">-b 0.0.0.0</span><br
            style="font-size:12.8px">
          <span style="font-size:12.8px">-Dkeycloak.migration.action=</span><span
            style="font-size:12.8px">import</span><br
            style="font-size:12.8px">
          <span style="font-size:12.8px">-Dkeycloak.migration.provider=</span><span
            style="font-size:12.8px">singleFile</span><br
            style="font-size:12.8px">
          <span style="font-size:12.8px">-Dkeycloak.migration.file=/</span><span
            style="font-size:12.8px">tmp/json/yyy.json</span><br
            style="font-size:12.8px">
          <span style="font-size:12.8px">-Dkeycloak.migration.strategy=</span><span
            style="font-size:12.8px">OVERWRITE_EXISTING</span><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 12 February 2016 at 15:03, Tim
          Dudgeon <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:tdudgeon.ml@gmail.com" target="_blank">tdudgeon.ml@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">I've hit
            an issue with import. The command I used to use to import a<br>
            realm with 1.7.0 now gives an error with 1.8.1, but from
            reading the<br>
            docs all the options seem to be valid. Could someone point
            to what has<br>
            changed?<br>
            <br>
            The command I'm using is<br>
            <br>
            /opt/jboss/keycloak/bin/standalone.sh -b 0.0.0.0<br>
            -Dkeycloak.migration.action=import<br>
            -Dkeycloak.migration.provider=singleFile<br>
            -Dkeycloak.migration.file=/tmp/json/yyy.json<br>
            -Dkeycloak.migration.strategy=OVERWRITE_EXISTING<br>
            <br>
            Or to be more correct, I'm doing this in Docker, and it can
            be<br>
            reproduced like this:<br>
            <br>
            docker run -it --rm -v $PWD:/tmp/json
            jboss/keycloak:1.8.1.Final<br>
            /opt/jboss/keycloak/bin/standalone.sh -b 0.0.0.0<br>
            -Dkeycloak.migration.action=import<br>
            -Dkeycloak.migration.provider=singleFile<br>
            -Dkeycloak.migration.file=/tmp/json/yyy.json<br>
            -Dkeycloak.migration.strategy=OVERWRITE_EXISTING<br>
            <br>
            which tells me that I've specified an invalid option. It
            works fine if I<br>
            use the 1.7.0.Final image.<br>
            <br>
            Tim<br>
            <br>
            <br>
            _______________________________________________<br>
            keycloak-user mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
              rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>