Skip to content

how to upgrade magento 2.3.5-p1 to magento 2.4.3 i always get errors

im been trying to upgrade magento to 2.4.3 because i like the featured of page builder.
i tried

  1. cp composer.json composer.json.backup
  2. mysqldump -u username -p databasename > mysqlbackup.sql
  3. bin/magento maintenance:enable
  4. composer require magento/product-community-edition=2.4.3 –no-update
    or composer require-commerce magento/product-community-edition=2.4.3 –no-update
  5. composer update
  6. rm -rf var/cache/*

rm -rf var/page_cache/*

rm -rf generated/code/*

  1. bin/magento setup:upgrade
    bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy

but always error.

is there any other way to upgrade? like migrate data of the store and install the magento 2.4.3 fresh because i can install the magento but i dont know how to migrate the data from the actual store.