I have an installation (docker) that uses the folder based dashboard provisioning feature. This works fine, but when I delete an organization (via API) I start getting “Cannot read directory” errors repeatedly. These seem to persist until I restart the container.
t=2020-03-18T01:22:17+0000 lvl=eror msg="Cannot read directory" logger=provisioning.dashboard type=file name=default error="stat /etc/grafana/provisioning/dashboards/113: no such file or directory"
t=2020-03-18T01:22:17+0000 lvl=eror msg="Failed to read content of symlinked path" logger=provisioning.dashboard type=file name=default path=/etc/grafana/provisioning/dashboards/113 error="lstat /etc/grafana/provisioning/dashboards/113: no such file or directory"
t=2020-03-18T01:22:17+0000 lvl=info msg="falling back to original path due to EvalSymlink/Abs failure" logger=provisioning.dashboard type=file name=default
t=2020-03-18T01:22:17+0000 lvl=eror msg="failed to search for dashboards" logger=provisioning.dashboard type=file name=default error="stat /etc/grafana/provisioning/dashboards/113: no such file or directory"
Is there a way to stop these messages without restarting the service, and causing a minor outage for the other organizations? Is it a bug that Grafana does not quit polling folders for deleted organizations, or is there something wrong with the way I am doing things? Thanks in advance for any help!