Elasticsearch in Debian 12
Hi all, I have a Debian 12, with 16 GB of RAM and koha installed by packages, I have tried to configure it with Elasticsearch but it always sends the error of problems when indexing, it does not advance. In Debian 10 and Debian 11 it indexes without problems, has anyone configured Elasticsearch with Debian 12? -- Saludos... Carlos Ricardo Vargas Medina Director de Proyectos BibliOrión ricvargasmed@bibliorion.com 5543384601 https://bibliorion.com <https://www.hubspot.es/email-signature-generator>
Hi! On Fri, Oct 20, 2023 at 11:08:04AM -0600, Ricardo Vargas wrote:
Hi all, I have a Debian 12, with 16 GB of RAM and koha installed by packages, I have tried to configure it with Elasticsearch but it always sends the error of problems when indexing, it does not advance. In Debian 10 and Debian 11 it indexes without problems, has anyone configured Elasticsearch with Debian 12?
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 ]
hi Ricardo On 21/10/23 6:08 am, Ricardo Vargas wrote:
Hi all, I have a Debian 12, with 16 GB of RAM and koha installed by packages, I have tried to configure it with Elasticsearch but it always sends the error of problems when indexing, it does not advance.
what's the specific error?
In Debian 10 and Debian 11 it indexes without problems, has anyone configured Elasticsearch with Debian 12?
what Koha and ES versions are you successfully using in debian 11? what Koha and ES versions are you unsuccessfully using in debian 12? cheers, Mason
HI! The error is as follows [208505] Checking state of biblios index [NoNodes] ** No nodes are available: [http://127.0.0.1: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 serna In Debian 11 I have tested with elasticsearch 6 and 7, with Koha versions 22.05 and 22.11 without problems, those same versions and combinations do not work with Debian 12. Koha 22.05 with ES 6 and 7 Koha 22.11 with ES 6 and 7 El lun, 23 de oct de 2023, 6:26 p. m., Mason James <mtj@kohaaloha.com> escribió:
hi Ricardo
On 21/10/23 6:08 am, Ricardo Vargas wrote:
Hi all, I have a Debian 12, with 16 GB of RAM and koha installed by packages, I have tried to configure it with Elasticsearch but it always sends the error of problems when indexing, it does not advance.
what's the specific error?
In Debian 10 and Debian 11 it indexes without problems, has anyone configured Elasticsearch with Debian 12?
what Koha and ES versions are you successfully using in debian 11?
what Koha and ES versions are you unsuccessfully using in debian 12?
cheers, Mason
What error do you get during the complete rebuild of the index? (using -r -v) Philippe Blouin, Directeur de la technologie Tél. : (833) 465-4276, poste 230 philippe.blouin@inLibro.com inLibro | pour esprit libre | www.inLibro.com <http://www.inLibro.com> On 2023-10-24 02:13, Ricardo Vargas wrote:
HI!
The error is as follows
[208505] Checking state of biblios index [NoNodes] ** No nodes are available: [http://127.0.0.1:9200], called from subSearch::Elasticsearch::Role::Client::Direct::__ANON__ at /usr/share/koha/lib/Koha/SearchEngine/Elasticsearch/Indexer.pm line 430.Something went wrong rebuilding indexes for serna
In Debian 11 I have tested with elasticsearch 6 and 7, with Koha versions 22.05 and 22.11 without problems, those same versions and combinations do not work with Debian 12.
Koha 22.05 with ES 6 and 7 Koha 22.11 with ES 6 and 7
El lun, 23 de oct de 2023, 6:26 p. m., Mason James<mtj@kohaaloha.com> escribió:
hi Ricardo
On 21/10/23 6:08 am, Ricardo Vargas wrote:
Hi all, I have a Debian 12, with 16 GB of RAM and koha installed by packages, I have tried to configure it with Elasticsearch but it always sends the error of problems when indexing, it does not advance. what's the specific error?
In Debian 10 and Debian 11 it indexes without problems, has anyone configured Elasticsearch with Debian 12? what Koha and ES versions are you successfully using in debian 11?
what Koha and ES versions are you unsuccessfully using in debian 12?
cheers, Mason
_______________________________________________
Koha mailing listhttp://koha-community.org Koha@lists.katipo.co.nz Unsubscribe:https://lists.katipo.co.nz/mailman/listinfo/koha
HI: 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 El mar, 24 oct 2023 a las 7:29, Philippe Blouin (< philippe.blouin@inlibro.com>) escribió:
What error do you get during the complete rebuild of the index? (using -r -v) Philippe Blouin, Directeur de la technologie
Tél. : (833) 465-4276, poste 230 philippe.blouin@inLibro.com inLibro | pour esprit libre | www.inLibro.com On 2023-10-24 02:13, Ricardo Vargas wrote:
HI!
The error is as follows
[208505] Checking state of biblios index [NoNodes] ** No nodes are available: [http://127.0.0.1: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 serna
In Debian 11 I have tested with elasticsearch 6 and 7, with Koha versions 22.05 and 22.11 without problems, those same versions and combinations do not work with Debian 12.
Koha 22.05 with ES 6 and 7 Koha 22.11 with ES 6 and 7
El lun, 23 de oct de 2023, 6:26 p. m., Mason James <mtj@kohaaloha.com> <mtj@kohaaloha.com> escribió:
hi Ricardo
On 21/10/23 6:08 am, Ricardo Vargas wrote:
Hi all, I have a Debian 12, with 16 GB of RAM and koha installed by packages, I have tried to configure it with Elasticsearch but it always sends the error of problems when indexing, it does not advance.
what's the specific error?
In Debian 10 and Debian 11 it indexes without problems, has anyone configured Elasticsearch with Debian 12?
what Koha and ES versions are you successfully using in debian 11?
what Koha and ES versions are you unsuccessfully using in debian 12?
cheers, Mason
_______________________________________________
Koha mailing list http://koha-community.orgKoha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
-- Saludos... Carlos Ricardo Vargas Medina Director de Proyectos BibliOrión ricvargasmed@bibliorion.com 5543384601 https://bibliorion.com <https://www.hubspot.es/email-signature-generator>
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/Sea... 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 ]
This will not be helpful, but it might be comforting and it might make you chuckle. I'm running my Koha instances on Ubuntu, and I haven't been able to install any Elasticsearch past 6.x, or on anything beyond Koha 22.11. I've gotten the "no nodes" error many times, also error messages about shards. Two instances have a status of green, one is still yellow. It works, which is the important thing. My experience is that sometimes Elasticsearch installs successfully, sometimes it doesn't. When I tried to install Elasticsearch during a live demo at last month's koha-US conference (https://www.youtube.com/watch?v=sks5Jfb9drQ), it didn't go well at all, despite the fact that I had done a dress rehearsal the week before using THE EXACT SAME IMAGE AND COMMANDS. I didn't make a complete idiot of myself--my pants didn't fall down--but it wasn't one of my better presentations. When I got home I tried it again and it worked perfectly. I actually have a video of it in the works--I just need to add the narration. I should add that I'm unsupported, and although I have made and broken more instances of Koha than most of you, I'm definitely not an expert in fitting all the parts together. YMMV. --Fred Fred King, MSLS, AHIP Medical Librarian, MedStar Washington Hospital Center fred.king@medstar.net 202-877-6670 ORCID 0000-0001-5266-0279 MedStar Authors Catalog: http://medstarauthors.org If a black cat crosses your path, it signifies that the animal is going somewhere. -- Groucho Marx -----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Thomas Klausner Sent: Thursday, October 26, 2023 1:34 PM To: koha@lists.katipo.co.nz Subject: [EXTERNAL] Re: [Koha] Elasticsearch in Debian 12 **ATTENTION: This email originated from outside the MedStar Health network. ** DO NOT CLICK links or attachments unless you recognize the sender and know the content is safe. 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: [https://urldefense.com/v3/__http://localhost:9200__;!!D7IIWT94AA!9VAT hxI0e4HJyPMlE28y3ZwAYLjcmmOIMERMl7pt_hkfF3yZRjoHUxygqMJidWpG2ToGCISVjI TyKhY$ ], 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: [https://urldefense.com/v3/__http://localhost:9200__;!!D7IIWT94AA!9VAT hxI0e4HJyPMlE28y3ZwAYLjcmmOIMERMl7pt_hkfF3yZRjoHUxygqMJidWpG2ToGCISVjI TyKhY$ ], 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://urldefense.com/v3/__https://metacpan.org/release/EZIMUEL/Search-Elas... 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://urldefense.com/v3/__https://domm.plix.at__;!!D7IIWT94AA!9VAThxI0e4HJ... Just another ( Perl | Postgres | Bicycle | Food | Photo | Vinyl ) Hacker Moneglia, Italy, via Puck, 2 day exposure [ 2023-10-14 10:00 > https://urldefense.com/v3/__https://domm.plix.at/potd/2023-10-14.html__;!!D7... ] Son #1 release a new very random, very fun game: Mosa Lina https://urldefense.com/v3/__https://store.steampowered.com/app/2477090/Mosa_... [ 2023-10-24 19:57 > https://urldefense.com/v3/__https://domm.plix.at/microblog.html__;!!D7IIWT94... ] _______________________________________________ Koha mailing list https://urldefense.com/v3/__http://koha-community.org__;!!D7IIWT94AA!9VAThxI... Koha@lists.katipo.co.nz Unsubscribe: https://urldefense.com/v3/__https://lists.katipo.co.nz/mailman/listinfo/koha...
participants (5)
-
King, Fred -
Mason James -
Philippe Blouin -
Ricardo Vargas -
Thomas Klausner