yes, something like that :)

the best way forward could be for us to package our own version of 
Search::Elasticsearch v7 (either 7.30 or 7.715), with the following 2 modules 
included...

https://metacpan.org/release/EZIMUEL/Search-Elasticsearch-Client-6_0-7.30
https://metacpan.org/release/EZIMUEL/Search-Elasticsearch-Client-6_0-Async-7.30

this method is described as working below, and should allow koha to works with 
both ES6 and ES7 servers...

  Compatibility needs hacking to work (Client 7.3 ==> Server 6.8) #198
  https://github.com/elastic/elasticsearch-perl/issues/198



we will also need to explicitly set "client => '6_0::Direct'" when using ES6 
(as the code defaults to 7_0::Direct)

probably by adding the following to koha-conf.xml...

    <elasticsearch>
         <client>6_0::Direct</client>
    </elasticsearch>


On 28/06/22 8:34 am, Tomas Cohen Arazi wrote:
9.99~really6.81?

El lun, 27 jun 2022 a las 15:41, Mason James (<m...@kohaaloha.com>) escribió:

    hiya
    i've pushed a pkg to the dev and 22.05 suites, on koha-staging - for testing

    we do seem to have a potential problem for deb11(>=) and ES6 - as deb11 has 
libsearch-elasticsearch-perl-7.30-1, which seems to not be backwards compatible 
with previous ES versions

    our jenkins deb11/es6 build is passing... but we might just be lucky - or 
our tests are not covering the broken stuff? :)


    root@deb10:~# apt policy libsearch-elasticsearch-perl
    libsearch-elasticsearch-perl:
       Installed: 6.81-1-koha1
       Candidate: 6.81-1-koha1
       Version table:
      *** 6.81-1-koha1 500
             500 http://debian.koha-community.org/koha-staging unstable/main 
amd64 Packages
             100 /var/lib/dpkg/status
          6.00-1 500
             500 http://ftp.nz.debian.org/debian buster/main amd64 Packages


    On 27/06/22 6:31 pm, Marcel de Rooy wrote:
    > Don’t  have it at hand anymore.
    > But it is a required module version thing.
    > 600 versus 680
    > Does it need packaging for D 10 ?
    >
    > -----Original Message-----
    > From: Mason James <m...@kohaaloha.com>
    > Sent: Monday, June 27, 2022 3:44 AM
    > To: Marcel de Rooy <m.de.r...@rijksmuseum.nl>; Koha-devel 
<koha-devel@lists.koha-community.org>
    > Subject: Re: [Koha-devel] Elasticsearch: Minor fix ?
    >
    > hi Marcel
    > can you paste the installation error
    >
    > i tried to replicate, but koha installed ok for me
    >
    > On 24/06/22 7:53 pm, Marcel de Rooy wrote:
    >   > Hi all,
    >   > Suddenly my D10 dev box does not install anymore.
    >   > Reason: We now require Search::Elasticsearch to be 6.80. And under 
D10 I have 6.00.
    >   >
    >   > This is called a minor fix on bug 25669.
    >   > Which is currently not my perspective.
    >   > Not talking about further implications yet..
    >   >
    >   > Can we fix this fix ?
    >   >
    >   > Marcel
    >   >
    >   >
    >   >
    >   > _______________________________________________
    >   > Koha-devel mailing list
    >   > Koha-devel@lists.koha-community.org
    >   > 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.koha-community.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fkoha-devel&amp;data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7Cf77b14a5090542349f2208da57de7bfb%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637918910328313480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=0XbByDOvk053bjsL1LwFkko6eEG9o31CFkiWCG3lNPA%3D&amp;reserved=0
 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.koha-community.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fkoha-devel&amp;data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7Cf77b14a5090542349f2208da57de7bfb%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637918910328313480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=0XbByDOvk053bjsL1LwFkko6eEG9o31CFkiWCG3lNPA%3D&amp;reserved=0>
    >   > website : 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.koha-community.org%2F&amp;data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7Cf77b14a5090542349f2208da57de7bfb%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637918910328313480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=2WXb6%2BHycMlb0hCt0G%2Fc%2FSkCcTWHDIz7w97PJaFHOCo%3D&amp;reserved=0
 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.koha-community.org%2F&amp;data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7Cf77b14a5090542349f2208da57de7bfb%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637918910328313480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=2WXb6%2BHycMlb0hCt0G%2Fc%2FSkCcTWHDIz7w97PJaFHOCo%3D&amp;reserved=0>
    >   > git : 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.koha-community.org%2F&amp;data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7Cf77b14a5090542349f2208da57de7bfb%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637918910328313480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=x76o3%2FoHBCHsx0hAIQHYK5AE545MAEX1vU96UFeYShg%3D&amp;reserved=0
 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.koha-community.org%2F&amp;data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7Cf77b14a5090542349f2208da57de7bfb%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637918910328313480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=x76o3%2FoHBCHsx0hAIQHYK5AE545MAEX1vU96UFeYShg%3D&amp;reserved=0>
    >   > bugs : 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.koha-community.org%2F&amp;data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7Cf77b14a5090542349f2208da57de7bfb%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637918910328313480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=P8GzQjdwvoLZsEbe70FlcnOnPbTGZZ5%2FM7A43lOXvYk%3D&amp;reserved=0
 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.koha-community.org%2F&amp;data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7Cf77b14a5090542349f2208da57de7bfb%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637918910328313480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=P8GzQjdwvoLZsEbe70FlcnOnPbTGZZ5%2FM7A43lOXvYk%3D&amp;reserved=0>
    >
    >

    _______________________________________________
    Koha-devel mailing list
    Koha-devel@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/



--
Tomás Cohen Arazi
Theke Solutions (http://theke.io)
✆ +54 9351 3513384
GPG: B2F3C15F

_______________________________________________
Koha-devel mailing list
Koha-devel@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/

Reply via email to