cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade from 2.3.7 to 2.4.0

Upgrade from 2.3.7 to 2.4.0

Hello, i'm trying to upgrade Magento from 2.3.7 CE to 2.4.0

but i have following error: https://ibb.co/mJcXtxD

 

Here my composer file

What i have to do? 

Thanks for any suggestion

 

{
    "name": "magento/magento2ce",
    "description": "Magento 2 (Open Source)",
    "type": "project",
    "license": [
        "OSL-3.0",
        "AFL-3.0"
    ],
    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": false,
            "laminas/laminas-dependency-plugin": false,
            "magento/magento-composer-installer": false
        }
    },
    "version": "2.3.7",
    "require": {
        "php": "~7.3.0||~7.4.0",
        "ext-bcmath": "*",
        "ext-ctype": "*",
        "ext-curl": "*",
        "ext-dom": "*",
        "ext-gd": "*",
        "ext-hash": "*",
        "ext-iconv": "*",
        "ext-intl": "*",
        "ext-mbstring": "*",
        "ext-openssl": "*",
        "ext-pdo_mysql": "*",
        "ext-simplexml": "*",
        "ext-soap": "*",
        "ext-xsl": "*",
        "ext-zip": "*",
        "lib-libxml": "*",
        "braintree/braintree_php": "3.35.0",
        "colinmollenhour/cache-backend-file": "~1.4.1",
        "colinmollenhour/cache-backend-redis": "1.11.0",
        "colinmollenhour/credis": "1.11.1",
        "colinmollenhour/php-redis-session-abstract": "~1.4.0",
        "composer/composer": "^1.9 || ^2.0",
        "elasticsearch/elasticsearch": "~2.0||~5.1||~6.1||~7.6",
        "firebase/php-jwt": "^5.4",
        "guzzlehttp/guzzle": "^6.3.3",
        "laminas/laminas-captcha": "^2.7.1",
        "laminas/laminas-code": "~3.4.1",
        "laminas/laminas-config": "^2.6.0",
        "laminas/laminas-console": "^2.6.0",
        "laminas/laminas-crypt": "^2.6.0",
        "laminas/laminas-db": "^2.8.2",
        "laminas/laminas-dependency-plugin": "^1.0 || ^2.0",
        "laminas/laminas-di": "^2.6.1",
        "laminas/laminas-eventmanager": "^3.0.0",
        "laminas/laminas-feed": "^2.9.0",
        "laminas/laminas-form": "^2.10.0",
        "laminas/laminas-http": "^2.6.0",
        "laminas/laminas-i18n": "^2.7.3",
        "laminas/laminas-json": "^2.6.1",
        "laminas/laminas-log": "^2.9.1",
        "laminas/laminas-mail": "^2.9.0",
        "laminas/laminas-mime": "^2.5.0",
        "laminas/laminas-modulemanager": "^2.7",
        "laminas/laminas-mvc": "~2.7.0",
        "laminas/laminas-serializer": "^2.7.2",
        "laminas/laminas-server": "^2.6.1",
        "laminas/laminas-servicemanager": "^2.7.8",
        "laminas/laminas-session": "^2.7.3",
        "laminas/laminas-soap": "^2.7.0",
        "laminas/laminas-stdlib": "^3.2.1",
        "laminas/laminas-text": "^2.6.0",
        "laminas/laminas-uri": "^2.5.1",
        "laminas/laminas-validator": "^2.6.0",
        "laminas/laminas-view": "~2.11.2",
        "magento/composer": "~1.6.0||~1.7.0",
        "magento/magento-composer-installer": ">=0.1.11",
        "magento/zendframework1": "~1.14.2",
        "mageplaza/magento-2-italian-language-pack": "dev-master",
        "monolog/monolog": "^1.17",
        "paragonie/sodium_compat": "^1.6",
        "pelago/emogrifier": "^3.1.0",
        "php-amqplib/php-amqplib": "~2.7.0||~2.10.0",
        "phpseclib/mcrypt_compat": "1.0.8",
        "phpseclib/phpseclib": "2.0.*",
        "ramsey/uuid": "~3.8.0",
        "symfony/console": "~4.1.0||~4.2.0||~4.3.0||~4.4.0",
        "symfony/event-dispatcher": "~4.1.0||~4.2.0||~4.3.0||~4.4.0",
        "symfony/process": "~4.1.0||~4.2.0||~4.3.0||~4.4.0",
        "tedivm/jshrink": "~1.3.0",
        "tubalmartin/cssmin": "4.1.1",
        "webonyx/graphql-php": "^0.13.8",
        "wikimedia/less.php": "~1.8.0"
    },
    "suggest": {
        "ext-pcntl": "Need for run processes in parallel mode"
    },
    "autoload": {
        "exclude-from-classmap": [
            "**/dev/**",
            "**/update/**",
            "**/Test/**"
        ],
        "files": [
            "app/etc/NonComposerComponentRegistration.php"
        ],
        "psr-0": {
            "": [
                "app/code/",
                "generated/code/"
            ]
        },
        "psr-4": {
            "Magento\\": "app/code/Magento/",
            "Magento\\Framework\\": "lib/internal/Magento/Framework/",
            "Magento\\Setup\\": "setup/src/Magento/Setup/",
            "Zend\\Mvc\\Controller\\": "setup/src/Zend/Mvc/Controller/"
        }
    },
    "require-dev": {
        "allure-framework/allure-phpunit": "~1.2.0",
        "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
        "friendsofphp/php-cs-fixer": "~2.16.0",
        "lusitanian/oauth": "~0.8.10",
        "magento/magento-coding-standard": "*",
        "magento/magento2-functional-testing-framework": "^2.7",
        "pdepend/pdepend": "~2.7.1",
        "phpcompatibility/php-compatibility": "^9.3",
        "phpmd/phpmd": "^2.8.0",
        "phpstan/phpstan": ">=0.12.3 <=0.12.23",
        "phpunit/phpunit": "^9",
        "sebastian/phpcpd": "~5.0.0",
        "squizlabs/php_codesniffer": "~3.5.4"
    },
    "conflict": {
        "gene/bluefoot": "*"
    },
    "replace": {
        "magento/module-marketplace": "100.3.5",
        "magento/module-admin-analytics": "100.3.3",
        "magento/module-admin-notification": "100.3.6",
        "magento/module-advanced-pricing-import-export": "100.3.5",
        "magento/module-amqp": "100.3.5",
        "magento/module-amqp-store": "100.3.2",
        "magento/module-analytics": "100.3.7",
        "magento/module-asynchronous-operations": "100.3.7",
        "magento/module-authorization": "100.3.6",
        "magento/module-authorizenet": "100.3.6",
        "magento/module-authorizenet-acceptjs": "100.3.5",
        "magento/module-authorizenet-cardinal": "100.3.2",
        "magento/module-authorizenet-graph-ql": "100.3.3",
        "magento/module-advanced-search": "100.3.5",
        "magento/module-backend": "101.0.7",
        "magento/module-backup": "100.3.6",
        "magento/module-braintree": "100.3.7",
        "magento/module-braintree-graph-ql": "100.3.4",
        "magento/module-bundle": "100.3.7",
        "magento/module-bundle-graph-ql": "100.3.5",
        "magento/module-bundle-import-export": "100.3.6",
        "magento/module-cache-invalidate": "100.3.5",
        "magento/module-captcha": "100.3.7",
        "magento/module-cardinal-commerce": "100.3.3",
        "magento/module-catalog": "103.0.7",
        "magento/module-catalog-customer-graph-ql": "100.3.1",
        "magento/module-catalog-analytics": "100.3.5",
        "magento/module-catalog-import-export": "101.0.7",
        "magento/module-catalog-inventory": "100.3.7",
        "magento/module-catalog-inventory-graph-ql": "100.3.5",
        "magento/module-catalog-rule": "101.1.7",
        "magento/module-catalog-rule-graph-ql": "100.3.1",
        "magento/module-catalog-rule-configurable": "100.3.6",
        "magento/module-catalog-search": "101.0.7",
        "magento/module-catalog-url-rewrite": "100.3.7",
        "magento/module-catalog-widget": "100.3.7",
        "magento/module-checkout": "100.3.7",
        "magento/module-checkout-agreements": "100.3.6",
        "magento/module-checkout-agreements-graph-ql": "100.3.2",
        "magento/module-cms": "103.0.7",
        "magento/module-cms-url-rewrite": "100.3.6",
        "magento/module-config": "101.1.7",
        "magento/module-configurable-import-export": "100.3.5",
        "magento/module-configurable-product": "100.3.7",
        "magento/module-configurable-product-sales": "100.3.5",
        "magento/module-contact": "100.3.7",
        "magento/module-cookie": "100.3.6",
        "magento/module-cron": "100.3.6",
        "magento/module-currency-symbol": "100.3.6",
        "magento/module-customer": "102.0.7",
        "magento/module-customer-analytics": "100.3.5",
        "magento/module-customer-downloadable-graph-ql": "100.3.1",
        "magento/module-customer-import-export": "100.3.7",
        "magento/module-deploy": "100.3.6",
        "magento/module-developer": "100.3.6",
        "magento/module-dhl": "100.3.6",
        "magento/module-directory": "100.3.7",
        "magento/module-directory-graph-ql": "100.3.4",
        "magento/module-downloadable": "100.3.7",
        "magento/module-downloadable-graph-ql": "100.3.5",
        "magento/module-downloadable-import-export": "100.3.7",
        "magento/module-eav": "102.0.7",
        "magento/module-elasticsearch": "100.3.7",
        "magento/module-elasticsearch-6": "100.3.6",
        "magento/module-elasticsearch-7": "100.3.2",
        "magento/module-email": "101.0.7",
        "magento/module-encryption-key": "100.3.6",
        "magento/module-fedex": "100.3.6",
        "magento/module-gift-message": "100.3.5",
        "magento/module-google-adwords": "100.3.6",
        "magento/module-google-analytics": "100.3.5",
        "magento/module-google-optimizer": "100.3.6",
        "magento/module-graph-ql": "100.3.6",
        "magento/module-graph-ql-cache": "100.3.3",
        "magento/module-catalog-graph-ql": "100.3.7",
        "magento/module-catalog-cms-graph-ql": "100.3.1",
        "magento/module-catalog-url-rewrite-graph-ql": "100.3.6",
        "magento/module-configurable-product-graph-ql": "100.3.6",
        "magento/module-customer-graph-ql": "100.3.6",
        "magento/module-eav-graph-ql": "100.3.5",
        "magento/module-swatches-graph-ql": "100.3.6",
        "magento/module-tax-graph-ql": "100.3.5",
        "magento/module-url-rewrite-graph-ql": "100.3.7",
        "magento/module-cms-url-rewrite-graph-ql": "100.3.5",
        "magento/module-weee-graph-ql": "100.3.5",
        "magento/module-cms-graph-ql": "100.3.5",
        "magento/module-grouped-import-export": "100.3.5",
        "magento/module-grouped-product": "100.3.7",
        "magento/module-grouped-catalog-inventory": "100.3.4",
        "magento/module-grouped-product-graph-ql": "100.3.6",
        "magento/module-import-export": "100.3.7",
        "magento/module-indexer": "100.3.7",
        "magento/module-instant-purchase": "100.3.7",
        "magento/module-integration": "100.3.6",
        "magento/module-layered-navigation": "100.3.5",
        "magento/module-media-gallery": "100.3.2",
        "magento/module-media-gallery-api": "100.3.1",
        "magento/module-media-storage": "100.3.7",
        "magento/module-message-queue": "100.3.7",
        "magento/module-msrp": "100.3.6",
        "magento/module-msrp-configurable-product": "100.3.4",
        "magento/module-msrp-grouped-product": "100.3.5",
        "magento/module-multishipping": "100.3.7",
        "magento/module-mysql-mq": "100.3.5",
        "magento/module-new-relic-reporting": "100.3.5",
        "magento/module-newsletter": "100.3.7",
        "magento/module-offline-payments": "100.3.5",
        "magento/module-offline-shipping": "100.3.6",
        "magento/module-page-cache": "100.3.7",
        "magento/module-payment": "100.3.7",
        "magento/module-paypal": "100.3.7",
        "magento/module-paypal-captcha": "100.3.3",
        "magento/module-paypal-graph-ql": "100.3.2",
        "magento/module-persistent": "100.3.7",
        "magento/module-product-alert": "100.3.7",
        "magento/module-product-video": "100.3.7",
        "magento/module-quote": "101.1.7",
        "magento/module-quote-analytics": "100.3.6",
        "magento/module-quote-graph-ql": "100.3.7",
        "magento/module-related-product-graph-ql": "100.3.2",
        "magento/module-release-notification": "100.3.5",
        "magento/module-reports": "100.3.7",
        "magento/module-require-js": "100.3.5",
        "magento/module-review": "100.3.7",
        "magento/module-review-analytics": "100.3.5",
        "magento/module-robots": "101.0.5",
        "magento/module-rss": "100.3.5",
        "magento/module-rule": "100.3.6",
        "magento/module-sales": "102.0.7",
        "magento/module-sales-analytics": "100.3.5",
        "magento/module-sales-graph-ql": "100.3.4",
        "magento/module-sales-inventory": "100.3.5",
        "magento/module-sales-rule": "101.1.7",
        "magento/module-sales-sequence": "100.3.5",
        "magento/module-sample-data": "100.3.5",
        "magento/module-search": "101.0.7",
        "magento/module-security": "100.3.6",
        "magento/module-send-friend": "100.3.5",
        "magento/module-send-friend-graph-ql": "100.3.4",
        "magento/module-shipping": "100.3.7",
        "magento/module-signifyd": "100.3.6",
        "magento/module-sitemap": "100.3.7",
        "magento/module-store": "101.0.7",
        "magento/module-store-graph-ql": "100.3.5",
        "magento/module-swagger": "100.3.6",
        "magento/module-swagger-webapi": "100.3.5",
        "magento/module-swagger-webapi-async": "100.3.5",
        "magento/module-swatches": "100.3.7",
        "magento/module-swatches-layered-navigation": "100.3.5",
        "magento/module-tax": "100.3.7",
        "magento/module-tax-import-export": "100.3.5",
        "magento/module-theme": "101.0.7",
        "magento/module-theme-graph-ql": "100.3.4",
        "magento/module-translation": "100.3.7",
        "magento/module-ui": "101.1.7",
        "magento/module-ups": "100.3.7",
        "magento/module-url-rewrite": "101.1.6",
        "magento/module-user": "101.1.7",
        "magento/module-usps": "100.3.6",
        "magento/module-variable": "100.3.5",
        "magento/module-vault": "101.1.7",
        "magento/module-vault-graph-ql": "100.3.3",
        "magento/module-version": "100.3.5",
        "magento/module-webapi": "100.3.6",
        "magento/module-webapi-async": "100.3.7",
        "magento/module-webapi-security": "100.3.5",
        "magento/module-weee": "100.3.6",
        "magento/module-widget": "101.1.5",
        "magento/module-wishlist": "101.1.7",
        "magento/module-wishlist-graph-ql": "100.3.4",
        "magento/module-wishlist-analytics": "100.3.5",
        "magento/theme-adminhtml-backend": "100.3.6",
        "magento/theme-frontend-blank": "100.3.7",
        "magento/theme-frontend-luma": "100.3.7",
        "magento/language-de_de": "100.3.4",
        "magento/language-en_us": "100.3.4",
        "magento/language-es_es": "100.3.4",
        "magento/language-fr_fr": "100.3.4",
        "magento/language-nl_nl": "100.3.4",
        "magento/language-pt_br": "100.3.4",
        "magento/language-zh_hans_cn": "100.3.4",
        "magento/framework": "102.0.7",
        "magento/framework-amqp": "100.3.6",
        "magento/framework-bulk": "100.3.6",
        "magento/framework-message-queue": "100.3.7",
        "trentrichardson/jquery-timepicker-addon": "1.4.3",
        "components/jquery": "1.11.0",
        "blueimp/jquery-file-upload": "5.6.14",
        "components/jqueryui": "1.10.4",
        "twbs/bootstrap": "3.1.0",
        "tinymce/tinymce": "3.4.7",
        "magento/module-tinymce-3": "100.3.7",
        "magento/module-csp": "100.3.1"
    },
    "autoload-dev": {
        "psr-4": {
            "Magento\\PhpStan\\": "dev/tests/static/framework/Magento/PhpStan/",
            "Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/",
            "Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/",
            "Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/",
            "Magento\\Tools\\": "dev/tools/Magento/Tools/",
            "Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/"
        }
    },
    "prefer-stable": true,
    "extra": {
        "component_paths": {
            "blueimp/jquery-file-upload": "lib/web/jquery/fileUploader",
            "components/jquery": [
                "lib/web/jquery.js",
                "lib/web/jquery/jquery.min.js",
                "lib/web/jquery/jquery-migrate.js"
            ],
            "components/jqueryui": [
                "lib/web/jquery/jquery-ui.js"
            ],
            "tinymce/tinymce": "lib/web/tiny_mce_4",
            "trentrichardson/jquery-timepicker-addon": "lib/web/jquery/jquery-ui-timepicker-addon.js",
            "twbs/bootstrap": [
                "lib/web/jquery/jquery.tabs.js"
            ]
        }
    }
}
2 REPLIES 2

Re: Upgrade from 2.3.7 to 2.4.0

Hello @fabiotosca3261 ,

 

Generate new Magento keys (https://devdocs.magento.com/guides/v2.4/install-gde/prereq/connect-auth.html) and place in auth.json in docroot and run command again.

for upgrading reference : https://magento.stackexchange.com/a/98992

Hope it helps !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: Upgrade from 2.3.7 to 2.4.0

Thanks for your feedback but unfortunately still not working

I generated magento keys and placed them into auth.json

I also read your reference and added 

 

"require": {
"magento/product-community-edition": "2.3.7",

Your thread is 3 years old i think many things are changed and i insert 2.3.7

However i have the same error..