Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

plugin installation #99

Open
fluxsaas opened this issue Feb 3, 2017 · 1 comment
Open

plugin installation #99

fluxsaas opened this issue Feb 3, 2017 · 1 comment

Comments

@fluxsaas
Copy link

fluxsaas commented Feb 3, 2017

Hey,

great work with the docker image, it works out of the box. very nice!

sth. that came up during my tests:

the plugin install directory is /var/lib/grafana/plugins, but the shared folder is /opt/grafana/data

how i made it work:

login to the container:

$ make shell

install the plugin:

$ cd /opt/grafana/
$ ./bin/grafana-cli plugins install grafana-worldmap-panel
installing grafana-worldmap-panel @ 0.0.16
from url: https://grafana.net/api/plugins/grafana-worldmap-panel/versions/0.0.16/download
into: /var/lib/grafana/plugins

✔ Installed grafana-worldmap-panel successfully

Restart grafana after installing plugins . <service grafana-server restart>

move the plugin to the shared directory

$ mv /var/lib/grafana/plugins/grafana-worldmap-panel/ data/plugins/

exit container and restart

$ exit
$ make down
$ make up

maybe a problem with the grafana-cli or the env. variables?

again, thanks for your work on the docker image!

@JnRouvignac
Copy link

I agree that would be super useful.
Let's ping @dpsoft .

Here is how it can be done: grafana/grafana-docker#59, see also the implementation.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants