Wann immer ich versuchte mir den Status von laufenden Jobs anzusehen, gab es beim Aufruf von
Administration->Job im Mitarbeiterbereich des Koha einen
Fehler 500.
Ein Blick in die Logdateien offenbarte folgende Meldung
Can’t call method „GetPlugins“ on an undefined value at /usr/share/koha/intranet/cgi-bin/admin/background_jobs.pl line 82.
Can’t call method „GetPlugins“ on an undefined value at /usr/share/koha/intranet/cgi-bin/admin/background_jobs.pl line 82.
Can’t call method „GetPlugins“ on an undefined value at /usr/share/koha/intranet/cgi-bin/admin/background_jobs.pl line 82.
Can’t call method „GetPlugins“ on an undefined value at /usr/share/koha/intranet/cgi-bin/admin/background_jobs.pl line 82.
Can’t call method „GetPlugins“ on an undefined value at /usr/share/koha/intranet/cgi-bin/admin/background_jobs.pl line 82.
Can’t call method „GetPlugins“ on an undefined value at /usr/share/koha/intranet/cgi-bin/admin/background_jobs.pl line 82.
Can’t call method „GetPlugins“ on an undefined value at /usr/share/koha/intranet/cgi-bin/admin/background_jobs.pl line 82.
Also aktivierte ich in der Datei /etc/koha/sites/library/koha-conf.xml die Plugins, indem folgende Zeile
<enable_plugins>0</enable_plugins>
entsprechend abänderte in
<enable_plugins>1</enable_plugins>
. Danach startete ich koha neu, und die Seite war wieder verfügbar.
Alternativ kann man sich den Jobstatus auch über die entsprechende mysql-Tabelle anzeigen lassen.
root@koha-bloy:~# mysql -u
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 152
Server version: 10.11.11-MariaDB-0+deb12u1 Debian 12
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| koha_library |
| mysql |
| performance_schema |
| sys |
| testkoha |
+--------------------+
6 rows in set (0,024 sec)
MariaDB [(none)]> use koha_library
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [koha_library]> SELECT id, type, status, progress FROM background_jobs ORDER BY id DESC;
+----+--------------------------------+----------+----------+
| id | type | status | progress |
+----+--------------------------------+----------+----------+
| 14 | batch_item_record_modification | finished | 9 |
| 13 | batch_item_record_modification | finished | 9 |
| 12 | batch_item_record_modification | finished | 97 |
| 11 | batch_item_record_modification | finished | 55 |
| 10 | batch_item_record_modification | finished | 55 |
| 9 | batch_item_record_modification | finished | 100 |
| 8 | batch_item_record_modification | finished | 98 |
| 7 | batch_item_record_modification | finished | 50 |
| 6 | batch_item_record_modification | finished | 49 |
| 5 | batch_item_record_modification | finished | 59 |
| 4 | batch_item_record_modification | finished | 41 |
| 3 | batch_item_record_modification | finished | 27 |
| 2 | batch_item_record_modification | finished | 2 |
| 1 | batch_item_record_modification | finished | 2 |
+----+--------------------------------+----------+----------+
14 rows in set (0,000 sec)