Trained keycloak AI model?

I am upgrading from keycloak 20 to version 23 and cannot use the realms from 20 again. Like always, something does not work when i export through CLI realms&user from version 20 and import them into the new version…

basically, export and import through CLI worked, but i cannot use keycloak from the app as i was using it with keycloak 20.

I am searching the internet and reading the docs and think by myself: aint there allready a trained AI model with keycloak docs and all possible configuration topics, so that i could ask the AI what i should do, when with the error message:

keycloak_1    | 2024-01-05 21:03:43,483 WARN  [org.keycloak.events] (executor-thread-54) type=PERMISSION_TOKEN_ERROR, realmId=dev-3JFGuB, clientId=vue-client, userId=<something>, ipAddress=<some ip>, error=invalid_request, reason='Client does not support permissions', auth_method=oauth_credentials, audience=restapi-client, grant_type=urn:ietf:params:oauth:grant-type:uma-ticket

There’s no need of AI, pure human “I” should be enough.
There’s also no need to export and import the data from/to Keycloak when upgrading. You can always use the existing database, start Keycloak in a newer version and the server will take care of upgrading/migrating the database on itself.

1 Like

That was my solution finally.
I just raised the keycloak version to 23.0.3 now and kept the postgres db on version 13…

1 Like

Just to be complete:
Keycloak is now only tested on Postgres 15, but it might work also on lower versions.
If you want to upgrade the database, I recommend to do upgrade it with Postgres tools (e.g. SQL dumps, etc.), not exporting/importing via Keycloak.