[Koha] Elasticsearch works in the server but we can not search from OPAC and intranet

Mengu Yazicioglu mengu at devinim.com.tr
Mon Jul 3 02:02:25 NZST 2023


Some additions,

I've seen Unassigned shards but do not know the reason and how to fix them

index shard prirep state      node       unassigned.reason
koha_devinimkoha_biblios 4     r      UNASSIGNED            
CLUSTER_RECOVERED
koha_devinimkoha_biblios 1     r      UNASSIGNED            
CLUSTER_RECOVERED
koha_devinimkoha_biblios 3     r      UNASSIGNED            
CLUSTER_RECOVERED
koha_devinimkoha_biblios 2     r      UNASSIGNED            
CLUSTER_RECOVERED
koha_devinimkoha_biblios 0     r      UNASSIGNED            
CLUSTER_RECOVERED
koha_devinimkoha_authorities 4     r      UNASSIGNED            
INDEX_CREATED
koha_devinimkoha_authorities 1     r      UNASSIGNED            
INDEX_CREATED
koha_devinimkoha_authorities 3     r      UNASSIGNED            
INDEX_CREATED
koha_devinimkoha_authorities 2     r      UNASSIGNED            
INDEX_CREATED
koha_devinimkoha_authorities 0     r      UNASSIGNED            
INDEX_CREATED
.geoip_databases 0     p      STARTED    debiankoha
.ds-ilm-history-5-2023.07.02-000001 0     p      STARTED    debiankoha
.ds-.logs-deprecation.elasticsearch-default-2023.07.02-000001 0     
p      STARTED    debiankoha
koha_devinimkoha_biblios 4     p      STARTED    debiankoha
koha_devinimkoha_biblios 1     p      STARTED    debiankoha
koha_devinimkoha_biblios 3     p      STARTED    debiankoha
koha_devinimkoha_biblios 2     p      STARTED    debiankoha
koha_devinimkoha_biblios 0     p      STARTED    debiankoha
koha_devinimkoha_authorities 4     p      STARTED    debiankoha
koha_devinimkoha_authorities 1     p      STARTED    debiankoha
koha_devinimkoha_authorities 3     p      STARTED    debiankoha
koha_devinimkoha_authorities 2     p      STARTED    debiankoha
koha_devinimkoha_authorities 0     p      STARTED    debiankoha

Mengü Yazıcıoğlu
Devinim Yazılım Eğitim Danışmanlık
Reşit Galip Cad. No: 29/6
Çankaya/ANKARA

Tel: (312) 446 86 68
Cep: (532) 701 90 27

On 2.07.2023 16:21, Mengu Yazicioglu wrote:
> Hi all,
>
> I'm trying to move from Zebra to Elasticsearch on live products.
>
> I have to finish all before to come to KohaCon, so with any help you 
> give I'll be so close to come Helsinki ;)
>
> Debian 11.7
>
> Koha 22.11.05
>
> Elasticsearch 7.17.11
>
> I've seen that my elasticsearch indices established and ES is working, 
> though I'm not sure whether yellow open says something wrong below
>
> green  open .geoip_databases              1 0     42 0    40mb 40mb
> yellow open koha_devinimkoha_authorities  5 1 112921 0  62.8mb 62.8mb
> yellow open koha_devinimkoha_biblios      5 1  67342 0 121.7mb 121.7mb
>
> I can also query data from command line, but I cannot see anything 
> from OPAC and intranet.
>
> I've already changed SearchEngine parameter from adminstration to ES.
>
> Do we need to change the network.host parameter to  some IP in the 
> file elasticsearch.yml or Koha and ES communicate through localhost?
>
> Does anyone have an idea? I really do not know what I should look at 
> somewhere else.
>
> Thanks.
>


More information about the Koha mailing list