[Koha-devel] Elasticsearch issue in koha v22.05.06
Amar Londhe
amar at ourlib.in
Wed Oct 18 13:11:25 CEST 2023
Hello,
We've recently installed Koha (version 22.05.06) and are attempting to
enable Elasticsearch for our system. However, we've encountered some
difficulties during the configuration process.
The problem arises when we attempt to rebuild or perform searches in the
OPAC (Online Public Access Catalog).
The error message we encounter is as follows:
$ export KOHA_CONF=/etc/pnvmkoha/koha-conf.xml
$ export PERL5LIB=/usr/share/pnvmkoha/lib
$ /usr/share/pnvmkoha/bin/search_tools/rebuild_elasticsearch.pl -v -d
[NoNodes] ** No nodes are available: [localhost:9200], called from sub
Search::Elasticsearch::Role::Client::Direct::ANON at
/usr/share/koha_inst/lib/Koha/SearchEngine/Elasticsearch/Indexer.pm line
421.
Here are some key details:
*Elastic search : *
root at server1:~# curl localhost:9200
{
"name" : "YKwcLd8",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "kKKWjSXJTPeRCCMYDVNdTw",
"version" : {
"number" : "6.8.23",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "4f67856",
"build_date" : "2022-01-06T21:30:50.087716Z",
"build_snapshot" : false,
"lucene_version" : "7.7.3",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
*Java version : *
root at server1:~# java --version
openjdk 11.0.20.1 2023-08-24
OpenJDK Runtime Environment (build 11.0.20.1+1-post-Ubuntu-0ubuntu122.04)
OpenJDK 64-Bit Server VM (build 11.0.20.1+1-post-Ubuntu-0ubuntu122.04,
mixed mode, sharing)
*koha-conf.xml : *
<elasticsearch>
<server>localhost:9200</server>
<index_name>KOHA__INST</index_name>
<!-- See https://metacpan.org/pod/Search::Elasticsearch#cxn_pool -->
<cxn_pool>Static</cxn_pool>
<!-- See https://metacpan.org/pod/Search::Elasticsearch#trace_to -->
<!-- <trace_to>Stderr</trace_to> -->
</elasticsearch>
<elasticsearch_index_mappings>/etc/koha_inst/searchengine/elasticsearch/mappings.yaml</elasticsearch_index_mappings>
*Server Details : *
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
Note : We have tried to enabled ES on koha v20.11.06 and its working
fine without any error.
Please let me know if you need any additional information or if you have
any suggestions to resolve this Elasticsearch configuration problem.
--
Thanks and Regards,
Amar Londhe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20231018/4b41633e/attachment.htm>
More information about the Koha-devel
mailing list