R
Railway15mo ago
Holegots

Use Volume with grafana will permission denied

I was configed volume and data path, but when i start my grafana, it will crash. This is log: Error: ✗ failed to connect to database: failed to create SQLite database file "/data/grafana.db": open /data/grafana.db: permission denied Project ID: cec89f56-3ff7-4888-a587-7afb428f9c71
No description
3 Replies
Percy
Percy15mo ago
Project ID: cec89f56-3ff7-4888-a587-7afb428f9c71
Holegots
HolegotsOP15mo ago
wI guess because this image doesn't use root ro run
Brody
Brody15mo ago
correct, the volume is mounted as root try setting a service variable RAILWAY_RUN_UID to 0
Want results from more Discord servers?
Add your server