<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello all,</p>
    <p>Promoting some installation from Debian 10.10 to 11.6, and Koha
      21.05 to 22.05, I encountered a new issue with ES indexing:</p>
    <p><font face="monospace">Can't use string (\"Bareword
        \<a class="moz-txt-link-rfc2396E" href="URI::HAS_RESERVED_SQUA\">"URI::HAS_RESERVED_SQUA\"</a>...) as a HASH ref while \"strict
        refs\" in use at
        MYGIT/Koha/SearchEngine/Elasticsearch/Indexer.pm line 147.\n</font></p>
    <p>I haven't seen anything in Bugzilla, so I figured I'd first
      explain my findings.</p>
    <p>Module URI, starting with 5.11, requires some setup to behave
      "like before" :
<a class="moz-txt-link-freetext" href="https://metacpan.org/release/OALDERS/URI-5.17/view/lib/URI.pm#URI_HAS_RESERVED_SQUARE_BRACKETS">https://metacpan.org/release/OALDERS/URI-5.17/view/lib/URI.pm#URI_HAS_RESERVED_SQUARE_BRACKETS</a></p>
    <p>Firstly: I have NO idea how I got version 5.17 installed.  All my
      other debian installs of the past two months have 5.08 installed,
      and my Ubuntu's are at 5.10.</p>
    <p>But with the latest, there's no way to index with ES.  The
      background_jobs entries for update_elastic_index all have the
      above error.</p>
    <p>I forced-version my way out of it.  But I figured it might be
      something to be careful about for the next packages.<br>
    </p>
    <p>happy weekend!<br>
    </p>
    <div class="moz-signature">-- <br>
      <style type="text/css">
.moz-signature {
 color: #FFFFFF;
}
.sig_inlibro {
 padding-top : 2px;
 color: #888888;
 font-family : "Trebuchet MS", verdana;
 font-size: 90%;
}
.sig_content {
 border-top: 2px solid #DDDDDD;
 border-bottom: 2px solid #BFD13D;
 background-color : #F6F6F6;
 padding-left:10px;
}
.sig_inlibro a:visited, .sig_inlibro a:hover, .sig_inlibro a:link {
 text-decoration: none;
 color: #005B85;
}
.nom {
 color: #005B85;
 font-weight : bold;
}
.inlibro, .in {
 color: #BFD13D;
}
.libro {
 color: #005B85;
}
.in, .libro {
 font-size : 120%;
}
.desc {
    margin-bottom: 0;
    padding-bottom: 5px;
}
.small {
 font-size: 80%;
}
.tagline {
 color : #00BCE4;
}
.sig_footer {
 padding-left : 10px;
 background-color : #EEEFEA;
}
</style>
      <div class="sig_inlibro">
        <div class="sig_content"> <span class="nom">Philippe Blouin,</span><br>
          <span class="tagline small">Directeur de la technologie</span><br>
          <p class="desc small"> Tél.  : (833) 465-4276, poste 230<br>
            <!--
   Tél.  : (888) 604-2627<br/>
--> <a href="mailto:philippe.blouin@inLibro.com"
              class="moz-txt-link-freetext">philippe.blouin@inLibro.com</a>
          </p>
        </div>
        <div class="sig_footer"> <span class="in">in</span><span
            class="libro">Libro</span> <span class="tagline small">|
            pour esprit libre |</span> <a class="small"
            href="http://www.inLibro.com">www.inLibro.com</a> </div>
      </div>
    </div>
  </body>
</html>