12.4.0: Cannot import dashboards with library panels anymore

  • What Grafana version and what operating system are you using?

12.4.0

  • What are you trying to achieve?

Trying to import a dashboard that references library panels like this one: EVCC: Today | Grafana Labs

  • How are you trying to achieve it?

Tried the following methods:

  • Import dashboard through Grafana.com
  • Upload dashboard from file system
  • Export dashboard from a migrated 12.4.0 system and import again using Classic or V1 resource.

Neither of these methods works. What worked was:

After import all library panels are broken:

Message look like this:

However library panels can be seen in the list.

  • What did you expect to happen?

Proper import of dashboard with library panels like it did work with Grafana 12.3.x and earlier

  • Can you copy/paste the configuration(s) that you are having problems with?

Yes. Just try to import this dashboard: EVCC: Today | Grafana Labs

Could it be this dependency

ID

22028

Datasource

InfluxDB

Dependencies

Gauge 5.0.0

Grafana 12.3.1

What makes it think that this is the problem? Is this just a guess or are you aware of related known issues?

As said - exporting from 12.4.0 and importing into another 12.4.0 results in the same issue.

1 Like

Filed an issue, which was confirmed by the Grafana developers in the meantime: Dashboards: Unable to import dashboards with libraries as classic or V1 resource · Issue #119494 · grafana/grafana · GitHub

1 Like