IzakMarais / reporter

Service that generates a PDF report from a Grafana dashboard
Apache License 2.0
963 stars 309 forks source link

Error obtaining render: 500 Internal Server Error #257

Closed mbuyukkarakas closed 4 years ago

mbuyukkarakas commented 4 years ago

Hello.

I upgraded my zabbix to 5.0.2 and Grafana to 7.2. Installed grafana-server as suggested. OS is centos 7.8.2003

Unfortunately it's not working. While trying to get some reports I have received these error messages :

Error obtaining render for panel {Id:4 Type:stat Title: GridPos:{H:4 W:4 X:8 Y:7}}, Status: 500, Retrying after 10s... Error obtaining render for panel {Id:6 Type:stat Title: GridPos:{H:4 W:4 X:20 Y:3}}, Status: 500, Retrying after 10s... Error creating image for panel: error getting panel {Id:8 Type:text Title: GridPos:{H:0 W:0 X:0 Y:0}}: Error obtaining render: 500 Internal Server Error

I believe the problem is not just about one single kind of panel like text panel. As you can see above all kind of panels are reporting the same error.

How can I solve this ? Thank you.

mbuyukkarakas commented 4 years ago

After applying this , it has been resolved.

https://grafana.com/docs/grafana/latest/administration/image_rendering/

yum install -y 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