mqtt-telegraf-influxdb-grafana icon indicating copy to clipboard operation
mqtt-telegraf-influxdb-grafana copied to clipboard

Missing grafana.ini

Open MartinMuzatko opened this issue 5 years ago • 0 comments

When starting the compose file, you will get an error for the grafana.ini not existing. docker creates a folder instead.

Creating network "mqtt-telegraf-influxdb-grafana_default" with the default driver
Creating influxdb ... done
Creating telegraf ... done
Creating mqtt     ... done
Creating grafana  ... error

ERROR: for grafana  Cannot start service grafana: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/docker/mqtt-telegraf-influxdb-grafana/conf/grafana/grafana.ini\\\" to rootfs \\\"/var/lib/docker/overlay2/7cefeb353f88b9f0c130eb02f8a61100774b1e66a866fcee09292d8540866b9b/merged\\\" at \\\"/var/lib/docker/overlay2/7cefeb353f88b9f0c130eb02f8a61100774b1e66a866fcee09292d8540866b9b/merged/etc/grafana/grafana.ini\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

ERROR: for grafana  Cannot start service grafana: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/docker/mqtt-telegraf-influxdb-grafana/conf/grafana/grafana.ini\\\" to rootfs \\\"/var/lib/docker/overlay2/7cefeb353f88b9f0c130eb02f8a61100774b1e66a866fcee09292d8540866b9b/merged\\\" at \\\"/var/lib/docker/overlay2/7cefeb353f88b9f0c130eb02f8a61100774b1e66a866fcee09292d8540866b9b/merged/etc/grafana/grafana.ini\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

MartinMuzatko avatar Jan 02 '20 19:01 MartinMuzatko