[Koha-devel] Elasticsearch issue in koha v22.05.06

David Schmidt mail at davidschmidt.at
Mon Oct 23 12:48:33 CEST 2023


which ES perl client is installed?

the newest version that still works with ES7 (which we are using) is 

https://metacpan.org/release/EZIMUEL/Search-Elasticsearch-7.717/view/lib/Search/Elasticsearch.pm

check currently installed version
`perl -MSearch::Elasticsearch\ 9999
Search::Elasticsearch version 9999 required--this is only version 7.717.`

if necessary, downgrade
`cpanm Search::Elasticsearch~"< 8.00"`

please let me know if that fixed your issue.

cheers
david
HKS3 (www.koha-support.eu)

On Mon, 23 Oct 2023, at 12:32 PM, Thomas Klausner via Koha-devel wrote:
> Hi!
> 
> On Wed, Oct 18, 2023 at 04:41:25PM +0530, Amar Londhe wrote:
> > 
> > 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.
> > ..
> > [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.
> 
> We had a similar issue (and haven't solved it yet). But in a totally 
> other non-Koha project the reason for the same problem (I assume) was 
> that the current Elasticsearch Perl client won't connect to an older 
> Elasticsearch Server (older = before the Licence switch).
> 
> see here https://opensearch.org/blog/community-clients/
> 
> But maybe there are other issues...
> 
> I hope to get some time this week to take a closer look.
> 
> Greetings,
> domm
> 
> 
> 
> -- 
> Thomas Klausner               domm                  https://domm.plix.at
> Just another ( Perl | Postgres | Bicycle | Food | Photo | Vinyl ) Hacker
> 
> Moneglia, Italy, via Puck, 2 day exposure
> [ 2023-10-14 10:00 > https://domm.plix.at/potd/2023-10-14.html ]
> 
> Long and good read: http://bit-player.org/2023/ai-and-the-end-of-programming
> [ 2023-09-14 12:01 > https://domm.plix.at/microblog.html ]
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20231023/68a11e81/attachment.htm>


More information about the Koha-devel mailing list