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

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


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"`
Comment 1 David Cook 2024-08-28 02:08:59 UTC
On koha-testing-docker using main version 24.0600026, I'm using libsearch-elasticsearch-perl 8.00-1, and it's working with Elasticsearch 7.17.20

So... I think this might be invalid at this time.