Version: Grafana v11.1.0 (unknown-de)
Hi! When I try to test my plugin in development, I get an older version loaded up every time. I thought maybe there was a caching issue, but I followed the steps in Stop Caching Plugins in Development and I am still experiencing the issue.
When I start/restart Grafana using brew services restart grafana
I see this plugin version loaded into Grafana:
My panels seem to be running that version (4.2.0) of the plugin as if it was frozen in time. For example, if I make a very obvious change (like throw an error before rendering anything), and rebuild the plugin then restart Grafana, nothing changes.
If I click “update”, the plugin will update to the latest version currently on the plugin marketplace (currently 4.3.2.) If I click “uninstall”, whether or not I updated first, I get Panel plugin not found: ventura-psychrometric-panel
in my dashboards. After restarting Grafana, it goes right back to version 4.2.0.
How can I fix this? Where is this sneaky 4.2.0 version coming from? It must be cached somewhere. Thank you!
Here is the first few lines of my package.json
:
{
"name": "psychart",
"version": "4.3.2b",
"description": "View air conditions on a psychrometric chart",
...
I’ve also configured grafana.ini
:
# Directory where grafana will automatically scan and look for plugins
;plugins = /var/lib/grafana/plugins
plugins = /Users/ventura/Documents/Code/grafana-plugins
# Enter a comma-separated list of plugin identifiers to identify plugins to load even if they are unsigned. Plugins with modified signatures are never loaded.
;allow_loading_unsigned_plugins =
allow_loading_unsigned_plugins = ventura-psychrometric-panel,ventura-pumpcurve-panel