Hello all,

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:

Can't use string (\"Bareword \"URI::HAS_RESERVED_SQUA\"...) as a HASH ref while \"strict refs\" in use at MYGIT/Koha/SearchEngine/Elasticsearch/Indexer.pm line 147.\n

I haven't seen anything in Bugzilla, so I figured I'd first explain my findings.

Module URI, starting with 5.11, requires some setup to behave "like before" : https://metacpan.org/release/OALDERS/URI-5.17/view/lib/URI.pm#URI_HAS_RESERVED_SQUARE_BRACKETS

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.

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.

I forced-version my way out of it.  But I figured it might be something to be careful about for the next packages.

happy weekend!

--
Philippe Blouin,
Directeur de la technologie

Tél.  : (833) 465-4276, poste 230
philippe.blo...@inlibro.com

inLibro | pour esprit libre | www.inLibro.com <http://www.inLibro.com>
_______________________________________________
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