algenty/grafana-flowcharting

Image does not load, panel stays black

Chris-home17 opened this issue ยท 8 comments

Hi Community,

I've installed the Grafana - Flowcharting plugin using the CLI and I can successfully add a visualisations to my dashboard. However the panel for Flowcharting stays black instead of loading the default XML image.

I've fully restarted my PI, I've also tried to install the plugin using docker-compose xml file but without success.

I hope someone can guide me.

Thanks
Chris

I came here to report the same. On another Grafana instance with the same version and environment, this plugin works fine.

I came here to report the same. On another Grafana instance with the same version and environment, this plugin works fine.

If you find a solution please keep me informed. Thx

Hi @algenty, do you have an idea what might cause this?

I have the same issue.
I'm using Grafana Cloud.

These steps are working
Use the Grafana Play:
https://play.grafana.org/d/yNQz3OCZk/flowcharting-floorplan?orgId=1&refresh=30s

Add a new panel, click on the panel which opens the Edit Panel.
Instead of Time Series, now select FlowCharting.

The example immediatly shows.

These steps are not working
Create a Grafana Cloud account.
Create a new dashbaod, add a new panel, click on the panel which opens the Edit Panel.
Instead of Time Series, now select FlowCharting.

The example does NOT load.

Now try to open the editor by clicking Edit Draw. The drawing can now easily be seen.
Save and close the editor.

The example does NOT load.

In both scenarios, I'm using the same PC and the same browser (chrome).

Do I need a paided version of Grafana Cloud for this plugin to work? I guess I would have been prompted with a "Paid Feature" nag screen in that case, so I suspect something else is wrong?

I see some improvement with latest 9.2 Grafana. The drawing shows, but no colored lines.

I see some improvement with latest 9.2 Grafana. The drawing shows, but no colored lines.

No improvements from my side, still black panel and I'm running Grafana 9.2.3 :-(
Not sure if we'll get some help on this... I've started using the Diagram plugin instead... I really hope to be able one day it switch back to the Flowchart plugin :-/

I had this same problem! For some reason, the fix was to turn off unified alerting, which I noticed was causing errors in Grafana. After turning off unified alerting and preventing the errors, the Flowcharting diagrams loaded.

Diagnosis

To see if this could be your problem, run the following:

sudo cat /var/log/grafana/grafana.log | grep level=error

If you see "Running maintenance failed" messages from the alertmanager, you might have the same problem as me, and the following fix should work.

Solution

Turn off unified alerting and restart Grafana. To do this, edit grafana.ini:

force_migration = true
[unified_alerting]
enabled = false

(The force_migration flag is needed because otherwise Grafana will throw errors on restart about deleting unified alerting data, even if you don't have any unified alerting rules.)

After editing the config file, restart Grafana (e.g. sudo systemctl restart grafana-server).

I had this same problem! For some reason, the fix was to turn off unified alerting, which I noticed was causing errors in Grafana. After turning off unified alerting and preventing the errors, the Flowcharting diagrams loaded.

Diagnosis

To see if this could be your problem, run the following:

sudo cat /var/log/grafana/grafana.log | grep level=error

If you see "Running maintenance failed" messages from the alertmanager, you might have the same problem as me, and the following fix should work.

Solution

Turn off unified alerting and restart Grafana. To do this, edit grafana.ini:

force_migration = true
[unified_alerting]
enabled = false

(The force_migration flag is needed because otherwise Grafana will throw errors on restart about deleting unified alerting data, even if you don't have any unified alerting rules.)

After editing the config file, restart Grafana (e.g. sudo systemctl restart grafana-server).

It didn't work for me, does anyone has other solution?