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

Can't enable new Admin UI in Keycloak.X #9120

Closed
chrisx8 opened this issue Dec 14, 2021 · 1 comment · Fixed by #9129
Closed

Can't enable new Admin UI in Keycloak.X #9120

chrisx8 opened this issue Dec 14, 2021 · 1 comment · Fixed by #9129
Assignees
Labels
area/dist/quarkus kind/bug Categorizes a PR related to a bug
Milestone

Comments

@chrisx8
Copy link

chrisx8 commented Dec 14, 2021

Describe the bug

I can't seem to enable the new Admin UI in Keycloak.X.

  • I started the Docker container with docker run -p 8080:8080 -e KEYCLOAK_ADMIN=init -e KEYCLOAK_ADMIN_PASSWORD=*** quay.io/keycloak/keycloak-x:15.1.0 start-dev -Dkeycloak.profile.feature.admin2=enabled
  • The output in the terminal shows admin2 as enabled
  • When I log in to the admin console, I only see base and keycloak under Realm Settings --> Themes -> Admin Console Theme. keycloak.v2 isn't an option there.

Here's the full terminal output:

Updating the configuration and installing your custom providers, if any. Please wait.
2021-12-14 01:27:27,611 WARN  [org.key.com.Profile] (build-76) Experimental feature enabled: admin2
2021-12-14 01:27:36,396 INFO  [io.qua.dep.QuarkusAugmentor] (main) Quarkus augmentation completed in 10814ms
2021-12-14 01:27:40,269 WARN  [org.key.com.Profile] (main) Experimental feature enabled: admin2
2021-12-14 01:27:40,366 INFO  [org.key.qua.run.hos.DefaultHostnameProvider] (main) Hostname settings: FrontEnd: <request>, Strict HTTPS: false, Path: <request>, Strict BackChannel: false, Admin: <request>
2021-12-14 01:27:41,180 WARN  [org.inf.PERSISTENCE] (keycloak-cache-init) ISPN000554: jboss-marshalling is deprecated and planned for removal
2021-12-14 01:27:41,345 WARN  [org.inf.CONFIG] (keycloak-cache-init) ISPN000569: Unable to persist Infinispan internal caches as no global state enabled
2021-12-14 01:27:41,370 INFO  [org.inf.CONTAINER] (keycloak-cache-init) ISPN000556: Starting user marshaller 'org.infinispan.jboss.marshalling.core.JBossUserMarshaller'
2021-12-14 01:27:41,697 INFO  [org.inf.CONTAINER] (keycloak-cache-init) ISPN000128: Infinispan version: Infinispan 'Triskaidekaphobia' 13.0.0.Final
2021-12-14 01:27:42,493 INFO  [org.key.con.inf.DefaultInfinispanConnectionProviderFactory] (main) Node name: node_376946, Site name: null
2021-12-14 01:27:44,194 INFO  [org.key.qua.run.sto.dat.liq.QuarkusJpaUpdaterProvider] (main) Initializing database schema. Using changelog META-INF/jpa-changelog-master.xml
2021-12-14 01:27:46,817 INFO  [org.key.services] (main) KC-SERVICES0050: Initializing master realm
2021-12-14 01:27:49,150 INFO  [org.key.services] (main) KC-SERVICES0009: Added user 'init' to realm 'master'
2021-12-14 01:27:49,271 INFO  [io.quarkus] (main) Keycloak 15.1.0 on JVM (powered by Quarkus 2.5.1.Final) started in 12.724s. Listening on: http://0.0.0.0:8080
2021-12-14 01:27:49,271 INFO  [io.quarkus] (main) Profile dev activated.
2021-12-14 01:27:49,271 INFO  [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, jdbc-h2, jdbc-mariadb, jdbc-mssql, jdbc-mysql, jdbc-oracle, jdbc-postgresql, keycloak, narayana-jta, reactive-routes, resteasy, resteasy-jackson, smallrye-context-propagation, smallrye-health, smallrye-metrics, vault, vertx]
2021-12-14 01:27:49,273 WARN  [org.key.qua.run.KeycloakMain] (main) Running the server in dev mode. DO NOT use this configuration in production.

Version

Keycloak.X 15.1.0

Expected behavior

Have keycloak.v2 as an option under Realm Settings --> Themes -> Admin Console Theme in the admin console.

Actual behavior

keycloak.v2 isn't an option under Realm Settings --> Themes -> Admin Console Theme in the admin console. Only have base and keycloak as options there.

How to Reproduce?

  • Launch Keycloak.X
    # zip distribution
    bin/kc.sh start-dev -Dkeycloak.profile.feature.admin2=enabled
    # Docker
    docker run -p 8080:8080 -e KEYCLOAK_ADMIN=init -e KEYCLOAK_ADMIN_PASSWORD=*** quay.io/keycloak/keycloak-x:15.1.0 start-dev -Dkeycloak.profile.feature.admin2=enabled
    
  • Log in to admin console, and go to Realm Settings --> Themes
  • keycloak.v2 isn't an option under Admin Console Theme

Anything else?

  • Launching the WildFly-based Keycloak with -Dkeycloak.profile.feature.admin2=enabled works as expected (keycloak.v2 shows up under Realm Settings --> Themes -> Admin Console Theme).
  • I can control non-experimental features with -Dkeycloak.profile.feature.<stuff>=enabled/disabled Keycloak.X.
    Ex. -Dkeycloak.profile.feature.impersonation=disabled correctly disables impersonation.

Edit: Fix Markdown formatting

@chrisx8 chrisx8 added kind/bug Categorizes a PR related to a bug status/triage labels Dec 14, 2021
@pedroigor pedroigor linked a pull request Dec 14, 2021 that will close this issue
@pedroigor pedroigor self-assigned this Dec 14, 2021
@pedroigor
Copy link
Contributor

Thanks, @chrisx8. It should be fixed by #9128.

I missed this issue and create a new one ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dist/quarkus kind/bug Categorizes a PR related to a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants