No alive nodes found in your cluster

Hey folks,

i have created a new instance of bluespice.
Afterwards the successful installation of Opensearch (V2.15) i ran the Script
" php extensions/BlueSpiceExtendedSearch/maintenance/initBackends.php --quick "
and this produces following Error :
*…vendor/opensearch-project/opensearch-php/src/OpenSearch/ConnectionPool/StaticNoPingConnectionPool.php: No alive nodes found in your cluster"

But The Node is Alive and accessible :


{
  "name" : "knoten1",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "_AS4d0GNTlWtnE7RfDdIbA",
  "version" : {
    "distribution" : "opensearch",
    "number" : "2.16.0",
    "build_type" : "deb",
    "build_hash" : "f84a26e76807ea67a69822c37b1a1d89e7177d9b",
    "build_date" : "2024-08-06T20:30:45.075317690Z",
    "build_snapshot" : false,
    "lucene_version" : "9.11.1",
    "minimum_wire_compatibility_version" : "7.10.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "The OpenSearch Project: https://opensearch.org/"
}

name component version
knoten1 ingest-attachment 2.16.0
knoten1 opensearch-alerting 2.16.0.0
knoten1 opensearch-anomaly-detection 2.16.0.0
knoten1 opensearch-asynchronous-search 2.16.0.0
knoten1 opensearch-cross-cluster-replication 2.16.0.0
knoten1 opensearch-custom-codecs 2.16.0.0
knoten1 opensearch-flow-framework 2.16.0.0
knoten1 opensearch-geospatial 2.16.0.0
knoten1 opensearch-index-management 2.16.0.0
knoten1 opensearch-job-scheduler 2.16.0.0
knoten1 opensearch-knn 2.16.0.0
knoten1 opensearch-ml 2.16.0.0
knoten1 opensearch-neural-search 2.16.0.0
knoten1 opensearch-notifications 2.16.0.0
knoten1 opensearch-notifications-core 2.16.0.0
knoten1 opensearch-observability 2.16.0.0
knoten1 opensearch-performance-analyzer 2.16.0.0
knoten1 opensearch-reports-scheduler 2.16.0.0
knoten1 opensearch-security 2.16.0.0
knoten1 opensearch-security-analytics 2.16.0.0
knoten1 opensearch-skills 2.16.0.0
knoten1 opensearch-sql 2.16.0.0
knoten1 query-insights 2.16.0.0

There is no difference between the secure mode or not secure mode.

The Wiki SpecialPage SearchAdmin shows the same Error: No alive nodes found in your cluster

System info:*
| Software |Version|
|MediaWiki |1.39.8|
|PHP |8.2.20 (apache2handler)|
|MariaDB |10.11.6-MariaDB-0+deb12u1|
|ICU |72.1|
|Pygments |2.11.2|
|BlueSpice (Credits) |4.5.1 (build:20240423135259)|
System Debian 12.5

Whats happen here ?
Is there a hidden Setting wrong?

Greets , SF770

Hello and welcome to the BlueSpice community forums!

Looks like you are using an existing OpenSearch instance. You most likely need to configure the endpoint using the following variables:

$GLOBALS['bsgESBackendHost'] = 'myhost';
$GLOBALS['bsgESBackendPort'] = '9002';
$GLOBALS['bsgESBackendTransport'] = 'https';
$GLOBALS['bsgESBackendUsername'] = '...';
$GLOBALS['bsgESBackendPassword'] = '...';

See also Reference:BlueSpiceExtendedSearch - BlueSpice Wiki
This can be done at the end of the LocalSettings.php file. Or if you are using the new “docker compose stack” in ${DATADIR}/wiki/bluespice/post-init-settings.php