Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Importing dashboards will fail if datadir != /var/lib/grafana #147

Closed
boutetnico opened this issue Mar 25, 2019 · 1 comment · Fixed by #148
Closed

Importing dashboards will fail if datadir != /var/lib/grafana #147

boutetnico opened this issue Mar 25, 2019 · 1 comment · Fixed by #148

Comments

@boutetnico
Copy link
Contributor

If you set grafana_data_dir to a path different than /var/lib/grafana the task Import grafana dashboards will fail with the following error:

Destination directory /var/lib/grafana/dashboards does not exist

This happens because this path is static (hardcoded) and does not use the dynamic value from grafana_data_dir. I have also noticed the same path is present in different parts of the role that might cause similar issues. I'll send a PR.

@lock
Copy link

lock bot commented Apr 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Apr 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant