Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Export of multiple dashboards at once fails the first time #41

Closed
sstarcher opened this issue Dec 20, 2016 · 2 comments
Closed

Export of multiple dashboards at once fails the first time #41

sstarcher opened this issue Dec 20, 2016 · 2 comments

Comments

@sstarcher
Copy link
Collaborator

If the dashboards are not created in sequential order they will fail. I attempted to create 4 dashboards at once.

wizzy export datasources
Output:
{
  "id": 1,
  "message": "Datasource added"
}
✔ Datasource export successful.
Output:
Grafana API response status code = 500
No error body from Grafana API.
✘ Datasource export failed.
Output:
Grafana API response status code = 500
No error body from Grafana API.
✘ Datasource export failed.
Output:
{
  "id": 2,
  "message": "Datasource added"
}
✔ Datasource export successful.
@utkarshcmu
Copy link
Collaborator

The issue is - go-xorm/xorm#161

And if you see grafana server logs, you must see the following:

EROR[12-20|09:36:40] Request Completed                        logger=context userId=1 orgId=1 uname=admin method=PUT path=/api/datasources/7 status=500 remote_addr=127.0.0.1 time_ms=39ns size=41

@utkarshcmu
Copy link
Collaborator

This should be fixed now!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants