Created attachment 83395 [details] error_imagen Upload cover image When we upload an image, it shows us on the screen: not found: No such file or directory at /usr/lib/x86_64-linux-gnu/perl5/5.26/GD/Image.pm line 64. and in the log: [Wed Dec 12 13: 21: 40.425798 2018] [cgi: error] [pid 1838] [client 170.210.158.2:35596] AH01215: [Wed Dec 12 13:21:40 2018] 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://biblioadmin.unaj.edu.ar/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=4420&filetype=image
Hi Federico, Which OS are you using? Which version of GD? Does it happen with any images? Can you share an example that produces this error?
Created attachment 83417 [details] image 1 first I come here
The version of the operating system ubuntu 18.04, koha 18.11 and GD 2.66. It happens when we want to load covers, it says that it loads to 100%, we accept and it shows that message
Created attachment 83418 [details] imagen 2
Created attachment 83419 [details] imagen 3
I wanted you to share an example of the images you used to make it fails. Did you take a look at the about page, tab "System information". Maybe you will get an alert about your tmp path.
yes, I did all the steps but still asking for the tmp. There are some steps for new ones for 18.11?, because in versions 16 they worked well for me and now it's still the same
the tmp would already be but the error persists
Hi Frederico, did you finally fix your issue?
Closing this as RESOLVED for now. Please reopen if problem still exists or consider posting to the mailing list first as this might be a configuration issue.
Hi all, Reopening this bug, as I'm experiencing exactly the same issue as Federico: 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?
Add this entry to you koha-conf.xml file: <tmp_path>/var/lib/koha/$INSTANCE/tmp</tmp_path> with $INSTANCE the name of your koha installation. Create the tmp directory if it does not exist, and give it the correct permissions (to your koha user). Then restart the services (memcached, plack then apache)
Hi Jonathan, Thanks! That did the trick. By the way, the tmp folder was there already. Much appreciated!