I’m running grafana with docker, and I tried to follow this build a panel plugin tutorial
However, I can’t see my custom plugin on Grafana.
This is what my logs say:
msg=“Skipping loading plugin due to problem with signature”
Do the errors say something about signed/unsigned plugins? I know that if a plugin is unsigned, then Grafana does not load nor start it. So if that’s the case, should I sign my custom plugin first to work?
Or do I have to add GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=“my-plugin” in the docker run command?
Have you tried setting the app mode to development? That will load all unsigned plugins. GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS should work too, but is typically better for when you want to allow a specific unsigned plugin in a production environment.
Set in the following in environment variable in Grafana container and restart the container
GF_DEFAULT_APP_MODE=development
Build the react plugin with the following option and reload the plugin if you are switching mode from prod to dev. You don’t need to reload after this.
This didn’t fix it for me I need to add GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=“my-plugin” otherwise Grafana won’t allow unsigned plugins to be installed