Hi. After the latest update (version 20.11.03) I keep getting E-mails from the system with an error from a cronjob: /etc/cron.daily/koha-common: Undefined subroutine &main::cronlogaction called at /usr/share/koha/bin/cronjobs/plugins_nightly.pl line 8. biblioteca: 255 status returned by "/usr/share/koha/bin/cronjobs/plugins_nightly.pl" In the Koha release notes I can see that this cronjob script is a new feature. Do I have to do something to make it work? Thank you Isabel Pineda
Hi Isabel, Yes we made a mistake in the last 20.11 release. We are working on a fix. In the meanwhile you can edit the crontab and comment the line related to "plugins_nightly.pl" See those two related bug reports: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25245 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27820 Regards, Jonathan Le lun. 1 mars 2021 à 22:20, Isabel Pineda <isabel.pineda@ds.edu.sv> a écrit :
Hi. After the latest update (version 20.11.03) I keep getting E-mails from the system with an error from a cronjob:
/etc/cron.daily/koha-common:
Undefined subroutine &main::cronlogaction called at /usr/share/koha/bin/cronjobs/plugins_nightly.pl line 8.
biblioteca: 255 status returned by "/usr/share/koha/bin/cronjobs/plugins_nightly.pl"
In the Koha release notes I can see that this cronjob script is a new feature. Do I have to do something to make it work?
Thank you Isabel Pineda _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi Jonathan. Ok, thank you very much. Best regards Isabel -----Mensaje original----- De: Jonathan Druart [mailto:jonathan.druart@bugs.koha-community.org] Enviado el: martes, 02 de marzo de 2021 02:42 a.m. Para: Isabel Pineda <isabel.pineda@ds.edu.sv> CC: koha@lists.katipo.co.nz Asunto: Re: [Koha] error message in cronjob Hi Isabel, Yes we made a mistake in the last 20.11 release. We are working on a fix. In the meanwhile you can edit the crontab and comment the line related to "plugins_nightly.pl" See those two related bug reports: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25245 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27820 Regards, Jonathan Le lun. 1 mars 2021 à 22:20, Isabel Pineda <isabel.pineda@ds.edu.sv> a écrit :
Hi. After the latest update (version 20.11.03) I keep getting E-mails from the system with an error from a cronjob:
/etc/cron.daily/koha-common:
Undefined subroutine &main::cronlogaction called at /usr/share/koha/bin/cronjobs/plugins_nightly.pl line 8.
biblioteca: 255 status returned by "/usr/share/koha/bin/cronjobs/plugins_nightly.pl"
In the Koha release notes I can see that this cronjob script is a new feature. Do I have to do something to make it work?
Thank you Isabel Pineda _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi Isabel You wrote:
After the latest update (version 20.11.03) I keep getting E-mails from the system with an error from a cronjob:
/etc/cron.daily/koha-common:
Undefined subroutine &main::cronlogaction called at /usr/share/koha/bin/cronjobs/plugins_nightly.pl line 8.
biblioteca: 255 status returned by "/usr/share/koha/bin/cronjobs/plugins_nightly.pl"
In the Koha release notes I can see that this cronjob script is a new feature. Do I have to do something to make it work?
I have experienced the same after upgrading to Koha 20.11.03. The issue is described in Bug 27820 (plugins_nightly.pl script missing use): * https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27820 The issue will be solved in Koha 20.11.04 / Koha 21.05 but I have no plans to update to that revision/version. Thus I have just added the following lines in file "/usr/share/koha/bin/cronjobs/plugins_nightly.pl" and the issue is gone: #!/usr/bin/perl use Modern::Perl; # ANFANG - Admin Kuhn use Try::Tiny; use C4::Context; use C4::Log; # ENDE - Admin Kuhn use Koha::Logger; # ANFANG - Admin Kuhn use Koha::Plugins; # ENDE - Admin Kuhn use Koha::Script -cron; cronlogaction(); ... Hope this helps. Best wishes: Michael -- Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch
participants (3)
-
Isabel Pineda -
Jonathan Druart -
Michael Kuhn