[Koha] Koha 20.05 - Upload Cover Image - Software Error (Bug 22027)

Craig Butosi cbutosi at gmail.com
Thu Jun 18 01:07:28 NZST 2020


Hi all,

Update. With many thanks to Jonathan for responding to me so quickly
on Bug 22027!

This fixed the issue:

1. In your koha-conf.xml, set a temp directory under <config> to point
to your tmp folder in /var/lib/koha/<your koha instance name>/tmp, as
in:

<tmp_path>/var/lib/koha/$INSTANCE/tmp</tmp_path>

2. Restart memcached, plack, and apache

All best,

Craig Butosi, MA, MLIS, B Mus (Hons)
Library: library.craigbutosi.ca

On Wed, Jun 17, 2020 at 8:23 AM Craig Butosi <cbutosi at gmail.com> wrote:
>
> Hi all,
>
> I recently upgraded my Koha version to latest stable (20.05), moved my
> OPAC over to https (staff intranet is still http but firewalled), and
> upgraded to Ubuntu 18.04 (bionic).
>
> I tried uploading a jpg cover image on one of my pre-existing bib
> records, and immediately after I click Process Image, a Software Error
> is thrown (exactly like Bug 22027). Here's what I'm getting:
>
> Browser Error:
>
> "Software error:
>  not found: No such file or directory at
> /usr/lib/x86_64-linux-gnu/perl5/5.26/GD/Image.pm line 64.
> For help, please send mail to the webmaster ([no address given]),
> giving this error message and the time and date of the error."
>
> Intranet Error Log:
>
> [Wed Jun 17 08:14:40.691991 2020] [cgi:error] [pid 3914] [client
> 142.116.114.198:52446] AH01215: [Wed Jun 17 08:14:40 2020]
> upload-cover-image.pl:  not found: No such file or directory at
> /usr/lib/x86_64-linux-gnu/perl5/5.26/GD/Image.pm line 64.:
> /usr/share/koha/intranet/cgi-bin/tools/upload-cover-image.pl, referer:
> http://library.craigbutosi.ca:8080/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=127&filetype=image
>
> There was mention of Koha system warnings in 22027; I have none. There
> was also mention of temp path. In my koha-conf.xml, I have
> "<tmp_path>/tmp</tmp_path>"
>
> What could be the problem?
>
> Many thanks!
>
> Craig Butosi, MA, MLIS, B Mus (Hons)
> Library: library.craigbutosi.ca


More information about the Koha mailing list