New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sirix-keycloak-1 | User with username 'admin' already added to '/opt/jboss/keycloak/standalone/configuration/keycloak-add-user.json' #581
Comments
Can you check what’s wrong in the proposed fix in #541 and the PR? |
I'll take a look thanks |
Thanks for the suggestion @JohannesLichtenberger the PR fixed the issue I was having, I think we should consider merging that in. |
The |
For future references, I also followed same issue while working on the project on Windows using Docker. According to this answer on stackoverflow, it happens if keycloak was interrupted during boot. But for my case my keycloak wasn't interrupted still I got the same error. The fix mentioned in the answer worked for me. I also noticed that this didn't happen when I switched to a Linux machine. (Though it happen only once, then I stopped the container and restarted it and it was fixed) |
Strange, though the tests failed with the PR, sadly |
Describe the bug
When running sirix with
docker compose up
ordocker compose up keycloak
it initially adds an admin user to the JSON. However, if afterwards you stop the container and rerun it, keycloak will continuously try to add the admin user again and keep failing, giving output like this:To Reproduce
docker compose up
ordocker compose up keycloak
Expected behavior
I would suspect that it should not fail if the admin user already exists
Additional context
I know in the error it gives a path to /opt where a JSON file is; I tried looking for it there but all I could find was an empty sirix-data folder
This issue also makes it impossible to visit the keycloak web UI
The text was updated successfully, but these errors were encountered: