Skip to content
Snippets Groups Projects
Verified Commit cd68bfc2 authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

grafana: Fix disabled dashboards provisioning due to duplicates

Symlinking home.json to archive.json causes a duplicate, as both
dashboards have the same uid, and Grafana won't keep the dashboards
updated when there are duplicates[1]. Instead just change
default_home_dashboard_path to point to the archive.json dashboard.

[1] "dashboards provisioning provider has no database write permissions
     because of duplicates"
parent b961bef7
No related branches found
No related tags found
No related merge requests found
Pipeline #34993 passed
archive.json
\ No newline at end of file
......@@ -352,7 +352,7 @@ strict_transport_security_max_age_seconds = 86400
# Path to the default home dashboard. If this value is empty, then Grafana uses StaticRootPath + "dashboards/home.json"
{% if grafana_anonymous_access %}
default_home_dashboard_path = /var/lib/grafana/public-dashboards/home.json
default_home_dashboard_path = /var/lib/grafana/public-dashboards/archive.json
{% else %}
;default_home_dashboard_path =
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment