grafana-flowcharting
grafana-flowcharting copied to clipboard
blank builtin images
The images that have builtin code rather than an image, are going blank with the new grafana. Not sure how to describe them, but those with a fill option.
I'm just getting a blank bounding rectangle (filled with whatever color I selected). For instance this is how it worked before
![Screen-Shot-2021-08-21-at-17-28-15](https://user-images.githubusercontent.com/61602111/131047956-231582ff-8766-457c-bf36-fcd1c752f27c.png)
After the current grafana
I'm using 0.9.1 of the plugin, and happens with both safari and firefox. Thanks for the plugin, it was great before 8 and now let us do some neat stuff
Hi,
I notice something similar in grafana v8.1.2, but not yet in v8.1.1. I looks like a grafana regression.
v8.1.1 on one PC:
v8.1.2 on another PC (the V in the voltage sensor and the arrow in the current sensor are missing):
The voltage sensor is a library shape with style:
perimeter=ellipsePerimeter;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=#ffffff;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.instruments.voltmeter;strokeColor=#000000;fontColor=#000000;
The current sensor is another library shape: mxgraph.electrical.instruments.ampermeter
Kind regards, Dennis
I had the same issue but with Kubernetes shapes. It works fine with Grafana 8.1.1, but not with 8.1.2
Hi,
I had a look at the browser console just after grafana 8.1.2 loaded by dashboard and noticed a number of failed requests for defaultGraph.drawio, it answers "Plugin file access forbidden", I guess this is the recent change in 8.1.2.
I noticed in the filesystem that the file is there with slightly different path (including static) and accessible to grafana: $ ls -lsa /var/lib/grafana/plugins/grafana-flowcharting/dist/static total 324 4 drwxr-xr-x 2 grafana grafana 4096 Dec 6 2020 . 4 drwxrwxrwx 7 grafana grafana 4096 Dec 6 2020 .. 8 -rw-r--r-- 1 grafana grafana 5217 Dec 8 2020 defaultGraph.csv 84 -rw-r--r-- 1 grafana grafana 83260 Dec 8 2020 defaultGraph.drawio 224 -rw-r--r-- 1 grafana grafana 229289 Dec 8 2020 shapes.txt
And the shapes are in *.xml files under libs/drawio/stencils. This looks similar to issue #313.
Kind regards, Dennis
#313 - are using 8.1.2 version of grafana, its workign before just last week the issue happen.
Hi,
A relatively easy workaround for now would be to revert back to grafana 8.1.1 until this gets fixed:
sudo apt install grafana=8.1.1
. With this, the shapes become visible again. You can make this persistent with sudo apt-mark hold grafana
, so that it is not upgraded again with the next sudo apt upgrade
. Once grafana is fixed you can unhold the package with sudo apt-mark unhold grafana
and do a regular upgrade.
Kind regards,
Dennis
Hi Dennis,
Thanks for the update. i am using Grafana cloud free version. how can i revert back the version?
Best regards, Murad
Hi Murad, I'm using the free version on embedded systems and PCs using the apt repository. When you installed the package separately, you can probably just download and re-install the earlier version. Kind regards, Dennis
Hi Dennis,
Thank you for the input. will try that until they found the root cause and resolve it. By the way, if we downgraded the version, do you think all the previous dashboards, data source setting, etc, will be gone? just wondering before downgraded it.
Best regards, Murad
Hi Murad, For minor downgrades this is probably safe as the structure of the grafana database in /var/lib/grafana/grafana.db remains largely the same. It never hurts to make a backup copy of the database before the downgrade, you can also re-use the database and other /var/lib/grafana folders on other machines to quickly restore the same dashboards on another machine (may need to have the same processor architecture) .... Kind regards, Dennis
Thank you Dennis for the input and suggestion. Appreciate it. Hopefully the developer can resolve this issue soon.
Best regards, Murad