None of plugins are showing up after install?

I have tried installing multiple plugins via the instructions through grafana-cli and none of them show up on the list of available plugins after I restart the server. I have installed them using sudo command to. Same result.

Any help would be appreciated!!

What OS are you using?

For linux variants, the default path for plugins is /var/lib/grafana/plugins/ and the owner and group should be recursively grafana:grafana

Installing with sudo may have set ownership to root to that directory (and what is beneath) preventing grafana from reading any of the files.

A quick fix is to: chown -R grafana:grafana /var/lib/grafana/plugins or similar.

Here’s what the path typically looks like:

$ pwd
/var/lib/grafana/plugins
$ ls -al
total 56
drwxr-xr-x 14 grafana grafana 4096 Feb 26 19:55 .
drwxr-xr-x  5 grafana grafana 4096 Jun 13 19:05 ..
drwxr-xr-x  4 grafana grafana 4096 Feb 26 18:52 briangann-datatable-panel
drwxr-xr-x  4 grafana grafana 4096 Dec  8  2018 briangann-gauge-panel
drwxr-xr-x  8 grafana grafana 4096 May 27 03:52 grafana-clock-panel
drwxr-xr-x  5 grafana grafana 4096 Feb 26 19:55 grafana-piechart-panel
drwxr-xr-x  6 grafana grafana 4096 Jan 17 03:59 grafana-polystat-panel
drwxr-xr-x  6 grafana grafana 4096 Feb 26 19:55 grafana-sensu-app
drwxr-xr-x  5 grafana grafana 4096 Dec  8  2018 grafana-simple-json-datasource
drwxr-xr-x  4 grafana grafana 4096 Feb 26 18:52 jdbranham-diagram-panel
drwxr-xr-x  6 grafana grafana 4096 Feb 26 18:52 marcuscalidus-svg-panel
drwxr-xr-x  4 grafana grafana 4096 Feb 26 18:52 michaeldmoore-multistat-panel
drwxr-xr-x  6 grafana grafana 4096 Feb 13 13:41 natel-plotly-panel
drwxr-xr-x  4 grafana grafana 4096 May 12 09:42 snuids-radar-panel
1 Like

Yep, I’m running Linux 18.04. I tried that, I have tried changing the owner/group for every user account on my machine and it’s all still the same. Not sure if something in my initial configuration is messed up but everything I try nothing shows up after I restart the service. Think I might just have to live without the plugins.

image

What do the permissions look like inside that directory?

There’s a config option in /etc/grafana/grafana.ini to specify where plugins should be located, it is possible that location has been changed from the default.

The log file should show something during start, check the output in /var/log/grafana for anything related to access. We should be able to fix this :slight_smile:

Checked the Grafana.ini so it doesn’t to have been changed.

Here’s what shows in the log file - only thing that I can see as far about the plugins

And here everything is set to Grafana/grafana
image

I’m thinking I may just try and make a new plugins folder and see if that fixes it.

the “dist” “src” and “package.json” may be doing something odd, I’ll duplicate it and see.

So I got rid of those folders and files and PRESTO the plugins are now showing!!! Thank so much!! Saved me from a lot of headache :slight_smile:

bkgann solution worked.

to be able to change directory to that folder /var/lib/grafana/plugins/

first I had to sudo su

After that the solution of changing owner worked. Note: “su” stands for super user

Thank you