8000 Can't enable new Admin UI in Keycloak.X · Issue #9120 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

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

Closed

Description

@chrisx8

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

Activity

  1. added
    kind/bug
    on Dec 14, 2021
  2. self-assigned this
    on Dec 14, 2021
  3. added
    area/dist/quarkus
    and removed on Dec 14, 2021
  4. pedroigor commented on Dec 14, 2021

    @pedroigor
    Contributor

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

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

  5. modified the milestones: 17.0.0, 16.0.0 on Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/dist/quarkuskind/bug

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0