[keycloak-user] Broken after changing theme - how to reset theme without UI?

Scott Rossillo srossillo at smartling.com
Thu Jun 11 13:39:54 EDT 2015


Shut down the Keycloak server a login to the database and run:

update REALM set ACCOUNT_THEME = null, ADMIN_THEME = null, LOGIN_THEME = null

It will use the theme specified in keycloak-server.json then, which by default is keycloak.

~ Scott

> On Jun 11, 2015, at 1:13 PM, Kevin Thorpe <kevin.thorpe at p-i.net> wrote:
> 
> Hi, 
>    we had an install of Keycloak 1.2.0-beta (Ithink) and I changed the admin theme to 'base'. After that the admin console
> doesn't work. All I get is 
>  {{notification.header}} {{notification.message}}
> Loading...
> because there are loads of 404 requests for javascript components eg:
> http://ld5-keycloak.p-i.net:8080/auth/resources/1.2.0.final/admin/base/lib/jquery/jquery-1.10.2.js <http://ld5-keycloak.p-i.net:8080/auth/resources/1.2.0.final/admin/base/lib/jquery/jquery-1.10.2.js> Failed to load resource: the server responded with a status of 404 (Not Found)
> We upgraded to 1.2.0-final but that didn't help
> 
> How do I manually reset the theme to keycloak to get over this? The documentation only covers using the admin console to do 
> that and I've lost that.
> 
> Kevin Thorpe
> CTO
> www.p-i.net <http://www.p-i.net/> | @PI_150 <https://twitter.com/@PI_150>
> 
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150611/a3039caa/attachment.html 


More information about the keycloak-user mailing list