influxdata / influxdata/influxdata-docker

Unable to import influxdb v2.3 dashboards to influxdb v2.5

Open
#653 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

influxdb
Dominant language
Shell
Stars
364
Forks
255
Avg merge
3h 18m
Merged PRs (30d)
7

Description

Hi,

I'm unable to import influxdb v2.3 dashboards to influxdb v2.5.

When I try importing, i get a successful message but the dashboard does not appear.

This is the log that I get:
ts=2022-11-04T13:35:34.133151Z lvl=error msg="api error encountered" log_id=0dxeytM0000 handler=templates error="template[0] from source(s) "" had an issue: json: cannot unmarshal object into Go value of type []pkger.Object"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce importing an InfluxDB v2.3 dashboard into v2.5 and start with the logged templates handler error and its JSON unmarshalling message. Trace the import path responsible for dashboard templates; done means the import reports accurately and the dashboard appears in v2.5 without this error.

Written by the indexing model from the issue text.

Assessment

Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.