Closed jsteel44 closed 7 years ago
That's odd; Trends works today. I haven't changed anything. I'll keep an eye on it. But Reporting gives me the same error still. Not sure why it cannot find Thruk/Utils/Reports; it is in /etc/thruk/plugins/plugins-enabled/reports2/lib/
Thats strange, can you run reports / trends manually from the command line. Maybe this adds some useful output: thruk -a 'report=1' --local -vv
Looks like that doesn't work either: https://bpaste.net/raw/754d1ff33aa2 Does that shed any light on this issue? Thanks
a little bit maybe... I assume the reporting plugin is enabled? If so, this could mean that the lazy module loading fails because of a missing dependency of the reporting plugin like ex. GD.
Does PERL5LIB=/usr/share/thruk/lib:/usr/lib64/thruk/perl5:/etc/thruk/plugins/plugins-enabled/reports2/lib perl -MThruk::Utils::Reports -eexit
work?
You also test:
PERL5LIB=/usr/share/thruk/lib:/usr/lib64/thruk/perl5:/etc/thruk/plugins/plugins-enabled/reports2/lib perl -MThruk::Utils::Trends -eexit
Thanks, that highlighted that I was missing MIME/Lite.pm. Installed perl-mime-lite and that fixed it, thanks!
Great, i will try to make such errors more visible.
I created a new Arch Linux VM to run thruk 2.14 and naemon 1.0.6 and everything looks OK apart from Trends and Reporting which both give me "internal server error". I've noted the errors from thruk.log:
Trends:
Reporting: