xiaosage
xiaosage

Reputation: 13

Does the grafana production app_mode can not load unsigned plugins in data/plugins directory ?

What happened: when I use development app_mode, the grafana can load my custom plugin success. But when the app_mode is production, it can not load success.

enter image description here

Environment:

Upvotes: 1

Views: 2073

Answers (1)

Jan Garaj
Jan Garaj

Reputation: 28626

See Grafana default.ini with comments or doc:

# 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 =

So, allow_loading_unsigned_plugins = true is not correct configuration, but:

allow_loading_unsigned_plugins = my-plugin-1,my-plugin-2

is correct.

Upvotes: 4

Related Questions