TypeError: t.jsonData is undefined

Bug #1889766 reported by Laurent Sesquès
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Grafana Charm
Won't Fix
Medium
Unassigned

Bug Description

After a fresh deploy of cs:~llama-charmers-next/grafana-8, and adding relations to prometheus2 and influxdb, showing the sources in the web UI gives the following error:

An unexpected error happened
Details
TypeError: t.jsonData is undefined

    in t
    in div
    in t
    in form
    in div
    in div
    in t
    in div
    in div
    in div
    in t
    in t
    in div
    in t
    in t
    in x
    in ConnectWithCleanUp(Connect(t))
    in r
    in Unknown
    in t
    in Unknown
    in h
    in Unknown
    in Unknown
    in t
    in t
    in l

Looking at the data_source table in sqlite:
sqlite> select name, json_data from data_source;
prometheus2 - Juju generated source|
influxdb - Juju generated source|

I solved it manually with:
sqlite> update data_source set json_data='{}';

Edin S (exsdev)
Changed in charm-grafana:
importance: Undecided → Medium
Revision history for this message
Eric Chen (eric-chen) wrote :

This charm is no longer being actively maintained. Please consider using the new Canonical Observability Stack instead.
(https://charmhub.io/topics/canonical-observability-stack)
I will close this issue

Changed in charm-grafana:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.