Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After Upgrade to Magento 2.4.7., setup:upgrade throws "ElasticSuite : Unable to validate connection to Elasticsearch server : No alive nodes found in your cluster" #3460

Open
constancyGmbH opened this issue Dec 2, 2024 · 6 comments
Assignees

Comments

@constancyGmbH
Copy link

We updated Magento from 2.4.6-p8 to 2.4.7-p3.
Now we get "ElasticSuite : Unable to validate connection to Elasticsearch server : No alive nodes found in your cluster" when we run setup:upgrade in the console.

Magento Version : Magento 2.4.7-p3 CE

ElasticSuite Version : 2.11.9.2

Environment : Production Mode

Steps to reproduce

  1. Updated Codebase to Magento 2.4.7.
  2. run bin/magento setup/upgrade

Expected result

  1. bin/magento setup/upgrade runs without an error

Actual result

Updating modules:
ElasticSuite : Unable to validate connection to Elasticsearch server : No alive nodes found in your cluster

@vahonc
Copy link
Collaborator

vahonc commented Dec 2, 2024

@constancyGmbH,

Usually, there are no problems. We are good with Magento 2.4.7/2.4.7-p3 CE.

Probably you doing something wrong during your upgrade.

Are you sure that Elasticsearch is properly configure and running?

Have you checked Magento and Elasticsearch logs?

BR,
Vadym

@constancyGmbH
Copy link
Author

I have another instance (the live system) connected to the elastic search, so the Server is running and working. maybe there is a problem with the configuration in magento itself. Is there a way to test the connection with my access data from the DB to verify, that there is no config issue?

@constancyGmbH constancyGmbH removed their assignment Dec 3, 2024
@vahonc
Copy link
Collaborator

vahonc commented Dec 3, 2024

@constancyGmbH,

Are you sure the Search Engine is set to ElasticSuite in Configuration -> Catalog -> Catalog -> Catalog Search -> Search Engine?

Have you checked Magento and Elasticsearch logs?

Which version of Elasticsearch and which Magento module (magento/module-elasticsearch-7 or magento/module-elasticsearch-8) you are using?

BR,
Vadym

@constancyGmbH
Copy link
Author

Yes, it is set to ElasticSuite
image

We use ES7 (magento/module-elasticsearch-7).

Server Version is 7.17.13

@vahonc
Copy link
Collaborator

vahonc commented Dec 3, 2024

@constancyGmbH,

Have you checked Magento and Elasticsearch logs?

What you have after running this query to DB: SELECT * FROM core_config_data where path like '%elasticsuite%';

BR,
Vadym

@constancyGmbH
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants