Tag Archives: grafana Startup Error

[Solved] grafana Startup Error: failed to parse “/etc/grafana/grafana.ini“: open /etc/grafana/grafana.ini: no such file or directory

Grafana failed to start, and the configuration file parsing reported an error:

lvl=crit msg="failed to parse \"/etc/grafana/grafana.ini\": 
open /etc/grafana/grafana.ini: no such file or directory"

The grafana.ini file is not loading properly for the following two reasons.
1, there is no grafana.ini on the host itself.

If at this point it is docker-based boot and -v goes to mount it, the result is definitely still not there.

2, -v is not used correctly, there is grafana.ini on the host, but the file is not mapped into the container