[Koha] Need help with Koha Email Notices Issue

Nirakar Mishra nirakarmishra1 at yahoo.com
Mon Nov 4 22:48:34 NZDT 2024


Dear All,

I am using Koha version 22.11.00 and have set up Exim4 on port 25 to send email notices. Additionally, I have configured Cron for sending automatic reminders. This setup was functioning perfectly; however, since last week, reminders such as Advance Due, Item Due, and Overdue emails are not being sent. These notices are marked as pending in the Patron page of the Koha intranet. In contrast, emails like the ACCTDETAILS for creation of new patron and PASSWORD_RESET for Forgot password from OPAC are being sent successfully.

The Koha intranet system logs indicate that the cron jobs (overdue_notices.pl, advance_notices.pl, and holds_reminder.pl) are running fine, but it appears that process_message_queue.pl is not executing. As a result, all notices remain pending and are not being delivered to users.

=> I attempted to run process_message_queue.pl manually from the Koha shell and encountered the following error: 

library-koha at koha:/usr/share/koha/bin/cronjobs$ ./process_message_queue.pl
Can't use string ("Skipping execution of ./process_"...) as a HASH ref while "strict refs" in use at /usr/share/koha/lib/C4/Log.pm line 135.

=> Additionally, when running the following from the Koha shell, I received similar errors:

perl -d process_message_queue.pl
DB<1> c C4::Letters::SendQueuedMessages
Can't use string ("Skipping execution of process_me"...) as a HASH ref while "strict refs" in use at /usr/share/koha/lib/C4/Log.pm line 135.
 at /usr/share/koha/lib/C4/Log.pm line 135.
        C4::Log::cronlogaction("Skipping execution of process_message_queue.pl (Exception 'Ko"...) called at process_message_queue.pl line 80
        main::catch {...} (Koha::Exception=HASH(0x55b46ae9e0e8)) called at /usr/share/perl5/Try/Tiny.pm line 123
        Try::Tiny::try(CODE(0x55b461799bf0), Try::Tiny::Catch=REF(0x55b467407340)) called at process_message_queue.pl line 82


I am currently unable to resolve this issue. If anyone has encountered and fixed the errors mentioned above or has suggestions for a possible solution, I would greatly appreciate your assistance.

Thank you in advance for your help.

Regards,
Nirakar Mishra
Bhubaneswar, India


More information about the Koha mailing list