[Bug 28215] New: software error when updating a record - /cgi-bin/koha/cataloguing/addbiblio.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28215 Bug ID: 28215 Summary: software error when updating a record - /cgi-bin/koha/cataloguing/addbiblio.pl Change sponsored?: --- Product: Koha Version: 20.11 Hardware: All OS: Linux Status: NEW Severity: critical Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: cfhong2000@gmail.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl http://hostname:xxx/cgi-bin/koha/cataloguing/addbiblio.pl Request Method: POST Status Code: 500 Internal Server Error Software error: Unable to perform your search. Please try again. For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error. -- 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=28215 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi, there is already some good information in your report, but it would be great if you could get the full error message out of the server logs, especially the Plack error logs. That would give more information to see what's going wrong there. -- 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=28215 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com Severity|critical |normal --- Comment #2 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Lowering severity until it's confirmed. -- 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=28215 --- Comment #3 from cfhong2000@gmail.com --- Here is the log from intranet-error.log addbiblio.pl: Use of uninitialized value $biblionumber in concatenation (.) or string at /usr/share/koha/intranet/cgi-bin/cataloguing/addbiblio.pl line 857.: /usr/share/koha/intranet/cgi-bin/cataloguing/addbiblio.pl, referer: http://xxx/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA -- 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=28215 --- Comment #4 from cfhong2000@gmail.com --- Here is the log from intranet-error.log addbiblio.pl: Use of uninitialized value $biblionumber in concatenation (.) or string at /usr/share/koha/intranet/cgi-bin/cataloguing/addbiblio.pl line 857.: /usr/share/koha/intranet/cgi-bin/cataloguing/addbiblio.pl, referer: http://xxx/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA -- 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=28215 --- Comment #5 from cfhong2000@gmail.com --- Sat Jun 19 16:34:26.054527 2021] [cgi:error] [pid 9169] [client 1xxx.xxx.xxx:54867] AH01215: [Sat Jun 19 16:34:26 2021] addbiblio.pl: [Request] ** [http://localhost:9200]-[400] [illegal_argument_exception] Fielddata is disabled on text fields by default. Set fielddata=true on [local-number__sort] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead., called from sub Search::Elasticsearch::Role::Client::Direct::__ANON__ at /usr/share/koha/lib/Koha/SearchEngine/Elasticsearch/Search.pm line 96. With vars: {'status_code' => 400,'body' => {'status' => 400,'error' => {'failed_shards' => [{'shard' => 0,'index' => 'koha_acccnlib_authorities','node' => 'XixKhqGwRtinFdkt7uwTWw','reason' => {'reason' => 'Fielddata is disabled on text fields by default. Set fielddata=true on [local-number__sort] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.','type' => 'illegal_argument_exception'}}],'reason' => 'all shards failed','type' => 'search_phase_execution_exception','phase' => 'query','root_cause' => [{'type' => 'illegal_argument_exception','reason' => 'Fielddata is disabled on text fields by default. Set fielddata=true on [local-number__sort] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.'}],'caused_by' => {'type' => 'illegal_argument_exception','reason' => 'Fielddata is disabled on text fields by default. Set fielddata=true on [local-number__sort] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.','caused_by' => {'type' => 'illegal_argument_exception','reason' => 'Fielddata is disabled on text fields by default. Set fielddata=true on [local-number__sort] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.'}},'grouped' => bless( do{\\(my $o = 1)}, 'JSON::PP::Boolean' )}},'request' => {'body' => {'size' => 20,'sort' => [{'local-number__sort' => 'asc'}],'from' => 0,'query' => {'bool' => {'filter' => {'term' => {'authtype.raw' => 'PERSO_NAME'}},'must' => [{'term' => {'match-heading.ci_raw' => "\\x{9ec3}\\x{5049}\\x{5eb7}"}}]}}},'mime_type' => 'application/json','path' => '/koha_acccnlib_authorities/_search','serialize' => 'std','qs' => {},'ignore' => [],'method' => 'GET'}}: /usr/share/koha/intranet/cgi-bin/cataloguing/addbiblio.pl, referer: http://xxx:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=4935&searchid=scs_1624134776827 [Sat Jun 19 16:34:26.054698 2021] [cgi:error] [pid 9169] [client xx.xxx.xx:54867] AH01215: [Sat Jun 19 16:34:26 2021] addbiblio.pl: Unable to perform your search. Please try again.: /usr/share/koha/intranet/cgi-bin/cataloguing/addbiblio.pl, referer: http://xxx:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=4935&searchid=scs_1624134776827 -- 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=28215 --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- It looks like Elasticsearch might be involved here? At the moment I am not able to test with Elasticseach, maybe someone else could give this a go? -- 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=28215 --- Comment #7 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Which exact version of Koha are you using? And which version of Elastic? -- 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=28215 --- Comment #8 from cfhong2000@gmail.com --- I am running Koha version 20.11.03 and Elasticsearch version 6.8.9. -- 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=28215 --- Comment #9 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Did you fully reindex the records? % koha-elasticsearch --rebuild --delete --biblios --authorities $KOHA_INSTANCE -- 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=28215 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #10 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I believe this was probably linked to a setup/installation error. -- 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