Bug 24044 - Cron keeps sending errors from advance_notices.pl, overdue_notices.pl, process_message_queue.pl
Summary: Cron keeps sending errors from advance_notices.pl, overdue_notices.pl, proces...
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: 19.05
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-14 12:54 UTC by Bohdan
Modified: 2020-11-30 21:45 UTC (History)
2 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Crowdfunding committed: 0
Crowdfunding contact:
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bohdan 2019-11-14 12:54:54 UTC
I tried setting up mail for Koha and set up crons for these files
advance_notices.pl
overdue_notices.pl
process_message_queue.pl

Each cron sends the same error message.

unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4/Context.pm line 244.
Use of uninitialized value in concatenation (.) or string at /usr/share/koha/lib/C4/Templates.pm line 154.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4/Context.pm line 244.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4/Context.pm line 244.
Use of uninitialized value in concatenation (.) or string at /usr/share/koha/lib/C4/Auth_with_cas.pm line 42.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4/Context.pm line 244.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4/Context.pm line 244.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4/Context.pm line 244.
Can't call method "config" on unblessed reference at /usr/share/koha/lib/Koha/Database.pm line 56.

I have just one koha instance on the server. What is the reason for this issue?
Comment 1 Katrin Fischer 2019-11-18 23:25:51 UTC
Hi, this sounds more like a support question than a bug report. You can get help on the mailing list, which is read by many more people than the bug tracker.

Please include information on your exact Koha versio, how Koha was installed and how you've set up the cronjobs if you are not using the default settings. If Koha is installed using the packages, these cronjobs should already be active by default and not require any manual changes.