Closed devdavidkarlsson closed 6 years ago
Hm, I don’t see the problem right away, I am not sure though if you would want to use a subdirectory of the jboss installation - maybe try an independent one?
The problem seems to be that my metrics folder was created on the root user. Adding the following to the Dockerfile for creating the metrics dir solved this for me:
USER root
RUN mkdir /usr/src/metrics && chown jboss /usr/src/metrics
Alright. Glad you solved it.
Updated the docker file with KEYCLOAK_PROMETHEUS_EVENTS_DIR, created this dir with some generous permissions.
Keycloak logs an error when the plugin is activated and an event is triggered. (For example creating a user).
The stacktrace: