0

I am running into issues when upgrading from 2.3.2 to 2.4. Following the documentation from https://experienceleague.adobe.com/docs/commerce-operations/upgrade-guide/implementation/perform-upgrade.html?lang=en

  1. All the pre-requisites installed to perform the upgrade
  2. Elastisearch 7.17 has been installed. I know Adobe mentions that Elastisearch 7.6.x is supported by Magento 2.4.0 but the documentation does list Elastisearch 7.x can be used for the upgrade. enter image description here
  3. In Admin Panel->Stores->Configuration->Catalog->Catalog Search, I do not see Elastisearch 7.0+. enter image description here

Question: why don't I see Elastisearch 7.0+ in the options?

1 Answer 1

1

The config indicates your site is still on Magento 2.3, you can check your Magento version in admin at the bottom right of the page.

Assume, you want to upgrade your Magento site to 2.4.0 Open Source, run the following command in the root directory:

composer remove magento/product-community-edition --no-update && composer require magento/product-community-edition=2.4.0 --no-update

composer update

bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento indexer:reindex
5
  • If this answer works as your expected, please mark it as accepted. That indicates your issue is solved and makes it easier for others with the same issue to find a verified answer. And that would be great if you click the upvote button for the answer in case you feel it is useful.
    – Tu Van
    Nov 6, 2022 at 19:37
  • Thank you Tu Van. I was following the Adobe documentation, which directed me to first update all the software e.g. PHP 7.4, Elastisearch 7.0 etc before performing the upgrade to 2.4.0. You are recommending to first perform the upgrade and then update the software?
    – Mainer
    Nov 7, 2022 at 0:58
  • No, you have to update the software first, then perform the Magento upgrade. You only see the config change like your screenshot that showing Elasticsearch 7 once you have done the upgrade Magento.
    – Tu Van
    Nov 7, 2022 at 2:52
  • Thank you Tu Van. I will follow your advice.
    – Mainer
    Nov 8, 2022 at 2:07
  • I'm glad to help. If you have any issues, feel free to create a new post, or you also can hire me to support your Magento sites (or at least help you upgrade the Magento version).
    – Tu Van
    Nov 8, 2022 at 4:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.