[Koha] Background jobs in Koha menu "Administration"

DHIM IT itmanager at dhi-moskau.org
Fri Jul 8 07:09:17 NZST 2022


Hello Anke,

my solution for the problem is to enable plugins in Koha-conf.xml file:


 <enable_plugins>1</enable_plugins>



Mit besten Grüßen,
Eugen Bastron
________________________________
Von: Koha <koha-bounces at lists.katipo.co.nz> im Auftrag von Bruns, Anke <Anke.Bruns at gwdg.de>
Gesendet: Thursday, July 7, 2022 1:55:58 PM
An: koha at lists.katipo.co.nz <koha at lists.katipo.co.nz>
Betreff: Re: [Koha] Background jobs in Koha menu "Administration"

... 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<http://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