-
Notifications
You must be signed in to change notification settings - Fork 40
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
Datasource not found error for some users on loading dashboards #371
Comments
Hi @shahdevangp, The problem is that the UID of the data source in your Grafana instance is not the same than the one in which the dashboard is imported. To share a dashboard, you need to create a dashboard variable for the data source. Go to settings > variables and add a new variable for the data source: Then you can reference that variable in your panels: That way, the data source will be dynamically resolved in the importer env. |
We have not imported any dashboards. We have been working in the same instance. Also, if there is a mismatch in the UID, then it should be for everyone and not just for a few users. When I load the dashboard, I don't get any errors. Other users are getting this error. |
Got it, if it's the same instance then it could be that those users don't have permissions to access the data source? If that is not the case, to try to reproduce the issue, how have you defined the variables? |
They were able to see the dashboard yesterday. They cant see it today. I can put my finger on what changed between yday and today. |
The variable definition seems fine.
Can you check if this can be the case? Something should have changed in the administration side that caused this, does not seem a plugin issue. |
It was a permission issue. Users were granted the right permissions and this error went away. I think the error message could be more helpful as it did not point to a permission issue. |
Thanks for letting us know @shahdevangp Closing this as resolved |
Hello,
Some users are facing the error "Templating: Failed to upgrade legacy queries Datasource i690Gzynk was not found". See the screenshots. I have built these dashboards and I am able to see the dashboards correctly. I don't get any error. Other users are getting this error. I have double-checked the data source settings, and everything looks ok.
The text was updated successfully, but these errors were encountered: