We are coming from version v7.5.7 and updated to v8.1.1
Now it isn’t possible for us to publish new dashboards or change existing dashboard in our environment. We are running in docker and dashboard files were being pulled from our gitlab.In version 7.5.7 it is working very well.
I found this error message on the console every 30sec (= pulling interval)
t=2021-09-23T09:26:56+0000 lvl=warn msg=“Not saving new dashboard due to restricted database access” logger=provisioning.dashboard type=file name=gitlab-env provisioner=gitlab-env file=/tmp/gitlab/dashboards/dev/overview.json folderId=115
I have found the message “Not saving new dashboard due to restricted database access” in this source file:
Is there also a log message that the dashboards uid is duplicate? Are you rolling out the same dashboard for multiple applications in the same cluster using Helm?
In that case, it might help to set the uid randomly using some Helm magic: