[Koha-bugs] [Bug 17717] process_message_queue.pl: Can't locate Authen/CAS/Client/ Response/Failure.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 23 22:17:18 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17717

--- Comment #18 from Chris Cormack <chris at bigballofwax.co.nz> ---
(In reply to Larry Baerveldt from comment #14)
> Just a FYI on this. I found that *not* using koha-foreach, and instead use
> the actual koha instance user also works.
> 
> For example, instead of:
> root koha-foreach --enabled --email
> /usr/share/koha/bin/cronjobs/process_message_queue.pl
> 
> if you use:
> INST-koha /usr/share/koha/bin/cronjobs/process_message_queue.pl
> 
> it works. 
> 
> So taking a look at how koha-foreach switches to the user might provide some
> clues. 
> 
> Can confirm this also happens on Debian 8.4.

Yep thats because you are running the script as root then. Root has permission
to write in that dir. With for-each you are running as the user, it doesn't.

However the real problem is this module. Which we need to replace, the
workaround should hold for then

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list