Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    New Install - Mailreport Package Errors Out When Adding New Report

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 144 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PalisadesTahoe
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Hmm, yup replicated that. Digging...

        P 1 Reply Last reply Reply Quote 0
        • P
          PalisadesTahoe @stephenw10
          last edited by

          Thanks @stephenw10 . I didn't eventually find this and posted a comment, but no idea if that's the right spot.

          1 Reply Last reply Reply Quote 1
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by stephenw10

            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.

            P 1 Reply Last reply Reply Quote 0
            • P
              PalisadesTahoe @stephenw10
              last edited by

              TIL about the System Patches package and path strips. Thanks for your help @stephenw10 . We're back in business.

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.