This question pertains to docker container Keycloak backed by MariaDB database running in a Kubernetes environment. Has anyone run into a scenerio where when Keycloak restarts, it suddenly fails to start back and throws this error:
2025-07-02 17:00:45,407 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: (conn=213658) Table 'keycloak.WEB_ORIGINS' doesn't exist
We dont see anything in the MariaDB logs stating that the table was deleted. We also dont see any issues with the PVCs that persists the MariaDB data. If we manually add the table back in, Keycloak is now able to install successfully.
We would like to know what the root cause of this issue would be so was wondering if anyone had any ideas what might have happened.
Environment:
Keycloak 26.2.5
MariaDB 11.7.2
Kubernetes 1.25.15