root@mahesh-server:~# sudo koha-rebuild-zebra -v -f library
Can't locate Koha/Exceptions/DuplicateObject.pm: ./Koha/Exceptions/DuplicateObject.pm: Permission denied at /usr/share/perl/5.22/base.pm line 97.
...propagated at /usr/share/perl/5.22/base.pm line 106.
BEGIN failed--compilation aborted at (eval 26) line 3.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Exceptions.pm line 70.
Compilation failed in require at /usr/share/koha/lib/Koha/DateUtils.pm line 22.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/DateUtils.pm line 22.
Compilation failed in require at /usr/share/koha/lib/C4/Log.pm line 30.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Log.pm line 30.
Compilation failed in require at /usr/share/koha/lib/Koha/Config/SysPref.pm line 26.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Config/SysPref.pm line 26.
Compilation failed in require at /usr/share/koha/lib/C4/Context.pm line 104.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Context.pm line 104.
Compilation failed in require at /usr/share/koha/lib/Koha/Script.pm line 38.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Script.pm line 38.
Compilation failed in require at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 20.
BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 20.
Something went wrong rebuilding biblio indexes for library
Can't locate Koha/Exceptions/DuplicateObject.pm: ./Koha/Exceptions/DuplicateObject.pm: Permission denied at /usr/share/perl/5.22/base.pm line 97.
...propagated at /usr/share/perl/5.22/base.pm line 106.
BEGIN failed--compilation aborted at (eval 25) line 3.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Exceptions.pm line 70.
Compilation failed in require at /usr/share/koha/lib/Koha/DateUtils.pm line 22.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/DateUtils.pm line 22.
Compilation failed in require at /usr/share/koha/lib/C4/Log.pm line 30.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Log.pm line 30.
Compilation failed in require at /usr/share/koha/lib/Koha/Config/SysPref.pm line 26.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Config/SysPref.pm line 26.
Compilation failed in require at /usr/share/koha/lib/C4/Context.pm line 104.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Context.pm line 104.
Compilation failed in require at /usr/share/koha/lib/Koha/Script.pm line 38.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Script.pm line 38.
Compilation failed in require at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 20.
BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 20.
Something went wrong rebuilding authority indexes for library
Try this solution by running the command below:
cd /tmp && /usr/sbin/koha-rebuild-zebra -f -v library (where library is the koha instance).
Can You Solve this error
ReplyDeleteUpgrade to 23.06.00.013 [13:24:06]: Bug 28966 - Holds queue view too slow to load for large numbers of holds
ERROR: {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Cannot change column 'itemnumber': used in a foreign key constraint 'tmp_holdsqueue_ibfk_1' at /usr/share/koha/lib/C4/Installer.pm line 741