Bug 35077 - pinning perl Elasticsearch client version to "< 8.0"
Summary: pinning perl Elasticsearch client version to "< 8.0"
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: 23.05
Hardware: All Linux
: P5 - low major (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-17 12:42 UTC by davewood
Modified: 2023-10-17 12:42 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description davewood 2023-10-17 12:42:48 UTC
if you install Koha on debian 12 (bookworm) you will end up with version 8 of the module https://metacpan.org/pod/Search::Elasticsearch

at the moment of writing this bug report this module doesnt work with ES 7.0 (the latest ES version that I am aware works with Koha 23.05

changing the version requirement in https://github.com/Koha-Community/Koha/blob/master/cpanfile#L99) to

```
requires 'Search::Elasticsearch', '< 8.00';
```

currently installs Search-Elasticsearch-7.717 which seems to work for me.

current workaround for our system. run `cpanm Search::Elasticsearch~"< 8.00"`