Mailreport Problems
-
I'm having a few issues with the Mailreport package that I need help with. Firstly the clamscan and squidguard logs show nothing. I'm not sure where it should be pulling from but /var/log/access.log has info for clamscan and /var/squidGuard/log/block.log and /var/log/squidGuard.log have info for squidGuard.
Second, my system.log file is full of lines such as:
php: mail_reports_generate.php: Failed to create graph with error code , the error is:
php: mail_reports_generate.php: rrdcolors.inc.php for theme does not exist, using defaults!How can I fix these? Thanks.
-
I have the same error:
php: mail_reports_generate.php: rrdcolors.inc.php for theme does not exist, using defaults!
php: mail_reports_generate.php: Failed to create graph with error code , the error is:
php: mail_reports_generate.php: Sorry we do not have data to graph for system-mbuf.rrdWTF
-
Theme: have you got a special theme selected in System->General Setup?
All the standard themes have rdcolors.inc.php supplied.
It is odd that "for theme does not exist" comes out that way - it should have the theme name in there also, like "for theme pfsense_ng does not exist".
Somehow mail report is not getting your theme name.system-mbuf.rrd - I get the same message, along with "Failed to create graph". Looking at mail_reports_generate.php, there is simply no code to match any *mbuf.rrd file. It seems that the back-end support to generate and mail the mbuf graph has never been written :P
Add: It was not that hard to do, a bit of cut, think and paste.
Pull request: https://github.com/pfsense/pfsense-packages/pull/816That should give you mbuf usage graphs in email from mail report.
I do not know about the theme thing - post about what unusual thing you have with themes.
-
This is in Mail Report 2.3, available now. Along with fixes here also: https://forum.pfsense.org/index.php?topic=83668.msg488777#msg488777