Realm import with Keycloak 18.0.0 quarkus #11658
stefanmaric
started this conversation in
Archive
Replies: 1 comment
-
|
It was not the import feature itself the culprit, but some random, unused default policy within the JSON export. For those passing by, check this thread: #11664 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 everyone! 👋
I'm trying to migrate a project from v17 to v18. I'm first updating the local setup which uses docker compose.
For our local environment on v17, we would enable the
upload-scriptsfeature via env vars in the docker-compose config and then manually import the realm from a JSON file through the dashboard on first start-up. Now this fails becauseupload-scriptshas been disabled entirely.I've mounted a volume to
/opt/keycloak/data/import, placed the JSON export, and added the--import-realmargument to thestart-devcommand, loosely following this guide: https://www.keycloak.org/server/importExport#_importing_a_realm_during_startupBut it is also complaining about
upload-scriptsbeing disabled:It doesn't matter if I leave or remove
upload-scriptsfrom thefeaturesconfig.Am I missing something? Has someone managed to use the
--import-realmflag?PD: using the
startcommand instead ofstart-devdoesn't make a difference.Beta Was this translation helpful? Give feedback.
All reactions