[Bug 22027] New: Upload cover image
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22027 Bug ID: 22027 Summary: Upload cover image Change sponsored?: --- Product: Koha Version: 18.11 Hardware: All OS: Linux Status: NEW Severity: major Priority: P5 - low Component: System Administration Assignee: koha-bugs@lists.koha-community.org Reporter: federicoantoniopaiz@gmail.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Target Milestone: --- Created attachment 83395 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83395&action=edit 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 -- 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=22027 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- 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? -- 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=22027 --- Comment #2 from Federico Paiz <federicoantoniopaiz@gmail.com> --- Created attachment 83417 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83417&action=edit image 1 first I come here -- 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=22027 --- Comment #3 from Federico Paiz <federicoantoniopaiz@gmail.com> --- 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 -- 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=22027 --- Comment #4 from Federico Paiz <federicoantoniopaiz@gmail.com> --- Created attachment 83418 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83418&action=edit imagen 2 -- 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=22027 --- Comment #5 from Federico Paiz <federicoantoniopaiz@gmail.com> --- Created attachment 83419 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83419&action=edit imagen 3 -- 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=22027 --- Comment #6 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- 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. -- 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=22027 --- Comment #7 from Federico Paiz <federicoantoniopaiz@gmail.com> --- 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 -- 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=22027 --- Comment #8 from Federico Paiz <federicoantoniopaiz@gmail.com> --- the tmp would already be but the error persists -- 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=22027 --- Comment #9 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Hi Frederico, did you finally fix your issue? -- 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=22027 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #10 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- 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. -- 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=22027 Craig <cbutosi@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |--- CC| |cbutosi@gmail.com Status|CLOSED |REOPENED --- Comment #11 from Craig <cbutosi@gmail.com> --- 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? -- 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=22027 --- Comment #12 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- 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) -- 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=22027 --- Comment #13 from Craig <cbutosi@gmail.com> --- Hi Jonathan, Thanks! That did the trick. By the way, the tmp folder was there already. Much appreciated! -- 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=22027 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |INVALID -- 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