Unable to create the the first administrator remotely #10262
-
Describe the bugCould you please help me out with creating the first administrator remotely, as I have only an SSH access to the server? Versionkeycloak-17.0.0 Expected behaviorCreated the first administrator as of the server gets started, upon the procedure above. Actual behaviorNo administrator is created after the server has started How to Reproduce?On Ubuntu 18.04 Anything else?Upon the procedure described above, the server has started without error, but no administrator was created. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
If you export the environment variables and then start Keycloak with
|
Beta Was this translation helpful? Give feedback.
-
|
Thank a lot DirkLachowski, you definitely RIGHT, that is it. By the way, it is working fine. |
Beta Was this translation helpful? Give feedback.
If you export the environment variables and then start Keycloak with
sudo, you get a new env. Either:sudo -E bin/kc.sh start(see https://stackoverflow.com/a/8633575 )