Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

err="open /prometheus/queries.active: permission denied" #23

Open
lucas-cauhe opened this issue Jul 15, 2022 · 0 comments
Open

err="open /prometheus/queries.active: permission denied" #23

lucas-cauhe opened this issue Jul 15, 2022 · 0 comments

Comments

@lucas-cauhe
Copy link

While following the example: monitoring-prometheus-grafana, I encountered with the following error: err="open /prometheus/queries.active: permission denied" in the logs of the prometheus container.

It is simply that you have to change ownership for /data/prometheus folder so that inside the container the mounted folder is accesible. This can easily be done with the following command:
sudo chown -R 65534:65534 data/prometheus/

Perhaps this happened because I'm not running on rootless docker, however I think this should be specified as one of the steps in the repo's README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant