I am trying to start the grafana-image-renderer service on centos 7 (3.10.0-1160.42.2.el7.x86_64) but unable to get this to work.
Here’s is how i installed the plugin ans started service-
grafana-cli plugins install grafana-image-renderer
systemctl restart grafana-server
Here 's the service status and it seems that image renderer plugin is running -
[root@server1 puneets]# systemctl status grafana-server -l
● grafana-server.service - Grafana instance
Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2022-09-26 11:43:46 IST; 30s ago
Docs: http://docs.grafana.org
Main PID: 28185 (grafana-server)
Tasks: 17
Memory: 89.1M
CGroup: /system.slice/grafana-server.service
├─28185 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/var/run/grafana/grafana-server.pid --packaging=rpm cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/lib/grafana cfg:default.paths.plugins=/var/lib/grafana/plugins cfg:default.paths.provisioning=/etc/grafana/provisioning
└─28372 /var/lib/grafana/plugins/grafana-image-renderer/plugin_start_linux_amd64
Here 's the service logs -
Feb 26 11:43:46 den-grafana-01.amperecomputing.com systemd[1]: Started Grafana instance.
Feb 26 11:43:46 den-grafana-01.amperecomputing.com grafana-server[28185]: logger=grafanaStorageLogger t=<timestamp> level=info msg="storage starting"
Feb 26 11:43:46 den-grafana-01.amperecomputing.com grafana-server[28185]: logger=http.server t=<timestamp> level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket=
Feb 26 11:43:46 den-grafana-01.amperecomputing.com grafana-server[28185]: logger=ngalert t=<timestamp> level=info msg="warming cache for startup"
Feb 26 11:43:46 den-grafana-01.amperecomputing.com grafana-server[28185]: logger=ngalert.multiorg.alertmanager t=<timestamp> level=info msg="starting MultiOrg Alertmanager"
Feb 26 11:43:47 den-grafana-01.amperecomputing.com grafana-server[28185]: logger=context traceID=00000000000000000000000000000000 userId=24 orgId=1 uname="Puneet" t=<timestamp> level=info msg="Request Completed" method=GET path=/api/live/ws status=0 remote_addr=100.173.12.107 time_ms=1 duration=1.468388ms size=0 referer= traceID=00000000000000000000000000000000
Feb 26 11:43:48 den-grafana-01.amperecomputing.com grafana-server[28185]: logger=context traceID=00000000000000000000000000000000 userId=24 orgId=1 uname="Puneet" t=<timestamp> level=info msg="Request Completed" method=GET path=/api/live/ws status=0 remote_addr=100.173.12.107 time_ms=9 duration=9.550258ms size=0 referer= traceID=00000000000000000000000000000000
Feb 26 11:43:48 den-grafana-01.amperecomputing.com grafana-server[28185]: logger=live t=2023-02-26T11:43:48.521131731-07:00 level=info msg="Initialized channel handler" channel=grafana/dashboard/uid/wHg8z0y7k address=grafana/dashboard/uid/wHg8z0y7k
Feb 26 11:43:48 den-grafana-01.amperecomputing.com grafana-server[28185]: logger=context traceID=00000000000000000000000000000000 userId=24 orgId=1 uname="Puneet" t=<timestamp> level=info msg="Request Completed" method=GET path=/api/live/ws status=0 remote_addr=100.173.12.107 time_ms=1 duration=1.151037ms size=0 referer= traceID=00000000000000000000000000000000
it seems that plugin is ;istening to 35925 port,
tcp 0 0 127.0.0.1:35925 0.0.0.0:* LISTEN 28372/plugin_start_
no response when i run curl
server1 puneets]# curl 127.0.0.1:35925/render/version server1 puneets]#
also , for port 8081 , i get -
server1 puneets]# curl 127.0.0.1:8081/render/version
curl: (7) Failed connect to 127.0.0.1:8081; Connection refused
Here;s the rendering section -
[rendering]
# Options to configure a remote HTTP image rendering service, e.g. using https://github.com/grafana/grafana-image-renderer.
# URL to a remote HTTP image renderer service, e.g. http://localhost:8081/render, will enable Grafana to render panels and dashboards to PNG-images using HTTP requests to an external service.
server_url =
# If the remote HTTP image renderer service runs on a different server than the Grafana server you may have to configure this to a URL where Grafana is reachable, e.g. http://grafana.domain/.
callback_url =
# Concurrent render request limit affects when the /render HTTP endpoint is used. Rendering many images at the same time can overload the server,
# which this setting can help protect against by only allowing a certain amount of concurrent requests.
concurrent_render_request_limit = 1
[panels]
I have all the required pachages available on my system -
libXcomposite libXdamage libXtst cups libXScrnSaver pango atk adwaita-cursor-theme adwaita-icon-theme at at-spi2-atk at-spi2-core cairo-gobject colord-libs dconf desktop-file-utils ed emacs-filesystem gdk-pixbuf2 glib-networking gnutls gsettings-desktop-schemas gtk-update-icon-cache gtk3 hicolor-icon-theme jasper-libs json-glib libappindicator-gtk3 libdbusmenu libdbusmenu-gtk3 libepoxy liberation-fonts liberation-narrow-fonts liberation-sans-fonts liberation-serif-fonts libgusb libindicator-gtk3 libmodman libproxy libsoup libwayland-cursor libwayland-egl libxkbcommon m4 mailx nettle patch psmisc redhat-lsb-core redhat-lsb-submod-security rest spax time trousers xdg-utils xkeyboard-config alsa-lib
I am out of options and considering to try the docker version now.
Please let me know if i can provide any further information from my end.