#Duplicated Dashboard after update to 4.0.11

1 messages · Page 1 of 1 (latest)

twilit vault
#

Is it a easy way to remove the duplicated dashboards?

radiant bear
#

For NABox 4, could you delete all dashboards? NABox will automatically reimport the latest ones.

twilit vault
#

When i try to delete it manually i become this error message

radiant bear
#

Strange. @sly plinth Could you please check?

sly plinth
#

Try and delete the folder instead

twilit vault
sly plinth
#

None of any 2 duplicates would accept to be deleted ?

twilit vault
#

I am not possible to delete any of the duplicates dashboards

sly plinth
#
cat /usr/share/nabox/grafana/provisioning/dashboards/harvest.yaml
dc exec grafana ls -al /dashboards-harvest/cmode
twilit vault
sly plinth
#

You have time for a remote session ?

woven knot
#

Hello i have the same issue

twilit vault
#

Only the „Harvest-cDOT and Harvest-cDOT Details“ are affected of the double Dashboards.

twilit vault
alpine oak
#

Same issue here too

plucky pecan
#

same here

plush shell
#

Same here

dusty bane
#

Same same 🙂

gusty ingot
#

same here

tulip pier
#

Same here
and many dashboards show no content also the pulldown menu for cluster etc. are empty

pseudo tartan
#

hi @tulip pier no content is different than duplicate dashboards. If you create a new post for that we can help you figure out why that's happening

sly plinth
#

UPDATE : https://nabox.org/kb/removing-duplicate-dashboards/

It looks like I don't have an easy fix at this point.
If you guys are ok to nuke grafana (losing custom dashboards) you should be able to run this :

dc stop grafana
sudo mv /data/grafana/grafana.db /data/grafana/grafana.db.bak
dc start grafana
sudo rm -f /etc/nabox/secrets/grafana-secret
sudo systemctl restart naboxd

There is another solution if you're willing to run sqlite3 manually on grafana.db, and that is to delete from dashboard_provisioning
Once you've done that you will be able to delete dashboards from the UI, those are the dashboards whose URL has a random ID in place of folder name.
The thing is, grafana conainer doesn't include sqlite3 binary