question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing and running plugin in Grafana docker container doesn't work

See original GitHub issue

Rendering is not working on a fresh docker ‘install’ of Grafana 6.4.1 with grafana-image-renderer 1.0.5:

installing grafana-image-renderer @ 1.0.5
from: https://grafana.com/api/plugins/grafana-image-renderer/versions/1.0.5/download
into: /var/lib/grafana/plugins

✔ Installed grafana-image-renderer successfully 

...

t=2019-10-04T00:34:01+0000 lvl=eror msg="Rendering failed." logger=context userId=1 orgId=1 uname=admin error="Rendering failed: Error: Failed to launch chrome!\n/var/lib/grafana/plugins/grafana-image-renderer/chrome-linux/chrome: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory\n\n\nTROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md\n"

Installed/ran via docker as such:

docker run \
  -d \
  --user $(id -u) \
  --volume "$PWD/data:/var/lib/grafana" \
  -p 9001:3000 \
  --name=test-641 \
  -e "GF_INSTALL_PLUGINS=grafana-image-renderer,grafana-piechart-panel,grafana-worldmap-panel" \
  grafana/grafana:6.4.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
scharissiscommented, Nov 5, 2019

To anyone still experiencing this issue, note that we managed to “fix” it by NOT installing grafana-image-renderer. (This was done/tested on Grafana 6.4.3) That is, it seems that this package does the exact opposite of what it’s meant to! 🤣

0reactions
marefrcommented, Nov 24, 2019

If you already run Grafana in docker container we suggests you run the image renderer in a separate docker container.

Readme updated together with Grafana Image Rendering documentation and includes instructions for how to install the plugin in Grafana docker container…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Run Grafana Docker image | Grafana documentation
You can install and run Grafana using the official Docker images. Our docker images come in two editions: Grafana Enterprise: grafana/grafana-enterprise.
Read more >
Docker image and plugin install/uninstall issue - Configuration
I am using a docker image and I foolishly installed grafana-cli plugins ... it sees the plugin somewhere and fails to run the...
Read more >
Install plugin from dockerfile - Grafana Community
Hi,. My grafana container is running where there is no internet connectivity. I would therefore like to install my plugins from the Dockerfile....
Read more >
How I use Docker for plugin development - Grafana Community
I thought I'd share how I use Docker for developing plugins. Docker makes it really easy for me to test my plugin against...
Read more >
Plugins in grafana docker don't appear
Why when i do in grafana docker: docker run \ -d \ -p 5000: 3000 \ --name = grafana \ grafana: my_grafana I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found