Can't locate object method "MailDashboards", post upgrade to 4.2.7

I just upgraded a 4.2.3 installation to 4.2.7, and rt-email-dashboards
suddenly broke, and now the cron job emails messages like this to me
every hour:

[1591] [Tue Sep 30 21:00:03 2014] [critical]: Can’t locate object method “MailDashboards” via package “RT::Dashboard::Mailer” at/opt/rt4/sbin/rt-email-dashboards line 96. (/opt/rt4/sbin/…/lib/RT.pm:393)
Can’t locate object method “MailDashboards” via package “RT::Dashboard::Mailer” at /opt/rt4/sbin/rt-email-dashboards line 96.

Oddly, running it by hand works just fine - it only fails when invoked
from cron.
This is a pretty standard CentOS system, cron’s execution environment is
pretty normal, and hasn’t changed.

Is this a known issue, or it there something obvious I should be doing?
I didn’t see anything in the README about this for upgrades - and I
reiterate, it was working fine under 4.2.3, and broke immediately after
upgrading to 4.2.7.

Thanks,

-Adam Thompson
athompso@athompso.net
Cell: +1 204 291-7950
Fax: +1 204 489-6515

I just upgraded a 4.2.3 installation to 4.2.7, and rt-email-dashboards suddenly
broke, and now the cron job emails messages like this to me every hour:

[1591] [Tue Sep 30 21:00:03 2014] [critical]: Can't locate object method "MailDashboards" via package "RT::Dashboard::Mailer" at /opt/rt4/sbin/rt-email-dashboards line 96. (/opt/rt4/sbin/../lib/RT.pm:393)
Can't locate object method "MailDashboards" via package "RT::Dashboard::Mailer" at /opt/rt4/sbin/rt-email-dashboards line 96.

Oddly, running it by hand works just fine - it only fails when invoked from
cron.

Running by hand as root or as the web user or as the user cron runs
as? Most likely error is permissions. I’ve not seen any other
reports of this on 4.2.7.

-kevin

I just upgraded a 4.2.3 installation to 4.2.7, and rt-email-dashboards suddenly
broke, and now the cron job emails messages like this to me every hour:

 [1591] [Tue Sep 30 21:00:03 2014] [critical]: Can't locate object method "MailDashboards" via package "RT::Dashboard::Mailer" at /opt/rt4/sbin/rt-email-dashboards line 96. (/opt/rt4/sbin/../lib/RT.pm:393)
 Can't locate object method "MailDashboards" via package "RT::Dashboard::Mailer" at /opt/rt4/sbin/rt-email-dashboards line 96.

Oddly, running it by hand works just fine - it only fails when invoked from
cron.
Running by hand as root or as the web user or as the user cron runs
as? Most likely error is permissions. I’ve not seen any other
reports of this on 4.2.7.

Running by hand as root, which is who the cron job runs as, too.
However, I think I just found the problem - rebooted the box, and
encountered massive filesystem corruption. (And no idea why… oh, yay.)

-Adam Thompson
athompso@athompso.net