[Bug 27084] New: Cron Daemon Email
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 Bug ID: 27084 Summary: Cron Daemon Email Change sponsored?: --- Product: Koha Version: 19.05 Hardware: All OS: Linux Status: NEW Severity: critical Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: faiz.ahmed@habib.edu.pk QA Contact: testopia@bugs.koha-community.org Hello, I'm using Koha 19.05.05.000 I Configured Postfix to send the email notices but due to some strange & unknown reason, I'm constantly receiving the below email at my given email address. From: Cron Daemon <root@catalog.localdomain> Sent: Wednesday, November 4, 2020 1:00 PM To: root@catalog.localdomain <root@catalog.localdomain> Subject: Cron <root@catalog> cd /tmp && koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/process_message_queue.pl Use of uninitialized value $mail{"Bcc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 253. Use of uninitialized value $mail{"Bcc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 254. Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 253. Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 254. Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 544, <S> chunk 13. Use of uninitialized value $mail{"Cc"} in concatenation (.) or string at /usr/share/perl5/Mail/Sendmail.pm line 545, <S> chunk 13. Use of uninitialized value $mail{"Bcc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 253. Use of uninitialized value $mail{"Bcc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 254. Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 253. Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 254. Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 544, <S> chunk 13. Use of uninitialized value $mail{"Cc"} in concatenation (.) or string at /usr/share/perl5/Mail/Sendmail.pm line 545, <S> chunk 13. I tried various things but none of them worked. Any suggestions are welcomed. Thank you Faiz Ahmed. Assistant Manager, Digital Learning Services, Library and Information Commons. Habib University. Plot # 295 | Block 18 | University Avenue | Gulistan-e-Jauhar | Karachi, Pakistan. www.habib.edu.pk Contact: 021-38797082 ext: 5524 Cell: +92 343 2257315, E-mail: faiz.ahmed@habib.edu.pk -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- This is not a critical problem, they are just warnings you could ignore. I am expecting the notices to have been processed and sent. What's the return value of this SQL command?
select value from systempreferences where variable="NoticeBcc";
-- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #2 from David Cook <dcook@prosentient.com.au> --- I think that I've noticed this issue before too. I think there are places where Bcc and Cc are set even they're empty.. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 Faiz Ahmed <faiz.ahmed@habib.edu.pk> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical --- Comment #3 from Faiz Ahmed <faiz.ahmed@habib.edu.pk> --- Hey Jonathan, Thank you for your response, Yeah you're right notices are processed & sent perfectly. But I'm still constantly receiving the above email at my given email address. I don't know why.. It's soo annoying. I checked the "NoticeBcc" at Global system preferences in koha administration & the email adddress given there is working absolutely fine. I'm receiving the Bcc email perfectly, but still the issue remains same. Any more responses are warmly welcomed (In reply to Jonathan Druart from comment #1)
This is not a critical problem, they are just warnings you could ignore. I am expecting the notices to have been processed and sent.
What's the return value of this SQL command?
select value from systempreferences where variable="NoticeBcc";
-- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 --- Comment #4 from Faiz Ahmed <faiz.ahmed@habib.edu.pk> --- Hey David, Thank you for the response, I would be very thankful if you could share where/how can I fix this issue. Totally stuck here. (In reply to David Cook from comment #2)
I think that I've noticed this issue before too. I think there are places where Bcc and Cc are set even they're empty..
-- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|19.05 |master Severity|critical |normal --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- I understand that it's annoying, but it's not critical for the project, especially when it's not confirmed yet. Please leave the severity status as it. You are using 19.05.05, the latest is 19.11.12. You should first consider an upgrade of Koha. What's your version of the OS and Mail::Sendmail? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 --- Comment #6 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Jonathan Druart from comment #5)
You are using 19.05.05, the latest is 19.11.12. You should first consider an upgrade of Koha.
The latest of the 19.05.x series is 19.05.17 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #7 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- And it's fixed, see bug 24826. *** This bug has been marked as a duplicate of bug 24826 *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 Faiz Ahmed <faiz.ahmed@habib.edu.pk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE |--- --- Comment #8 from Faiz Ahmed <faiz.ahmed@habib.edu.pk> --- (In reply to Jonathan Druart from comment #7)
And it's fixed, see bug 24826.
*** This bug has been marked as a duplicate of bug 24826 ***
Hello, I checked the bug 24826, Still issue remains unsolved, My OS is 18.04.1 & any Koha version above 19.05.05.000 can not be installed in this OS. Issue still remains, Tried that patch, but it didn't fixed my issue, Still receiving the cron daemon email -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 --- Comment #9 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Koha 19.05.x is known to work correctly under Ubuntu 18.04 https://jenkins.koha-community.org/job/Koha_19.05_U18/ -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 --- Comment #10 from David Cook <dcook@prosentient.com.au> --- The patch on Bug 24826 looks good. (In reply to Faiz Ahmed from comment #8)
Hello, I checked the bug 24826,
Still issue remains unsolved, My OS is 18.04.1 & any Koha version above 19.05.05.000 can not be installed in this OS.
That appears to be inaccurate. I use 18.04.4 and I can run Koha's master branch. I would suggest you install the latest 19.05.x package in order to pick up the fix. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 Faiz Ahmed <faiz.ahmed@habib.edu.pk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|master |20.05 --- Comment #11 from Faiz Ahmed <faiz.ahmed@habib.edu.pk> --- Hello, I upgraded my Koha to the next stable version i.e. 20.05 But still facing the same issue. It's extremely annoying to receive this cron email in every 15 minutes or so.. Any help would be highly appreciated. Thanks -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 --- Comment #12 from David Cook <dcook@prosentient.com.au> --- (In reply to Faiz Ahmed from comment #11)
Hello, I upgraded my Koha to the next stable version i.e. 20.05 But still facing the same issue.
It's extremely annoying to receive this cron email in every 15 minutes or so.. Any help would be highly appreciated.
Thanks
It seems unlikely that this issue would be persisting based on the current information. What emails are being processed every 15 minutes or so? Tracing back the specific emails may yield some clues. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 --- Comment #13 from Faiz Ahmed <faiz.ahmed@habib.edu.pk> --- Hello David, I'm constantly receiving the below email at my email address. From: Cron Daemon <root@catalog.localdomain> Sent: Wednesday, November 4, 2020 1:00 PM To: root@catalog.localdomain <root@catalog.localdomain> Subject: Cron <root@catalog> cd /tmp && koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/process_message_queue.pl Use of uninitialized value $mail{"Bcc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 253. Use of uninitialized value $mail{"Bcc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 254. Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 253. Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 254. Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 544, <S> chunk 13. Use of uninitialized value $mail{"Cc"} in concatenation (.) or string at /usr/share/perl5/Mail/Sendmail.pm line 545, <S> chunk 13. Use of uninitialized value $mail{"Bcc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 253. Use of uninitialized value $mail{"Bcc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 254. Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 253. Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 254. Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm line 544, <S> chunk 13. Use of uninitialized value $mail{"Cc"} in concatenation (.) or string at /usr/share/perl5/Mail/Sendmail.pm line 545, <S> chunk 13. I tried various things but none of them worked. Initially I installed 19.05.05.000, but then later migrated to the newer verion, but still.. no solution.. Any clue would be extremely helpful for me, as it is extremely annoying to have my inbox full with these email every morning. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 --- Comment #14 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Send us the email you received since you upgraded, preferably today (not a copy/paste from comment 0) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27084 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Version|20.05 |19.05 Status|REOPENED |RESOLVED --- Comment #15 from David Cook <dcook@prosentient.com.au> --- (In reply to Faiz Ahmed from comment #13)
Any clue would be extremely helpful for me, as it is extremely annoying to have my inbox full with these email every morning.
If you followed our advice and still have this problem, then you've failed to upgrade your Koha properly. My suggestion would be to seek paid support (https://koha-community.org/support/paid-support/), since this bug has already been fixed in Bug 24826, as Jonathan noted in November. I'm marking this bug report as a duplicate, since there's no evidence that there's a problem in an up-to-date Koha. *** This bug has been marked as a duplicate of bug 24826 *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org