IzakMarais / reporter

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

Error obtaining render for panel, Status: 500 #281

Open vijaysundarv opened 3 years ago

vijaysundarv commented 3 years ago

First, thanks @IzakMarais for developing this tool. It's very useful and so cool.

Running grafana-reporter from command line, as it renders the panels and downloads it, for few panels it doesn't render. Below is the error I get.

Error obtaining render for panel {Id:18 Type:graph Title:\#Panel_name_here - \$topic GridPos:{H:7 W:13 X:0 Y:0}}, Status: 500, Retrying after 10s...

Any idea on what could be the reason?

kwtsuiaa commented 3 years ago

same issue. please help. urgent....Thanks

danil2308 commented 3 years ago

Hey, if any of you faced this problem I solved it by installing the next packages:

apt install texlive-latex-base -y && apt install texlive-fonts-recommended -y && apt install texlive-fonts-extra -y && apt install texlive-latex-extra -y && apt-get install texlive-full -y

My assumption is that it probably works by just installing the "texlive-full" package but I haven't tried that because it was the last package I installed.

it is worth to mention my environment is based on a Ubuntu Server VM in which I have both grafana and reporter repo cloned.

I tried on docker containers but I couldn't make it work at the end.

NAME="Ubuntu"
VERSION="21.04 (Hirsute Hippo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 21.04"
VERSION_ID="21.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
vijaysundarv commented 3 years ago

I guess I did install these packages too. Only then it exports the panels to pdf document properly. However let me once try and get back.