cancel
Showing results for 
Search instead for 
Did you mean: 

Problem upgrading from 2.2.6 to 2.2.7

Problem upgrading from 2.2.6 to 2.2.7

I'm trying to upgrade 2.2.6

When I run the web setup wizard I get this response.

Check Component Dependency

We found conflicting component dependencies.

Command "update" failed: Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- magento/product-community-edition 2.2.7 requires composer/composer 1.4.1 -> satisfiable by composer/composer[1.4.1].
- magento/product-community-edition 2.2.7 requires composer/composer 1.4.1 -> satisfiable by composer/composer[1.4.1].
- Conclusion: don't install composer/composer 1.4.1
- Installation request for magento/product-community-edition 2.2.7 -> satisfiable by magento/product-community-edition[2.2.7].

 

When I try the command line upgrade I just get memory errors.

My composer version is 1.6.4 so newer than 1.4.1

The site is on shared hosting so I can't downgrade or upgrade composer.

 

My composer.json file contains:

 "name": "magento/project-community-edition",
    "description": "eCommerce Platform for Growth (Community Edition)",
    "type": "project",
    "version": "2.2.6",
    "license": [
        "OSL-3.0",
        "AFL-3.0"
    ],
    "require": {
        "ebizmarts/mailchimp-lib": "^3.0",
        "ebizmarts/sagepaysuite": "^1.2",
        "magento/data-migration-tool": "2.2.6",
        "magento/product-community-edition": "2.2.7",
        "mailchimp/mc-magento2": "1.0.30",
        "trustpilot/module-reviews": "^1.0"
    },
    "require-dev": {
        "friendsofphp/php-cs-fixer": "~2.10.0",
        "lusitanian/oauth": "~0.8.10",
        "pdepend/pdepend": "2.5.2",
        "phpmd/phpmd": "@stable",
        "phpunit/phpunit": "~6.2.0",
        "sebastian/phpcpd": "~3.0.0",
        "squizlabs/php_codesniffer": "3.2.2"
    },
    "autoload": {
        "psr-4": {
            "Magento\\Framework\\": "lib/internal/Magento/Framework/",
            "Magento\\Setup\\": "setup/src/Magento/Setup/",
            "Magento\\": "app/code/Magento/",
            "Zend\\Mvc\\Controller\\": "setup/src/Zend/Mvc/Controller/"
        },
        "psr-0": {
            "": [
                "app/code/",
                "generated/code/"
            ]
        },
        "files": [
            "app/etc/NonComposerComponentRegistration.php"
        ],
        "exclude-from-classmap": [
            "**/dev/**",
            "**/update/**",
            "**/Test/**"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/",
            "Magento\\Tools\\": "dev/tools/Magento/Tools/",
            "Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/",
            "Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/",
            "Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/"
        }
    },
    "minimum-stability": "stable",
    "repositories": {
        "0": {
            "type": "composer",
            "url": "https://repo.magento.com/"
        },
        "magento": {
            "type": "composer",
            "url": "https://repo.magento.com"
        },
        "ebizmarts": {
            "type": "composer",
            "url": "https://packages.ebizmarts.com"
        }
    },
    "extra": {
        "magento-force": "override"
    },
    "config": {
        "preferred-install": "dist",
        "sort-packages": true
    },
    "prefer-stable": true
}

 

4 REPLIES 4

Re: Problem upgrading from 2.2.6 to 2.2.7

Hi @denialdesign

 

Have you tried by running composer update command ?

 

From the command line SSH terminal run composer update command first and then try to upgrade your Magento version and let us know if its works or not !

 

Note : if you are not able to update using wizard then you required command line access for sure - to upgrade/downgrade the version of composer.

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: Problem upgrading from 2.2.6 to 2.2.7

When I try the command line upgrade (composer update) I just get memory errors.

Re: Problem upgrading from 2.2.6 to 2.2.7

Hi @denialdesign

 

then i would suggest you to contact your hosting team and ask them to increase your memory limits.

 

so you will able to upgrade for the same !

 

 

if issue solved,Click Kudos & Accept as Solution

Re: Problem upgrading from 2.2.6 to 2.2.7

The memory is already set to maximum, 8GB, and I'm still getting memory errors due to forkbomb protection which the hosts won't disable.

 

When I try to update to 2.2.6 to 2.3 I get this error.

How can I resolve this?

"magento/product-community-edition 2.3.0 requires magento/zendframework1 ~1.14.1 -> satisfiable by magento/zendframework1[1.14.1]."