[Koha-bugs] [Bug 31968] Problems with MARC staging/import

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 25 14:24:35 CEST 2022


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

--- Comment #2 from Magnus Enger <magnus at libriotech.no> ---
Now the same thing happened after I clicked "Stage for import". The progress
goes up to some percentage, and then stops, because background-job-progress.pl
returns a 500 error:

==> /var/log/koha/koha/intranet-access.log <==
...
a.b.c.d - - [25/Oct/2022:14:02:17 +0200] "GET
/cgi-bin/koha/tools/background-job-progress.pl?jobID=<id> HTTP/1.1" 200 67
a.b.c.d - - [25/Oct/2022:14:02:18 +0200] "GET
/cgi-bin/koha/tools/background-job-progress.pl?jobID=<id> HTTP/1.1" 200 68
a.b.c.d - - [25/Oct/2022:14:02:18 +0200] "GET
/cgi-bin/koha/tools/background-job-progress.pl?jobID=<id> HTTP/1.1" 200 68
a.b.c.d - - [25/Oct/2022:14:02:19 +0200] "GET
/cgi-bin/koha/tools/background-job-progress.pl?jobID=<id> HTTP/1.1" 200 68

==> /var/log/koha/koha/intranet-error.log <==
[2022/10/25 14:02:19] [WARN] binmode() on closed filehandle _GEN_60 at
/usr/share/koha/lib/C4/Templates.pm line 126.

CGI::Compile::ROOT::usr_share_koha_intranet_cgi_2dbin_tools_manage_2dmarc_2dimport_2epl::__ANON__
/usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl (331) 
[2022/10/25 14:02:19] [WARN] print() on closed filehandle _GEN_60 at
/usr/share/koha/lib/C4/Output.pm line 285.

CGI::Compile::ROOT::usr_share_koha_intranet_cgi_2dbin_tools_manage_2dmarc_2dimport_2epl::__ANON__
/usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl (331) 

==> /var/log/koha/koha/plack-intranet-error.log <==
[2022/10/25 14:02:19] [WARN] seek() on closed filehandle _GEN_60 at
/usr/share/perl5/CGI/Emulate/PSGI.pm line 34.

==> /var/log/koha/koha/intranet-access.log <==
a.b.c.d - - [25/Oct/2022:14:02:19 +0200] "GET
/cgi-bin/koha/tools/background-job-progress.pl?jobID=<id> HTTP/1.1" 200 68
a.b.c.d - - [25/Oct/2022:14:02:20 +0200] "GET
/cgi-bin/koha/tools/background-job-progress.pl?jobID=<id> HTTP/1.1" 200 80
a.b.c.d - - [25/Oct/2022:14:02:20 +0200] "GET
/cgi-bin/koha/tools/background-job-progress.pl?jobID=<id> HTTP/1.1" 200 68
a.b.c.d - - [25/Oct/2022:14:02:21 +0200] "GET
/cgi-bin/koha/tools/background-job-progress.pl?jobID=<id> HTTP/1.1" 200 68
a.b.c.d - - [25/Oct/2022:14:02:21 +0200] "GET
/cgi-bin/koha/tools/background-job-progress.pl?jobID=<id> HTTP/1.1" 200 68

==> /var/log/koha/koha/plack-intranet-error.log <==
[2022/10/25 14:02:22] [WARN] commit ineffective with AutoCommit enabled at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1621.
[2022/10/25 14:02:22] [WARN] seek() on closed filehandle _GEN_134 at
/usr/share/perl5/CGI/Emulate/PSGI.pm line 34.

==> /var/log/koha/koha/intranet-access.log <==
a.b.c.d - - [25/Oct/2022:14:02:22 +0200] "GET
/cgi-bin/koha/tools/background-job-progress.pl?jobID=<id> HTTP/1.1" 500 118732


The file was actually staged, so the problem seems to be
background-job-progress.pl returning a 500 error.

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


More information about the Koha-bugs mailing list