[Bug 22879] New: Cannot reindex elastic
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22879 Bug ID: 22879 Summary: Cannot reindex elastic Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: blocker Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: jonathan.druart@bugs.koha-community.org Target Milestone: --- kohadev-koha@kohadevbox:/home/vagrant/kohaclone$ perl -MCarp::Always misc/search_tools/rebuild_elastic_search.pl -d -a -b No record passed at /home/vagrant/kohaclone/Koha/MetadataRecord.pm line 82. Koha::MetadataRecord::new("Koha::BiblioUtils", HASH(0x55ee0f6a58f8)) called at /home/vagrant/kohaclone/Koha/BiblioUtils.pm line 62 Koha::BiblioUtils::new("Koha::BiblioUtils", undef, 647) called at /home/vagrant/kohaclone/Koha/BiblioUtils.pm line 128 eval {...} called at /home/vagrant/kohaclone/Koha/BiblioUtils.pm line 127 Koha::BiblioUtils::__ANON__() called at /home/vagrant/kohaclone/Koha/MetadataIterator.pm line 71 Koha::MetadataIterator::next(Koha::MetadataIterator=HASH(0x55ee0c8d4278)) called at misc/search_tools/rebuild_elastic_search.pl line 137 main::__ANON__() called at misc/search_tools/rebuild_elastic_search.pl line 182 main::do_reindex(CODE(0x55ee0c8cc380), "biblios") called at /home/vagrant/kohaclone/Koha/MetadataRecord.pm line 82. Koha::MetadataRecord::new("Koha::BiblioUtils", HASH(0x55ee0f6a58f8)) called at /home/vagrant/kohaclone/Koha/BiblioUtils.pm line 62 Koha::BiblioUtils::new("Koha::BiblioUtils", undef, 647) called at /home/vagrant/kohaclone/Koha/BiblioUtils.pm line 128 eval {...} called at /home/vagrant/kohaclone/Koha/BiblioUtils.pm line 127 Koha::BiblioUtils::__ANON__() called at /home/vagrant/kohaclone/Koha/MetadataIterator.pm line 71 Koha::MetadataIterator::next(Koha::MetadataIterator=HASH(0x55ee0c8d4278)) called at misc/search_tools/rebuild_elastic_search.pl line 137 main::__ANON__() called at misc/search_tools/rebuild_elastic_search.pl line 182 main::do_reindex(CODE(0x55ee0c8cc380), "biblios") called at misc/search_tools/rebuild_elastic_search.pl line 140 Something went wrong reading record for biblio Koha::Schema::Result::Biblio=HASH(0x55ee0f686228)->biblionumber: Can't bless non-reference value at /home/vagrant/kohaclone/Koha/BiblioUtils.pm line 70. Koha::BiblioUtils::new("Koha::BiblioUtils", undef, 647) called at /home/vagrant/kohaclone/Koha/BiblioUtils.pm line 128 eval {...} called at /home/vagrant/kohaclone/Koha/BiblioUtils.pm line 127 Koha::BiblioUtils::__ANON__() called at /home/vagrant/kohaclone/Koha/MetadataIterator.pm line 71 Koha::MetadataIterator::next(Koha::MetadataIterator=HASH(0x55ee0c8d4278)) called at misc/search_tools/rebuild_elastic_search.pl line 137 main::__ANON__() called at misc/search_tools/rebuild_elastic_search.pl line 182 main::do_reindex(CODE(0x55ee0c8cc380), "biblios") called at /home/vagrant/kohaclone/Koha/BiblioUtils.pm line 131. Koha::BiblioUtils::__ANON__() called at /home/vagrant/kohaclone/Koha/MetadataIterator.pm line 71 Koha::MetadataIterator::next(Koha::MetadataIterator=HASH(0x55ee0c8d4278)) called at misc/search_tools/rebuild_elastic_search.pl line 137 main::__ANON__() called at misc/search_tools/rebuild_elastic_search.pl line 182 main::do_reindex(CODE(0x55ee0c8cc380), "biblios") called at misc/search_tools/rebuild_elastic_search.pl line 140 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22879 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |major --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Lowering severity as I do not recreate on a fresh install. It seems that the biblio 647 was a leftover from a test, and did not contain the biblioitems or biblio_metadata -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22879 --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 89515 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89515&action=edit Bug 22879: Add a test-like -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22879 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Cannot reindex elastic |Cannot reindex elastic if | |missing metadata -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22879 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Still work in progress? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22879 --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Katrin Fischer from comment #3)
Still work in progress?
Nothing more from me. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22879 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Should this be closed then? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22879 --- Comment #6 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Katrin Fischer from comment #5)
Should this be closed then?
I added a test to highlight the problem, it is an issue that need to be fixed I think. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22879 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org