Keycloak upgrade to 12.0.1 : "realm not found"

485 views
Skip to first unread message

amandin...@smartpanda.com

unread,
Jan 15, 2021, 5:53:48 AM1/15/21
to Keycloak User
Hello Keycloak users,

I have a Keycloak instance that was in version 7 when installing it.
I have upgraded it to version 11.0.3 without problems.

Today I'm trying to upgrade to version 12.0.1, following the upgrading guide.

After upgrade, on some existing realms, when I try to access them into the admin console by the dropdown realm list, I get a "Resource not found..." error.

In the "network" of the Firefox debug console, the request "https://mykeycloak/auth/admin/realms/myrealm_oldname/localization/fr" get a 404 status with response body :
{
   "error":"Realm not found."
}

I think I get why the error appears : the realm name value is different of the realm id value.
When I change the realm name value, on version 11.0.3 (before upgrade though) to the "id" value, then, after the upgrade, it's working !

Am I the only one getting this problem ? Can it be an upgrading problem from 7.0 to 12.0.1 ?

Thanks for your help !
Regards. 

Joeri Meijer

unread,
Jan 18, 2021, 10:59:06 AM1/18/21
to Keycloak User
Hi,

I have the same problem after upgrading from 11.0.3 to 12.0.1
Pressing the back button on the error page does load the correct page, but it's annoying nonetheless.


Regards.
Reply all
Reply to author
Forward
0 new messages