[Koha-bugs] [Bug 35111] Background jobs worker crashes on SIGPIPE when database connection lost

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 20 03:10:27 CEST 2023


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

--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
Initially I couldn't reproduce on Ubuntu 22.04 Koha master... but maybe I did
something wrong, because then I tried Ubuntu 22.04 Koha 22.11.08, 23.05.04, and
again on master... and I could reproduce the problem each time.

Basically it goes like this:
1. Go to http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=29
2. Click "Save" > "MARCXML"
3. Go to http://localhost:8081/cgi-bin/koha/tools/stage-marc-import.pl
4. Click "Choose file", choose the MARCXML file, click "Upload file"
5. Click "Stage for import"
6. Note the job is marked as "100% Finished"

7. In a separate window run "docker restart koha-db-1"
8. Repeat steps 3-5 for uploading file and running stage for import
9. Note that the job is stuck in status "New" and in
/var/log/koha/kohadev/worker-error.log it says something like the following:

20231020 01:09:42 kohadev-koha-worker-long_tasks: client (pid 4516) killed by
signal 13, respawnin

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


More information about the Koha-bugs mailing list