weaviate / weaviate-examples

Weaviate vector database – examples
MIT License
291 stars 71 forks source link

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

Open lucas-cauhe opened 2 years ago

lucas-cauhe commented 2 years ago

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