New Install - Mailreport Package Errors Out When Adding New Report
-
Hello all,
Brand new install and seems like Mailreport package isn't playing nice. Details:- pfSense 24.11-RELEASE (amd64)
- mailreport 3.6.4_4
- other packages: Cron, nmap, Suricata
Other then those, standard install. The "Email Reports" menu is listed and configuration page come up, You can click on the + button to add a new item, but when you hit save it just kicks back to the main screen and no new 'job' is added. Works fine on our other server which is running Mailreport 3.6.4_1. I'm aware that you have to save the job name before adding the actual job. SMTP notifications are set up and working fine.
Looking at the system.log, I see this error when adding a new job:
Dec 20 09:03:19 SRV-pfSense-AM php-fpm[90715]: /status_mail_report_edit.php: config warning: invalid path "mailreports/schedule//" at /usr/local/www/status_mail_report_edit.php:210
I poked around to find the package maintainer, but only came up with pfmailreport, which doesn't seem quite correct.
Doing a diff on the two versions of status_mail_report_edit.php, it looks like things have changed drastically between the version.
Any insights on who I should notify?
Thanks -
Hmm, yup replicated that. Digging...
-
Thanks @stephenw10 . I didn't eventually find this and posted a comment, but no idea if that's the right spot.
-
Ah, yes I just found your comment!
Yes that should be fixed by that commit: https://github.com/pfsense/FreeBSD-ports/commit/c49098e2900a9211de44dc0b9937235ce9d638a2
You can apply that via the System Patches package with path strip count set to 4.
It just missed the 24.11 release but would be included n a pkg build or in 25.03.
-
TIL about the System Patches package and path strips. Thanks for your help @stephenw10 . We're back in business.