Volume permissions issue

I am using the grafana template in my project and adding a volume to it caused permissions issue with my grafana deployment
GF_PATHS_DATA='/var/lib/grafana' is not writable.

You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later

mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.

You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later

mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
Solution:
try adding a RAILWAY_RUN_UID=0 variable
Jump to solution
3 Replies
Percy
Percy5mo ago
Project ID: 560b7a6c-de0e-4e7e-9735-0ae63ba4118a
croissant
croissantOP5mo ago
560b7a6c-de0e-4e7e-9735-0ae63ba4118a
Solution
Brody
Brody5mo ago
try adding a RAILWAY_RUN_UID=0 variable
Want results from more Discord servers?
Add your server