[Koha] opac-browse.pl not working with ElasticSearch
Sami M. Rasheed
sami_rasheed at yahoo.com
Wed Mar 5 20:04:09 NZDT 2025
Hi Fridolin SOMERS,
We have:
Server information| Koha version: | 24.11.02.000 |
| OS version ('uname -a'): | Linux juc 6.8.0-54-generic #56-Ubuntu SMP PREEMPT_DYNAMIC Sat Feb 8 00:37:57 UTC 2025 x86_64 |
| Perl interpreter: | /usr/bin/perl |
| Perl version: | 5.038002 |
| MySQL version:
| 8.0.41-0ubuntu0.24.04.1
|
|
|
|
| Apache version: | Server version: Apache/2.4.58 (Ubuntu) |
| PSGI: | Plack (deployment) |
| Elasticsearch: | Version: 8.17.2 | Nodes: | Status: running | |
| Memcached: | Servers: 127.0.0.1:11211 | Namespace: koha_***| Status: running. | Config read from: koha-conf.xml |
| Message broker:
| Using RabbitMQ
|
| |
|
Thanks
On Wednesday, March 5, 2025 at 02:00:47 AM GMT+3, koha-request at lists.katipo.co.nz <koha-request at lists.katipo.co.nz> wrote:
Send Koha mailing list submissions to
koha at lists.katipo.co.nz
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.katipo.co.nz/mailman/listinfo/koha
or, via email, send a message with subject or body 'help' to
koha-request at lists.katipo.co.nz
You can reach the person managing the list at
koha-owner at lists.katipo.co.nz
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha digest..."
Today's Topics:
1. Error 404 on accessing files uploaded with the Upload tool
(Leon Vivier)
2. Re: opac-browse.pl not working with ElasticSearch
(Fridolin SOMERS)
----------------------------------------------------------------------
Message: 1
Date: Tue, 4 Mar 2025 09:13:13 +0200
From: Leon Vivier <leon at uks.co.za>
To: koha at lists.katipo.co.nz
Subject: [Koha] Error 404 on accessing files uploaded with the Upload
tool
Message-ID: <16a0298e1a8b311507cb1c69085bc320 at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Good day everyone
We have a problem with files uploaded using the Upload tool.
We have a development/test (dev) server and a live server for our Koha.
On the dev server we can upload a file with the Upload tool. We can then
access it 1) under Uploads through the "Copy link to this file" option
under the Public column, 2) when you right-click on this link and select
open in new tab it also works, 3) when you link it to a bibliographic
record.
We then copied this config to the live server. On the live server we are
however unable to access files after uploading them with the Upload tool.
Interesting thing to note: When you select the "Copy link to this file"
on the Uploads screen it shows the correct link. Eg.
"https://[ourlibrary]/cgi-bin/koha/opac-retrieve-file.pl?id=8924dff0eaae8c
edf59a8ddabcec7f06". But when you click copy it only copies the back-end:
"/cgi-bin/koha/opac-retrieve-file.pl?id=8924dff0eaae8cedf59a8ddabcec7f06".
When you paste this link into the browser it naturally does not work.
When you add the appropriate front section, eg. "https://[ourlibrary]", it
however still does not work. So the link copies in a broken format but it
does not work even when you fix.
I have checked the dev and live server:
Both copy the files to the same location on the server. So the files are
in the correct place.
Both have the correct upload folder in the Koha config.
Any assistance would be appreciated.
Kind regards
Leon Vivier
------------------------------
Message: 2
Date: Tue, 4 Mar 2025 10:01:05 +0100
From: Fridolin SOMERS <fridolin.somers at biblibre.com>
To: koha at lists.katipo.co.nz
Subject: Re: [Koha] opac-browse.pl not working with ElasticSearch
Message-ID: <d8ac9fe9-9364-4201-9831-034e37c73dd2 at biblibre.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Hi,
What version of Elasticsearch do you have please ?
Le 03/03/2025 à 22:39, Sami M. Rasheed a écrit :
> Hi to all,After upgrading to Koha 24.11.02, we installed Elasticsearch and made all configurations, then rebuilt the Elasticsearch index. Then we switch the SearchEngine to ElasticSearch and enable the syspref OpacBrowseSearch.In OPAC, we select "Browse search" and make a search using Exact, Fuzzy, or Really fuzzy. The problem comes when clicking on any of the results the opac-browse.pl is not working.
> We use:Koha 24.11.02Ubuntu 24.04
> Thanks
> _______________________________________________
>
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
--
Fridolin SOMERS <fridolin.somers at biblibre.com>
Software and system maintainer 🦄
BibLibre, France
------------------------------
Subject: Digest Footer
_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha
------------------------------
End of Koha Digest, Vol 233, Issue 5
************************************
More information about the Koha
mailing list