You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
following this page : https://www.keycloak.org/ui-customization/themes
i added the bare minimum of :
.
├── Dockerfile
├── new-theme
│ └── admin
│ ├── index.ftl
│ ├── resources
│ │ ├── css
│ │ │ └── admin.css
│ │ └── img
│ │ └── keycloak-bg.jpg
│ ├── template.ftl
│ └── theme.properties
└── README.md
i am getting errors regarding :
docker run -p 127.0.0.1:8080:8080 -e KC_BOOTSTRAP_ADMIN_USERNAME=admin -e KC_BOOTSTRAP_ADMIN_PASSWORD=admin -v /home/guy/code/new-auth-theme/new-theme:/opt/keycloak/themes/new-theme quay.io/keycloak/keycloak:26.4.2 start-dev
Updating the configuration and installing your custom providers, if any. Please wait.
2025-11-05 16:27:28,817 INFO [io.quarkus.deployment.QuarkusAugmentor] (main) Quarkus augmentation completed in 4689ms
Running the server in development mode. DO NOT use this configuration in production.
2025-11-05 16:27:31,588 INFO [org.hibernate.orm.jdbc.batch] (JPA Startup Thread) HHH100501: Automatic JDBC statement batching enabled (maximum batch size 32)
2025-11-05 16:27:32,231 INFO [org.keycloak.quarkus.runtime.storage.database.liquibase.QuarkusJpaUpdaterProvider] (main) Initializing database schema. Using changelog META-INF/jpa-changelog-master.xml
2025-11-05 16:27:34,678 INFO [org.infinispan.CONTAINER] (main) Virtual threads support enabled
2025-11-05 16:27:34,801 INFO [org.infinispan.CONTAINER] (main) ISPN000556: Starting user marshaller 'org.infinispan.commons.marshall.ImmutableProtoStreamMarshaller'
2025-11-05 16:27:35,049 INFO [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: node_727850, Site name: null
2025-11-05 16:27:35,222 INFO [org.keycloak.services] (main) KC-SERVICES0050: Initializing master realm
2025-11-05 16:27:36,465 INFO [org.keycloak.services] (main) KC-SERVICES0077: Created temporary admin user with username admin
2025-11-05 16:27:36,585 INFO [io.quarkus] (main) Keycloak 26.4.2 on JVM (powered by Quarkus 3.27.0) started in 7.641s. Listening on: http://0.0.0.0:8080
2025-11-05 16:27:36,585 INFO [io.quarkus] (main) Profile dev activated.
2025-11-05 16:27:36,585 INFO [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, jdbc-h2, keycloak, narayana-jta, opentelemetry, reactive-routes, rest, rest-jackson, smallrye-context-propagation, vertx]
2025-11-05 16:28:07,104 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-1) Not found parent theme 'keycloak' of theme 'new-theme'. Unable to load ADMIN theme 'new-theme' due to this.
2025-11-05 16:28:07,105 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-1) Failed to find ADMIN theme new-theme, using built-in themes
2025-11-05 16:30:35,526 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-10) Not found parent theme 'keycloak' of theme 'new-theme'. Unable to load ADMIN theme 'new-theme' due to this.
2025-11-05 16:30:35,527 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-10) Failed to find ADMIN theme new-theme, using built-in themes
it does not matter if i docker cp the files into the /opt/keycload/themes/ folder or mount it as i did in the example.
with or without the ftl files. if parent os "base" or "keycloak" or "keycloak.v2" with or without import, all the same.
new-theme/admin/resources/css/admin.css:
.login-pf body {
background: url("../img/keycloak-bg.jpg") no-repeat center center fixed;
background-size: cover;
height: 100%;
} new-theme/admin/resources/img/keycloak-gb.jpg new-theme/admin/index.ftl:
<#import "template.ftl" as layout>
<@layout.main>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hello,
following this page :
https://www.keycloak.org/ui-customization/themes
i added the bare minimum of :
.
├── Dockerfile
├── new-theme
│ └── admin
│ ├── index.ftl
│ ├── resources
│ │ ├── css
│ │ │ └── admin.css
│ │ └── img
│ │ └── keycloak-bg.jpg
│ ├── template.ftl
│ └── theme.properties
└── README.md
i am getting errors regarding :
docker run -p 127.0.0.1:8080:8080 -e KC_BOOTSTRAP_ADMIN_USERNAME=admin -e KC_BOOTSTRAP_ADMIN_PASSWORD=admin -v /home/guy/code/new-auth-theme/new-theme:/opt/keycloak/themes/new-theme quay.io/keycloak/keycloak:26.4.2 start-dev
Updating the configuration and installing your custom providers, if any. Please wait.
2025-11-05 16:27:28,817 INFO [io.quarkus.deployment.QuarkusAugmentor] (main) Quarkus augmentation completed in 4689ms
Running the server in development mode. DO NOT use this configuration in production.
2025-11-05 16:27:31,588 INFO [org.hibernate.orm.jdbc.batch] (JPA Startup Thread) HHH100501: Automatic JDBC statement batching enabled (maximum batch size 32)
2025-11-05 16:27:32,231 INFO [org.keycloak.quarkus.runtime.storage.database.liquibase.QuarkusJpaUpdaterProvider] (main) Initializing database schema. Using changelog META-INF/jpa-changelog-master.xml
2025-11-05 16:27:34,678 INFO [org.infinispan.CONTAINER] (main) Virtual threads support enabled
2025-11-05 16:27:34,801 INFO [org.infinispan.CONTAINER] (main) ISPN000556: Starting user marshaller 'org.infinispan.commons.marshall.ImmutableProtoStreamMarshaller'
2025-11-05 16:27:35,049 INFO [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: node_727850, Site name: null
2025-11-05 16:27:35,222 INFO [org.keycloak.services] (main) KC-SERVICES0050: Initializing master realm
2025-11-05 16:27:36,465 INFO [org.keycloak.services] (main) KC-SERVICES0077: Created temporary admin user with username admin
2025-11-05 16:27:36,585 INFO [io.quarkus] (main) Keycloak 26.4.2 on JVM (powered by Quarkus 3.27.0) started in 7.641s. Listening on: http://0.0.0.0:8080
2025-11-05 16:27:36,585 INFO [io.quarkus] (main) Profile dev activated.
2025-11-05 16:27:36,585 INFO [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, jdbc-h2, keycloak, narayana-jta, opentelemetry, reactive-routes, rest, rest-jackson, smallrye-context-propagation, vertx]
2025-11-05 16:28:07,104 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-1) Not found parent theme 'keycloak' of theme 'new-theme'. Unable to load ADMIN theme 'new-theme' due to this.
2025-11-05 16:28:07,105 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-1) Failed to find ADMIN theme new-theme, using built-in themes
2025-11-05 16:30:35,526 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-10) Not found parent theme 'keycloak' of theme 'new-theme'. Unable to load ADMIN theme 'new-theme' due to this.
2025-11-05 16:30:35,527 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-10) Failed to find ADMIN theme new-theme, using built-in themes
it does not matter if i docker cp the files into the /opt/keycload/themes/ folder or mount it as i did in the example.
with or without the ftl files. if parent os "base" or "keycloak" or "keycloak.v2" with or without import, all the same.
new-theme/admin/resources/css/admin.css:
**new-theme/admin/template.ftl:** <#macro main> <title>Keycloak Admin Console</title> <#nested> **new-theme/admin/theme.properties:** parent=keycloak import=common/keycloak styles=css/admin.css.login-pf body {
background: url("../img/keycloak-bg.jpg") no-repeat center center fixed;
background-size: cover;
height: 100%;
}
new-theme/admin/resources/img/keycloak-gb.jpg
new-theme/admin/index.ftl:
<#import "template.ftl" as layout>
<@layout.main>
I would appreciate any help.
thank you
All reactions