[Koha] Background jobs in Koha menu "Administration"

DHIM IT itmanager at dhi-moskau.org
Thu Jul 7 23:43:12 NZST 2022


Hello, I have the same problem. Koha Version: 22.05.02.000

Job ID	Status	Progress	Type	Queued	Started
3	New	0 / 1	Batch item record deletion	07.07.2022 06:27

Am 07.07.22, 13:56 schrieb "Koha im Auftrag von Bruns, Anke" <koha-bounces at lists.katipo.co.nz im Auftrag von Anke.Bruns at gwdg.de>:

    ... I forgot to mention that these jobs aren't executed either, but remain in the New status on the overview page.

    Regards,
    Anke

    > -----Ursprüngliche Nachricht-----
    > Von: Bruns, Anke <>
    > Gesendet: Donnerstag, 7. Juli 2022 12:52
    > An: koha at lists.katipo.co.nz
    > Betreff: AW: [Koha] Background jobs in Koha menu "Administration"
    > 
    > Hi,
    > 
    > not sure if this belongs to this thread, but as it concerns
    > 
    > <url>/cgi-bin/koha/admin/background_jobs.pl
    > 
    > it may fit in.
    > 
    > We realized that in 22.05 there is a http 500 error when clicking on "View" in
    > one of the jobs listed on the background jobs overview. This is independent of
    > - the Koha instance (we tried it with two different instances on our server)
    > - whether you navigate to the background jobs overview via menu
    > "Administration > Manage background jobs" or when you just started a batch
    > operation (in our case batch item modification) and from there try to view the
    > job in the list.
    > 
    > The corresponding message in the plack-error.log reads:
    > 
    > 	Can't call method "GetPlugins" on an undefined value at
    > /usr/share/koha/lib/Koha/BackgroundJob.pm line 402.
    > 
    > And this is line 402 in /usr/share/koha/lib/Koha/BackgroundJob.pm:
    > 
    >         my @plugins = Koha::Plugins->new()->GetPlugins( { method =>
    > 'background_tasks', } );
    > 
    > Should we file a bug for this?
    > 
    > Regards,
    > Anke
    > 
    > 
    > 
    > --
    > Anke Bruns M.A. (LIS)
    > Arbeitsgruppe "Anwendungs- und Informationssysteme"
    > E-Mail: anke.bruns at gwdg.de
    > ---------------------------------------
    > Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG)
    > Burckhardtweg 4, 37077 Göttingen, URL: https://gwdg.de
    > 
    > Support: Tel.: +49 551 39-30000, URL: https://gwdg.de/support
    > Sekretariat: Tel.: +49 551 39-30001, E-Mail: gwdg at gwdg.de
    > 
    > Geschäftsführer: Prof. Dr. Ramin Yahyapour
    > Aufsichtsratsvorsitzender: Prof. Dr. Norbert Lossau
    > Sitz der Gesellschaft: Göttingen
    > Registergericht: Göttingen, Handelsregister-Nr. B 598
    > ---------------------------------------
    > Zertifiziert nach ISO 9001
    > ---------------------------------------
    > 
    > 
    > 
    > 
    > 
    > > -----Ursprüngliche Nachricht-----
    > > Von: Koha <koha-bounces at lists.katipo.co.nz> Im Auftrag von Michael Kuhn
    > > Gesendet: Mittwoch, 22. Juni 2022 08:53
    > > An: koha at lists.katipo.co.nz
    > > Betreff: Re: [Koha] Background jobs in Koha menu "Administration"
    > >
    > > Hi Christopher
    > >
    > > Thanks for your meesage. You wrote:
    > >
    > >  > With just a cursory look, I would assume something like 1/1 means 1
    > >  > job, 1 completed.  Something like 2/1 would mean 2 jobs, 1 completed.
    > >  > 0/0, I would assume, means there are no jobs.
    > >
    > > Yes this is also our assumption - but we ask ourselves if there is no
    > > job, why is there a line at all saying there is no job?! The library is
    > > afraid that maybe something went wrong in such a case.
    > >
    > > As said, unfortunately clicking the button "View" does not show more
    > > information like WHAT biblio or item exactly the job is referring to.
    > >
    > > Best wishes: Michael
    > > --
    > > Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
    > > Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
    > > T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch
    > >
    > >
    > > > Message: 5
    > > > Date: Mon, 20 Jun 2022 14:48:02 +0200
    > > > From: Michael Kuhn <mik at adminkuhn.ch>
    > > > To: Koha <koha at lists.katipo.co.nz>
    > > > Subject: [Koha] Background jobs in Koha menu "Administration"
    > > > Message-ID: <fc2c73ac-61f5-f075-fe4e-390ed9d4f6e9 at adminkuhn.ch>
    > > > Content-Type: text/plain; charset=UTF-8; format=flowed
    > > >
    > > > Hi
    > > >
    > > > We saw in Koha 22.05 there is a new Koha menu "Administration > Manage
    > > background jobs". Unfortunately there seems to be no entry in the Koha
    > manual
    > > 22.05 for it, also the context-sensitive help just leads to https://koha-
    > > community.org/manual//21.11/en/html/ (this is in an installation of Koha
    > > 22.05!).
    > > >
    > > > However the shown list has a column "progress" which can say "1/1" or
    > "0/0"
    > > for example. What does ist mean? Library personnel thinks "0/0"
    > > > suggests that something went wrong even if column "Status" says
    > "Finished".
    > > Unfortunately clicking the button "View" does not show more information like
    > > WHAT biblio or item exactly the entry is referring to.
    > > >
    > > > We saw that Bywater Solutions wrote an article about this new menu (
    > > https://bywatersolutions.com/education/koha-21-11-background-jobs-and-
    > task-
    > > queue-enhancements
    > > > ) but our question is not answered there. Can someone please enlighten us
    > > what "0/0" means?
    > > >
    > > > Best wishes: Michael
    > > > _______________________________________________
    > > >
    > > > Koha mailing list  http://koha-community.org
    > > > Koha at lists.katipo.co.nz
    > > > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
    > >
    > >
    > > _______________________________________________
    > >
    > > Koha mailing list  http://koha-community.org
    > > Koha at lists.katipo.co.nz
    > > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
    _______________________________________________

    Koha mailing list  http://koha-community.org
    Koha at lists.katipo.co.nz
    Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha



More information about the Koha mailing list