Repository navigation
Export realm users dont work Keycloak 18 (Docker) #13405
Replies: 4 comments
|
Same issue. I run my Keycloak instance on Kubernetes using helm chart keycloak:9.7.1 from https://charts.bitnami.com/bitnami, which is based on Keycloak:18.0.2. When executing command 2022-09-02 03:02:29,724 INFO [org.keycloak.services] (main) KC-SERVICES0035: Export finis
hed successfully
2022-09-02 03:02:29,993 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler]
(main) ERROR: Failed to start server in (import_export) mode
2022-09-02 03:02:29,994 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler]
(main) Error details:: java.lang.RuntimeException: Unable to start HTTP server
at io.quarkus.vertx.http.runtime.VertxHttpRecorder.doServerStart(VertxHttpRecorder
.java:624)
... |
|
Same issue. I'm running Keycloak 19.0.3 in dev mode |
|
Have not tried this yet. But sounds like json-fil should be edited before running the import, removing som policies? Although, I was not trying to import from an old Keycloak version. https://www.helikube.de/keycloak-18-export-and-import-feature/ |
|
You encounter this problem probably because your Keycloak instance is already running. https://www.keycloak.org/server/importExport I found a workaround when you use docker which is to start Keycloak on another port then run export command that run it on port 8080 which is not used. To run on another port use this option :
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi.
I'm trying to export users by:
the console informs me:
The "/opt/keycloak/data/import" remains empty.
Am I missing something? I'n running Keycloak 18.0.2 in dev mode. Exportering the realm via the admin console works fine, although I would like my users with roles and groups included.
Importing an existing realm by using the "--import-realm" option works fine. I did that, added some users, and is now trying to export it again.
I've been following this tutorial: https://www.helikube.de/keycloak-18-export-and-import-feature/
Grateful for any input.
All reactions