Skip to content
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

Regarding keycloak deployment #10896

Open
gl00ten opened this issue Jul 17, 2024 · 2 comments
Open

Regarding keycloak deployment #10896

gl00ten opened this issue Jul 17, 2024 · 2 comments

Comments

@gl00ten
Copy link

gl00ten commented Jul 17, 2024

https://docs.cbioportal.org/deployment/docker/using-keycloak/

Instructions here mention a no longer available version of keycloak's docker. (as far as i could find).

jboss/keycloak:4.8.3.Final

On quay.io, the oldest working version is:
quay.io/keycloak/keycloak:9.0.3

Is there any updated version of this guide? I ran into some issues while configuring keycloak through the GUI (at the SAML part) and i wonder if the recommended versions and instructions changed for the newer versions of cbioportal.

@ugurkoysuren
Copy link
Contributor

ugurkoysuren commented Aug 15, 2024

Hey @gl00ten !

I also faced on some issues running keycloak even with the same Keycloak version from jboss, I used

quay.io/keycloak/keycloak:16.1.1

Which led to the error:

FATAL [org.keycloak.services] (ServerService Thread Pool -- 56) Error during startup: java.lang.RuntimeException: java.io.FileNotFoundException: /tmp/realm.json (Is a directory)
if you're running the compose from the root folder of the project, it will not find the file there it will be also not possible to mount the file

- ./keycloak-config.json:/tmp/realm.json:ro

therefore I would recommend to make this change and recommend the user to run the project in the root folder

- ./dev/keycloak-config.json:/tmp/realm.json:ro

@ugurkoysuren
Copy link
Contributor

I also created a PR in the docker repo can you test it if its working? @gl00ten

cBioPortal/cbioportal-docker-compose#25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants