R
Railway14mo 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
Percy14mo ago
Project ID: cec89f56-3ff7-4888-a587-7afb428f9c71
Holegots
Holegots14mo ago
wI guess because this image doesn't use root ro run
Brody
Brody14mo 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