Bug 39097 - [NoNodes] ** No nodes are available: [http://localhost:9200] after upgrading
Summary: [NoNodes] ** No nodes are available: [http://localhost:9200] after upgrading
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: 24.11
Hardware: All All
: P5 - low major
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-11 15:56 UTC by Simon Hohl
Modified: 2025-12-15 19:58 UTC (History)
0 users

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Hohl 2025-02-11 15:56:22 UTC
The is already bug #30898, concerning tests. But I have an issue after upgrading to Debian bookworm and Koha 24.11 (from 21.11).

I get the following error:
```
# koha-elasticsearch --rebuild -d -v myinstance
[16419] Checking state of biblios index
[16419] Dropping and recreating biblios index
[NoNodes] ** No nodes are available: [http://localhost:9200], called from sub Search::Elasticsearch::Role::Client::Direct::__ANON__ at /usr/share/koha/lib/Koha/SearchEngine/Elasticsearch/Indexer.pm line 437.Something went wrong rebuilding indexes for myinstance
```

cURL returns:
```
# curl localhost:9200
{
  "name" : "UMcmM90",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "Cpb1dvL5S1SFkfJseUMcEQ",
  "version" : {
    "number" : "6.8.23",
    "build_flavor" : "default",
    "build_type" : "deb",
    "build_hash" : "4f67856",
    "build_date" : "2022-01-06T21:30:50.087716Z",
    "build_snapshot" : false,
    "lucene_version" : "7.7.3",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}
```

Any pointers towards how to debug this further? This also seems to crash my `/cgi-bin/koha/about.pl`?
Comment 1 Katrin Fischer 2025-02-11 16:37:19 UTC
Hi, this sounds more like a support request/setup issue and as such is better suited for the mailing list or the Mattermost community chat (https://chat.koha-community.org)

Which Elasticsearch version is used? Since 21.11 the requirements changed a bit:
https://wiki.koha-community.org/wiki/System_requirements_and_recommendations
Comment 2 Simon Hohl 2025-02-11 16:43:35 UTC
Ah dang, did not see that wiki page. It's ES6, so that is probably the issue...