On starman, the background-job-process.pl script dies as shown in bug 15032. For the 3.22 release (due in a week) we should make it run in CGI mode, until we fix it.
Created attachment 45019 [details] [review] Bug 15218: (Plack) background-job-process.pl should be run in CGI mode This patch adds an entry to the plack-related apache configuration so the tools/background-job-process.pl is run in CGI mode. To test: - Follow the setup steps from bug 15032 - Add the line from this patch to /etc/koha/apache-shared-intranet-plack.conf (if you are on kohadevbox you should probably change the filesystem path to /home/vagrant/kohaclone/tools/background-job-process.pl) - Do the full import process of MARC data. => SUCCESS: It works as expected. - Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 45035 [details] [review] Bug 15218: (Plack) Make processes that rely on background jobs run in CGI mode This patch adds an entry to the plack-related apache configuration so the problematic scripts (that fail under plack/starman) are not processed through Plack but in CGI mode instead. To test: - Follow the setup steps from bug 15032 - Add the line from this patch to /etc/koha/apache-shared-intranet-plack.conf (if you are on kohadevbox you should probably change the filesystem path to /home/vagrant/kohaclone/tools/background-job-process.pl) - Do the full import process of MARC data. => SUCCESS: It works as expected. - Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 45044 [details] [review] [PASSED QA] Bug 15218: (Plack) Make processes that rely on background jobs run in CGI mode This patch adds an entry to the plack-related apache configuration so the problematic scripts (that fail under plack/starman) are not processed through Plack but in CGI mode instead. To test: - Follow the setup steps from bug 15032 - Add the line from this patch to /etc/koha/apache-shared-intranet-plack.conf (if you are on kohadevbox you should probably change the filesystem path to /home/vagrant/kohaclone/tools/background-job-process.pl) - Do the full import process of MARC data. => SUCCESS: It works as expected. - Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Created attachment 45045 [details] [review] [PASSED QA] Bug 15218 [QA Followup] - Fix wording of comment Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Patches pushed to master. Thanks for the followup, Kyle!