Unable to provision dashboard after update v8.1.1

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:

Configuration:
providers:

  • allowUiUpdates: false
    disableDeletion: false
    name: gitlab-common
    options:
    foldersFromFilesStructure: true
    path: /tmp/gitlab/dashboards/common
    orgId: 1
    type: file
    updateIntervalSeconds: 30
  • allowUiUpdates: false
    disableDeletion: false
    name: gitlab-env
    options:
    foldersFromFilesStructure: true
    path: /tmp/gitlab/dashboards/dev
    orgId: 1
    type: file
    updateIntervalSeconds: 30

The parameter allowUiUpdates isn’t changed during the update and it’s possible to change dashboards via Grafana UI.

But I didn’t understand why the newer version raised this error.

thx for your help

Hi, did you find something on this issue ?

We are running the same problem with grafana 8.2.3 deployed on a kubernetes cluster

no, we have performed a downgrade back to 7.

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:

"uid": "{{substr 0 8 uuidv4}}"

Hey there, I had the exact same problem.

Tried changing the UID, the name of the dashboard and location of the subyacent folder, to no avail.

Same message kept appearing:
“Not saving new dashboard due to restricted database access”

DELETED all pods, waited for them to re-appear and wala! There it was my missing dashboard.

Hope it helps somebody.