Hello,
i can't choose ElasticSearch 8 in Magento 2.4.7 after upgrade from version 2.4.6
I have the data for ES8 but cannot enter it in the backend because the selection point is missing. When I enter the data under ES7 (deprecated), there is an error with reindex (which is understandable).
When I display the version of module-elasticsearch in the console, it says elasticsearch/elasticsearch ~7.17.0 || ~8.5.0
So ES8 should be selectable, right?
What can I do to make ES8 selectable in the search engines in the backend?
Elasticsearch is not oficially supported by Magento because of the change in their Licensing. You should switch to openSearch which will be supported by Magento in the future.
lease have a look here: https://experienceleague.adobe.com/en/docs/commerce-operations/installation-guide/system-requirement...
Thank you for your reply.
Is it still possible to use ES8 at the moment? Is OpenSearch similar to ElasticSearch?
When I click on "Commerce vor Ort", ES8 is displayed as an option.
No. ES8 was never and will not be supported by Magento.
In theorie it could be possible that a 3rd party developed a extension to support ES8, but I highly doubt that someone would do that.
Opensearch works good and uses the standard Apache Open Source License.
Why do you want to use ES8 instead?
Hello @markus_tunger,
It looks like after upgrading to Magento 2.4.7, the option to select Elasticsearch 8 is missing in the backend. This might be due to a misconfiguration or missing module after the upgrade. Here are some steps to troubleshoot and resolve this issue:
Ensure that the elasticsearch8 module is enabled and installed correctly. You can check the status and enable it using the following commands:
php bin/magento module:status
If the Magento_Elasticsearch8 module is not listed as enabled, enable it
Ensure that the di.xml files include the necessary configurations for Elasticsearch 8. Specifically, look for the configurations related to the search engine in the app/code or vendor/magento/module-elasticsearch8/etc/di.xml.
Ensure that the elasticsearch/elasticsearch library is correctly installed with the required version that supports Elasticsearch 8. Check the composer.json and composer.lock files to confirm.
composer show elasticsearch/elasticsearch
The output should indicate compatibility with version 8.x.
If Magento_Elasticsearch8 is not available in your vendor directory, it may not have been installed. Try updating your Magento dependencies:
composer require magento/module-elasticsearch
composer update
Go to the Magento Admin Panel and navigate to Stores > Configuration > Catalog > Catalog Search. You should see Elasticsearch 8 as an option.
Ensure that the Elasticsearch 8 service is running and accessible from your Magento server. Test the connection to Elasticsearch 8 directly:
curl -X GET "localhost:9200"
Replace localhost:9200 with your Elasticsearch 8 host and port.
By following these steps, you should be able to troubleshoot and resolve the issue of Elasticsearch 8 not being selectable in the Magento admin panel after the upgrade.
If the issue will be resolved, Click Kudos & Accept as a Solution.