| Summary: | 500 error on Stage MARC records for import, Staged MARC record management, Upload local cover image | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Andrew Fuerste-Henry <andrew> |
| Component: | Tools | Assignee: | Bugs List <koha-bugs> |
| Status: | CLOSED WORKSFORME | QA Contact: | Testopia <testopia> |
| Severity: | critical | ||
| Priority: | P5 - low | CC: | dcook, jonathan.druart, lucas |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
|
Description
Andrew Fuerste-Henry
2021-06-22 19:26:47 UTC
It works for me, which error do you get? Huh. I'm on Koha Testing Docker, running master, on Chrome. When I click the Stage MARC Records for Import link in Tools it tries to load this url: http://localhost:8081/cgi-bin/koha/tools/stage-marc-import.pl. After a couple seconds I get an error page that says: An error has occurred! Error 500 This message may have been caused by any of the following reasons: You made use of an external link to an item that is no longer available You followed an outdated link e.g. from a search engine or a bookmark You tried to access a page that needs authentication An internal link in the client is broken and the page does not exist Anything relevant in the Koha log files? I am also able to recreate this in master, same 500 error as Andrew. These pages seem to be the ones effected: "/cgi-bin/koha/offline_circ/process_koc.pl" "/cgi-bin/koha/tools/background-job-progress.pl" "/cgi-bin/koha/tools/export.pl" "/cgi-bin/koha/tools/manage-marc-import.pl" "/cgi-bin/koha/tools/stage-marc-import.pl" "/cgi-bin/koha/tools/upload-cover-image.pl" "/cgi-bin/koha/svc/cataloguing/metasearch" These files are all listed in apache-shared-intranet-plack.conf with the comment: # FIXME: These scripts should be fixed so they # don't break under plack/starman Perhaps related? I am seeing this error in the intranet-error.log: [Thu Jun 24 13:42:19.781481 2021] [cgi:error] [pid 35597] [client 172.19.0.1:64816] AH01215: new(): failed: couldn't load CGI::Session::Serialize::yamlxs: Can't locate CGI/Session/Serialize/yamlxs.pm in @INC (you may need to install the CGI::Session::Serialize::yamlxs module) (@INC contains: /kohadevbox/koha /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base /var/lib/koha/kohadev/plugins) at (eval 1661) line 2.: /kohadevbox/koha/tools/stage-marc-import.pl [Thu Jun 24 13:42:19.823176 2021] [cgi:error] [pid 35597] [client 172.19.0.1:64816] End of script output before headers: stage-marc-import.pl Update ktd and pull the latest docker images. That did it, thanks! Apologies for not thinking to do that first. |