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!
Tél. : (833) 465-4276, poste 230
philippe.blouin@inLibro.com