tomspark wrote:
Grafana runs as uid 472 and needs a writable data directory. The grafana-init container should have chown'd /var/lib/grafana before Grafana started, but it looks like it didn't run or failed silently. Quick fix: docker compose -p sparkbox -f /opt/sparkbox/modules/metrics/docker-compose.yml down && sudo chown -R 472:0 /opt/sparkbox/modules/metrics/data/grafana && SBROOT=/opt/sparkbox docker compose --env-file /opt/sparkbox/.env -p sparkbox -f /opt/sparkbox/modules/metrics/docker-compose.yml up -d If you're on a VPS without sudo, just drop the sudo — you're probably already root. Grafana should stay up this time. Let me know if it keeps looping.