What Grafana version are you using?
5.2.4
What datasource are you using?
MySQL
What OS are you running grafana on?
Fedora release 28 (Twenty Eight)
What did you do?
I setup Grafana in a Docker container.
sudo docker run -d -p 3000:3000 \
--name=grafana --restart=always \
-v /etc/grafana/data:/var/lib/grafana \
-v /etc/grafana/grafana.ini:/etc/grafana/grafana.ini \
-v /etc/grafana/provisioning:/etc/grafana/provisioning \
-e "GF_INSTALL_PLUGINS=grafana-piechart-panel" \
grafana/grafana
I used the API to setup orgs, users and datasources. I used the ‘folder’ provisioning method to add dashboards to the orgs. All went well and the dashboards show up in the org. Sample YAML:
apiVersion: 1
providers:
- name: 'default'
orgId: 2
folder: ''
type: file
disableDeletion: false
updateIntervalSeconds: 60
options:
path: /etc/grafana/provisioning/dashboards/2
Now when I check the logs I see that every minute I get a flurry of messages related to failing to delete missing dashboards. A sample:
t=2018-10-02T18:37:31+0000 lvl=dbug msg="deleting provisioned dashboard. missing on disk" logger=provisioning.dashboard type=file name=default id=18
t=2018-10-02T18:37:31+0000 lvl=eror msg="failed to delete dashboard" logger=provisioning.dashboard type=file name=default id=18
t=2018-10-02T18:37:31+0000 lvl=dbug msg="deleting provisioned dashboard. missing on disk" logger=provisioning.dashboard type=file name=default id=20
t=2018-10-02T18:37:31+0000 lvl=eror msg="failed to delete dashboard" logger=provisioning.dashboard type=file name=default id=20
t=2018-10-02T18:37:31+0000 lvl=dbug msg="deleting provisioned dashboard. missing on disk" logger=provisioning.dashboard type=file name=default id=28
t=2018-10-02T18:37:31+0000 lvl=eror msg="failed to delete dashboard" logger=provisioning.dashboard type=file name=default id=28
t=2018-10-02T18:37:31+0000 lvl=dbug msg="deleting provisioned dashboard. missing on disk" logger=provisioning.dashboard type=file name=default id=41
t=2018-10-02T18:37:31+0000 lvl=eror msg="failed to delete dashboard" logger=provisioning.dashboard type=file name=default id=41
t=2018-10-02T18:37:31+0000 lvl=dbug msg="deleting provisioned dashboard. missing on disk" logger=provisioning.dashboard type=file name=default id=29
t=2018-10-02T18:37:31+0000 lvl=eror msg="failed to delete dashboard" logger=provisioning.dashboard type=file name=default id=29
t=2018-10-02T18:37:31+0000 lvl=dbug msg="deleting provisioned dashboard. missing on disk" logger=provisioning.dashboard type=file name=default id=11
t=2018-10-02T18:37:31+0000 lvl=eror msg="failed to delete dashboard" logger=provisioning.dashboard type=file name=default id=11
t=2018-10-02T18:37:31+0000 lvl=eror msg="failed to delete dashboard" logger=provisioning.dashboard type=file name=default id=37
t=2018-10-02T18:37:31+0000 lvl=dbug msg="deleting provisioned dashboard. missing on disk" logger=provisioning.dashboard type=file name=default id=45
t=2018-10-02T18:37:31+0000 lvl=dbug msg="deleting provisioned dashboard. missing on disk" logger=provisioning.dashboard type=file name=default id=36
t=2018-10-02T18:37:31+0000 lvl=eror msg="failed to delete dashboard" logger=provisioning.dashboard type=file name=default id=45
t=2018-10-02T18:37:31+0000 lvl=dbug msg="deleting provisioned dashboard. missing on disk" logger=provisioning.dashboard type=file name=default id=3
t=2018-10-02T18:37:31+0000 lvl=eror msg="failed to delete dashboard" logger=provisioning.dashboard type=file name=default id=3
t=2018-10-02T18:37:31+0000 lvl=dbug msg="deleting provisioned dashboard. missing on disk" logger=provisioning.dashboard type=file name=default id=4
t=2018-10-02T18:37:31+0000 lvl=eror msg="failed to delete dashboard" logger=provisioning.dashboard type=file name=default id=36
t=2018-10-02T18:37:31+0000 lvl=dbug msg="deleting provisioned dashboard. missing on disk" logger=provisioning.dashboard type=file name=default id=38
t=2018-10-02T18:37:31+0000 lvl=eror msg="failed to delete dashboard" logger=provisioning.dashboard type=file name=default id=4
t=2018-10-02T18:37:31+0000 lvl=dbug msg="deleting provisioned dashboard. missing on disk" logger=provisioning.dashboard type=file name=default id=7
Thank you in advance for any help you can provide!