[Koha] Elasticsearch in Debian 12

Thomas Klausner domm at plix.at
Fri Oct 27 06:34:06 NZDT 2023


Hi!

On Wed, Oct 25, 2023 at 07:59:36PM -0500, Ricardo Vargas wrote:
 
> The error with the two forms of indexing is as follows:
> 
> *koha-elasticsearch --rebuild -d -v lsbajio*
> [4119169] Checking state of biblios index
> [4119169] Dropping and recreating biblios index
> [NoNodes] ** No nodes are available: [http://localhost:9200], called from
> sub Search::Elasticsearch::Role::Client::Direct::__ANON__ at
> /usr/share/koha/lib/Koha/SearchEngine/Elasticsearch/Indexer.pm line
> 430.Something went wrong rebuilding indexes for lsbajio
> 
> 
> 
> *koha-elasticsearch --rebuild -r -v lsbajio*[4119198] Checking state of
> biblios index
> [4119198] Dropping and recreating biblios index
> [NoNodes] ** No nodes are available: [http://localhost:9200], called from
> sub Search::Elasticsearch::Role::Client::Direct::__ANON__ at
> /usr/share/koha/lib/Koha/SearchEngine/Elasticsearch/Indexer.pm line
> 430.Something went wrong rebuilding indexes for lsbajio

This looks exactly like the problem caused by ES clients not wanting to 
talk to some versions of ES server. David posted this to the koha-devel 
list in another thread about the same problem:


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"`


For us, downgrading "solved" the ES problems with newer Debians.



-- 
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 ]

Son #1 release a new very random, very fun game: Mosa Lina
https://store.steampowered.com/app/2477090/Mosa_Lina/
[ 2023-10-24 19:57 > https://domm.plix.at/microblog.html ]


More information about the Koha mailing list