Skip to content

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

Description

@lucas-cauhe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions