Skip to content

How to upgrade Magento from 2.4.6 to 2.4.7-beta

I am currently attempting to upgrade to the latest beta of 2.4.7.

However it only seems to regonise:

composer require-commerce magento/product-community-edition 2.4.7-beta2 --no-update

But when I then run

composer update --with-all-dependencies

I then get:

Problem 1
- Root composer.json requires magento/product-community-edition 2.4.7-beta2 -> satisfiable by magento/product-community-edition[2.4.7-beta2].
- magento/product-community-edition 2.4.7-beta2 requires magento/magento2-base 2.4.7-beta2 -> found magento/magento2-base[2.4.7-beta2] but it does not match your minimum-stability.

What is the correct approach?
I followed this successfully to get from 2.4.5 to 2.4.6 without a problem:

I notice it states my version 2.4.5 but when I login to Magento it says 2.4.6?

My composer.json file is as follows:

{
"name": "magento/project-community-edition",
"description": "eCommerce Platform for Growth (Community Edition)",
"type": "project",
"license": [
    "OSL-3.0",
    "AFL-3.0"
],
"config": {
    "allow-plugins": {
        "dealerdirect/phpcodesniffer-composer-installer": true,
        "laminas/laminas-dependency-plugin": true,
        "magento/*": true
    },
    "preferred-install": "dist",
    "sort-packages": true
},
"version": "2.4.5",
"require": {
    "magento/composer-dependency-version-audit-plugin": "~0.1",
    "magento/composer-root-update-plugin": "~2.0",
    "magento/product-community-edition": "2.4.7-beta2",
    "mirasvit/module-fraud-check": "*",
    "mirasvit/module-gdpr": "*",
    "mirasvit/module-geo-ip": "*",
    "mirasvit/module-inventory-planner": "*",
    "mirasvit/module-navigation": "*",
    "mirasvit/module-order-management": "*",
    "mirasvit/module-search-ultimate": "*",
    "mirasvit/module-seo": "*",
    "mirasvit/module-shipping-table": "*",
    "mirasvit/module-social-login": "*",
    "mirasvit/module-sorting": "*",
    "mirasvit/module-stability": "*"
},
"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/"
    }
},
"require-dev": {
    "allure-framework/allure-phpunit": "^2",
    "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
    "dg/bypass-finals": "^1.4",
    "friendsofphp/php-cs-fixer": "^3.22",
    "lusitanian/oauth": "^0.8",
    "magento/magento-coding-standard": "*",
    "magento/magento2-functional-testing-framework": "^4.4.2",
    "pdepend/pdepend": "^2.10",
    "phpmd/phpmd": "^2.12.0",
    "phpstan/phpstan": "^1.9",
    "phpunit/phpunit": "^9.5",
    "sebastian/phpcpd": "^6.0",
    "symfony/finder": "^5.4"
},
"conflict": {
    "gene/bluefoot": "*"
},
"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/"
    }
},
"minimum-stability": "stable",
"prefer-stable": true,
"repositories": {
    "mirasvit-esu2": {
        "type": "composer",
        "url": "https://52407:[email protected]/52407:TRNB6DJMQW/"
    },
    "mirasvit-mss2": {
        "type": "composer",
        "url": "https://52677:[email protected]/52677:FMGLCSRATI/"
    },
    "mirasvit-frd2": {
        "type": "composer",
        "url": "https://52676:[email protected]/52676:3X1TZWH69C/"
    },
    "mirasvit-gdpr2": {
        "type": "composer",
        "url": "https://52675:[email protected]/52675:OJ04CAG7YI/"
    },
    "mirasvit-seo2": {
        "type": "composer",
        "url": "https://52674:[email protected]/52674:FV04YH5BL6/"
    },
    "mirasvit-inp2": {
        "type": "composer",
        "url": "https://52673:[email protected]/52673:WZ6MJ8QIDO/"
    },
    "mirasvit-geo2": {
        "type": "composer",
        "url": "https://52672:[email protected]/52672:O0P7L6QW84/"
    },
    "mirasvit-slg2": {
        "type": "composer",
        "url": "https://52671:[email protected]/52671:8VGN372DWL/"
    },
    "mirasvit-oms2": {
        "type": "composer",
        "url": "https://52670:[email protected]/52670:AHZQUWP9MD/"
    },
    "mirasvit-ips2": {
        "type": "composer",
        "url": "https://52669:[email protected]/52669:F7DOBJET89/"
    },
    "mirasvit-srt2": {
        "type": "composer",
        "url": "https://53425:[email protected]/53425:51MVWIPASN/"
    },
    "mirasvit-lrn2": {
        "type": "composer",
        "url": "https://52408:[email protected]/52408:9RCQ1OD2ZW/"
    },
    "0": {
        "type": "composer",
        "url": "https://repo.magento.com/"
    }
},
"extra": {
    "magento-force": "override"
}

}