Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting provisioned dashboard folder, dashboards does not return #13280

Closed
torkelo opened this issue Sep 14, 2018 · 4 comments

Comments

Projects
None yet
4 participants
@torkelo
Copy link
Member

commented Sep 14, 2018

After deleting a provisioned folder with dashboards (gdev-dashboards) for example it deletes the folder and the dashboards. After a few seconds the folder is restored by provisioning system but dashboards are not restored (even after grafana server restart).

Seems the dashboards are still left in dashboard_provisioning table after deleting a folder with provisioned dashboards.

@thomasbarton

This comment has been minimized.

Copy link

commented Oct 19, 2018

@torkelo i ran into this same issue - how did you solve it?

@torkelo

This comment has been minimized.

Copy link
Member Author

commented Oct 23, 2018

I removed the contents of the dashoard_provisioning table

@torkelo

This comment has been minimized.

Copy link
Member Author

commented Oct 23, 2018

@bergquist can you find time to investigate this?

@bergquist

This comment has been minimized.

Copy link
Contributor

commented Oct 23, 2018

I will look into this tomorrow.

@bergquist bergquist self-assigned this Oct 23, 2018

bergquist added a commit to bergquist/grafana that referenced this issue Oct 24, 2018

delete provisioning meta data when deleting folder
prior to this fix Grafana didnt delete meta data
about the provisioned dashboard in `dashboard_provisioning`
which means that the dashboard wasn't inserted into
Grafana again if the folder was delete within Grafana.

closes grafana#13280

@marefr marefr added this to the 5.3.2 milestone Oct 24, 2018

bergquist added a commit to bergquist/grafana that referenced this issue Oct 24, 2018

delete provisioning meta data when deleting folder
prior to this fix Grafana didnt delete meta data
about the provisioned dashboard in `dashboard_provisioning`
which means that the dashboard wasn't inserted into
Grafana again if the folder was delete within Grafana.

closes grafana#13280

(cherry picked from commit 0a9bfc5)

marefr added a commit that referenced this issue Oct 24, 2018

ryantxu added a commit to NatelEnergy/grafana that referenced this issue Oct 25, 2018

Merge remote-tracking branch 'grafana/master'
* grafana/master: (44 commits)
  fix: updated backend srv to use appEvents and removed parts of alertsSrv
  build: correctly adds enterprise to the filename. (grafana#13831)
  docs: improve ES provisioning examples
  changelog: adds note about closing grafana#13723
  fix for annotation promise clearing, bug introduced last week when merging react panels step1
  fix panel solo size
  support template variable in stat field
  fix dingding doc error
  update latest.json to latest stable version
  changelog: update
  cleaned up the flow
  changelog: add notes about closing grafana#13280
  delete provisioning meta data when deleting folder
  Update the regex-matching in templateSrv to work with the new variable-syntax and be more flexible to regex-changes grafana#13804
  changelog: add notes about closing grafana#13600
  changelog: update
  Move the variable regex to constants to make sure we use the same reg… (grafana#13801)
  docs: fix tutorials index page. Fixes grafana#13799
  Explore: fix graph resize on window resize
  changelog: adds note for grafana#13691
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.