Hi!
Im trying to configure a new datasource in grafana, and everytime i see this message:
Missing rights
You are not allowed to modify this data source. Please contact your server admin to update this data source.
The user is a Grafana admin AND Organization admin.
Some ideas why this happens?
What datasource are you trying to configure? Is it a built-in one?
Im trying to configure a CheckMK RAW datasource. But after some testing, the message appears in all datasources, new or old:
So who is your Grafana server admin?
Thatâs the thing. Im the administrator of the instance.
I already searched the DDBB to verify that the user is the administrator, in the org and in grafana.
Provide reproducible example pls.
I dont think i will be able to reproduce. The instance was maintained by another IT before me, and he left 3 months ago.
What i know, is that the original Org was modified or deleted, and now we have an Org with ID1 called administrator.
I would say this messed permissions. I would recreate DB from the scratch. Also keep in mind Grafana admin
!= Grafana server admin
(this is âsuperâ admin).
The admin user is already admin & super-admin (photo below).
There is a way to save the users, dashboardsâŚ, or at least the library panels from the recreation?
Oooook, some news:
Im trying to remake the DDBB from scratch, migrating by hand all the Datasources, panels⌠etc.
I have the old grafana in sqlite, and the new one works with mysql. Im switching connections between both to lookup data, but now, in the new DDBB, the same message appears:
The new rights of the admin user:
After some more investigating and testing, i found the problem:
CSRF was added to grafana in a update (didnât find which one), and the NGINX config wasnt able to authenticate the admin at 100%.
Updating Nginx with the recommended config solved the issue: Run Grafana behind a reverse proxy | Grafana Labs
1 Like