Upgrade Magento from 2.2.6 to 2.3












1














I am trying to update Magento from version 2.2.6 to 2.3, but i get this errors:



sh-4.2# composer require magento/product-community-edition 2.3.0 --no-update
./composer.json has been updated



sh-4.2# composer update
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
- The requested package magento/magento-cloud-metapackage could not be found in any version, there may be a typo in the package name.



Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see https://getcomposer.org/doc/04-schema.md#minimum-stability for more details.
- It's a private package and you forgot to add a custom repository to find it



Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.



This is the composer version:



sh-4.2# composer --version
Composer version 1.7.3 2018-11-01 10:05:06



And this is the composer file.



sh-4.2# more composer.json



{
"name": "magento/project-community-edition",
"description": "eCommerce Platform for Growth (Community Edition)",
"type": "project",
"version": "2.1.7",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"require": {
"magento/product-community-edition": "2.3.0",
"composer/composer": "@alpha",
"codeko/redsys": "3.0.6",
"eusonlito/magento2-language-es_es": "^0.0.8",
"mageplaza/magento-2-spanish-language-pack": "dev-master",
"lcbrq/magento2-dateformatpatch": "^1.0",
"magento/magento-cloud-metapackage": "2.3.0"
},
"require-dev": {
"phpunit/phpunit": "~6.2.0",
"squizlabs/php_codesniffer": "3.2.2",
"phpmd/phpmd": "@stable",
"pdepend/pdepend": "2.5.2",
"lusitanian/oauth": "~0.8.10",
"sebastian/phpcpd": "~3.0.0",
"friendsofphp/php-cs-fixer": "~2.10.1"
},
"config": {
"use-include-path": true
},
"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/"
},
"files": [
"app/etc/NonComposerComponentRegistration.php"
]
},
"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": "alpha",
"prefer-stable": true,
"repositories": {
"0": {
"type": "composer",
"url": "https://repo.magento.com/"
},
"magento": {
"type": "composer",
"url": "https://repo.magento.com/packages.json"
}
},
"extra": {
"magento-force": "override"
}
}


Any idea?



Regards,
JOINSO










share|improve this question
























  • Congrats on finding a solution to your problem! Please mark your question as answered!
    – paj
    Dec 1 '18 at 7:53










  • Thanks for the hint! I add an answer, that is better than put it inside the question!
    – JOINSO
    Dec 2 '18 at 19:06


















1














I am trying to update Magento from version 2.2.6 to 2.3, but i get this errors:



sh-4.2# composer require magento/product-community-edition 2.3.0 --no-update
./composer.json has been updated



sh-4.2# composer update
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
- The requested package magento/magento-cloud-metapackage could not be found in any version, there may be a typo in the package name.



Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see https://getcomposer.org/doc/04-schema.md#minimum-stability for more details.
- It's a private package and you forgot to add a custom repository to find it



Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.



This is the composer version:



sh-4.2# composer --version
Composer version 1.7.3 2018-11-01 10:05:06



And this is the composer file.



sh-4.2# more composer.json



{
"name": "magento/project-community-edition",
"description": "eCommerce Platform for Growth (Community Edition)",
"type": "project",
"version": "2.1.7",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"require": {
"magento/product-community-edition": "2.3.0",
"composer/composer": "@alpha",
"codeko/redsys": "3.0.6",
"eusonlito/magento2-language-es_es": "^0.0.8",
"mageplaza/magento-2-spanish-language-pack": "dev-master",
"lcbrq/magento2-dateformatpatch": "^1.0",
"magento/magento-cloud-metapackage": "2.3.0"
},
"require-dev": {
"phpunit/phpunit": "~6.2.0",
"squizlabs/php_codesniffer": "3.2.2",
"phpmd/phpmd": "@stable",
"pdepend/pdepend": "2.5.2",
"lusitanian/oauth": "~0.8.10",
"sebastian/phpcpd": "~3.0.0",
"friendsofphp/php-cs-fixer": "~2.10.1"
},
"config": {
"use-include-path": true
},
"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/"
},
"files": [
"app/etc/NonComposerComponentRegistration.php"
]
},
"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": "alpha",
"prefer-stable": true,
"repositories": {
"0": {
"type": "composer",
"url": "https://repo.magento.com/"
},
"magento": {
"type": "composer",
"url": "https://repo.magento.com/packages.json"
}
},
"extra": {
"magento-force": "override"
}
}


Any idea?



Regards,
JOINSO










share|improve this question
























  • Congrats on finding a solution to your problem! Please mark your question as answered!
    – paj
    Dec 1 '18 at 7:53










  • Thanks for the hint! I add an answer, that is better than put it inside the question!
    – JOINSO
    Dec 2 '18 at 19:06
















1












1








1


1





I am trying to update Magento from version 2.2.6 to 2.3, but i get this errors:



sh-4.2# composer require magento/product-community-edition 2.3.0 --no-update
./composer.json has been updated



sh-4.2# composer update
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
- The requested package magento/magento-cloud-metapackage could not be found in any version, there may be a typo in the package name.



Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see https://getcomposer.org/doc/04-schema.md#minimum-stability for more details.
- It's a private package and you forgot to add a custom repository to find it



Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.



This is the composer version:



sh-4.2# composer --version
Composer version 1.7.3 2018-11-01 10:05:06



And this is the composer file.



sh-4.2# more composer.json



{
"name": "magento/project-community-edition",
"description": "eCommerce Platform for Growth (Community Edition)",
"type": "project",
"version": "2.1.7",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"require": {
"magento/product-community-edition": "2.3.0",
"composer/composer": "@alpha",
"codeko/redsys": "3.0.6",
"eusonlito/magento2-language-es_es": "^0.0.8",
"mageplaza/magento-2-spanish-language-pack": "dev-master",
"lcbrq/magento2-dateformatpatch": "^1.0",
"magento/magento-cloud-metapackage": "2.3.0"
},
"require-dev": {
"phpunit/phpunit": "~6.2.0",
"squizlabs/php_codesniffer": "3.2.2",
"phpmd/phpmd": "@stable",
"pdepend/pdepend": "2.5.2",
"lusitanian/oauth": "~0.8.10",
"sebastian/phpcpd": "~3.0.0",
"friendsofphp/php-cs-fixer": "~2.10.1"
},
"config": {
"use-include-path": true
},
"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/"
},
"files": [
"app/etc/NonComposerComponentRegistration.php"
]
},
"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": "alpha",
"prefer-stable": true,
"repositories": {
"0": {
"type": "composer",
"url": "https://repo.magento.com/"
},
"magento": {
"type": "composer",
"url": "https://repo.magento.com/packages.json"
}
},
"extra": {
"magento-force": "override"
}
}


Any idea?



Regards,
JOINSO










share|improve this question















I am trying to update Magento from version 2.2.6 to 2.3, but i get this errors:



sh-4.2# composer require magento/product-community-edition 2.3.0 --no-update
./composer.json has been updated



sh-4.2# composer update
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
- The requested package magento/magento-cloud-metapackage could not be found in any version, there may be a typo in the package name.



Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see https://getcomposer.org/doc/04-schema.md#minimum-stability for more details.
- It's a private package and you forgot to add a custom repository to find it



Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.



This is the composer version:



sh-4.2# composer --version
Composer version 1.7.3 2018-11-01 10:05:06



And this is the composer file.



sh-4.2# more composer.json



{
"name": "magento/project-community-edition",
"description": "eCommerce Platform for Growth (Community Edition)",
"type": "project",
"version": "2.1.7",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"require": {
"magento/product-community-edition": "2.3.0",
"composer/composer": "@alpha",
"codeko/redsys": "3.0.6",
"eusonlito/magento2-language-es_es": "^0.0.8",
"mageplaza/magento-2-spanish-language-pack": "dev-master",
"lcbrq/magento2-dateformatpatch": "^1.0",
"magento/magento-cloud-metapackage": "2.3.0"
},
"require-dev": {
"phpunit/phpunit": "~6.2.0",
"squizlabs/php_codesniffer": "3.2.2",
"phpmd/phpmd": "@stable",
"pdepend/pdepend": "2.5.2",
"lusitanian/oauth": "~0.8.10",
"sebastian/phpcpd": "~3.0.0",
"friendsofphp/php-cs-fixer": "~2.10.1"
},
"config": {
"use-include-path": true
},
"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/"
},
"files": [
"app/etc/NonComposerComponentRegistration.php"
]
},
"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": "alpha",
"prefer-stable": true,
"repositories": {
"0": {
"type": "composer",
"url": "https://repo.magento.com/"
},
"magento": {
"type": "composer",
"url": "https://repo.magento.com/packages.json"
}
},
"extra": {
"magento-force": "override"
}
}


Any idea?



Regards,
JOINSO







composer magento2.3






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 2 '18 at 19:05







JOINSO

















asked Dec 1 '18 at 5:18









JOINSOJOINSO

45




45












  • Congrats on finding a solution to your problem! Please mark your question as answered!
    – paj
    Dec 1 '18 at 7:53










  • Thanks for the hint! I add an answer, that is better than put it inside the question!
    – JOINSO
    Dec 2 '18 at 19:06




















  • Congrats on finding a solution to your problem! Please mark your question as answered!
    – paj
    Dec 1 '18 at 7:53










  • Thanks for the hint! I add an answer, that is better than put it inside the question!
    – JOINSO
    Dec 2 '18 at 19:06


















Congrats on finding a solution to your problem! Please mark your question as answered!
– paj
Dec 1 '18 at 7:53




Congrats on finding a solution to your problem! Please mark your question as answered!
– paj
Dec 1 '18 at 7:53












Thanks for the hint! I add an answer, that is better than put it inside the question!
– JOINSO
Dec 2 '18 at 19:06






Thanks for the hint! I add an answer, that is better than put it inside the question!
– JOINSO
Dec 2 '18 at 19:06












1 Answer
1






active

oldest

votes


















-1














Solved following this steps:



Come back to the previous version of composer.json
Following instruction from How to Upgrade magento version from 2.2.X to 2.3.0?



In the last step, it says: sjparkinson/static-review is not required in your composer.json and has not been removed fabpot/php-cs-fixer is not required in your composer.json and has not been removed



Run: # composer upgrade



Then you can get errors like this when you try to do:



php bin/magento setup:upgrade ... Class 'ZendMvcControllerLazyControllerAbstractFactory' not found ...


So you must to edit the composer.json file and modify the autoload section:



"autoload": { "psr-4": { "MagentoFramework": "lib/internal/Magento/Framework/", "MagentoSetup": "setup/src/Magento/Setup/", "Magento": "app/code/Magento/", "ZendMvcController": "setup/src/Zend/Mvc/Controller/" }


Then run:




composer dumpautoload




And rerun:




php bin/magento setup:upgrade




And it works!



Regards,
JOINSO






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "479"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f252048%2fupgrade-magento-from-2-2-6-to-2-3%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    -1














    Solved following this steps:



    Come back to the previous version of composer.json
    Following instruction from How to Upgrade magento version from 2.2.X to 2.3.0?



    In the last step, it says: sjparkinson/static-review is not required in your composer.json and has not been removed fabpot/php-cs-fixer is not required in your composer.json and has not been removed



    Run: # composer upgrade



    Then you can get errors like this when you try to do:



    php bin/magento setup:upgrade ... Class 'ZendMvcControllerLazyControllerAbstractFactory' not found ...


    So you must to edit the composer.json file and modify the autoload section:



    "autoload": { "psr-4": { "MagentoFramework": "lib/internal/Magento/Framework/", "MagentoSetup": "setup/src/Magento/Setup/", "Magento": "app/code/Magento/", "ZendMvcController": "setup/src/Zend/Mvc/Controller/" }


    Then run:




    composer dumpautoload




    And rerun:




    php bin/magento setup:upgrade




    And it works!



    Regards,
    JOINSO






    share|improve this answer




























      -1














      Solved following this steps:



      Come back to the previous version of composer.json
      Following instruction from How to Upgrade magento version from 2.2.X to 2.3.0?



      In the last step, it says: sjparkinson/static-review is not required in your composer.json and has not been removed fabpot/php-cs-fixer is not required in your composer.json and has not been removed



      Run: # composer upgrade



      Then you can get errors like this when you try to do:



      php bin/magento setup:upgrade ... Class 'ZendMvcControllerLazyControllerAbstractFactory' not found ...


      So you must to edit the composer.json file and modify the autoload section:



      "autoload": { "psr-4": { "MagentoFramework": "lib/internal/Magento/Framework/", "MagentoSetup": "setup/src/Magento/Setup/", "Magento": "app/code/Magento/", "ZendMvcController": "setup/src/Zend/Mvc/Controller/" }


      Then run:




      composer dumpautoload




      And rerun:




      php bin/magento setup:upgrade




      And it works!



      Regards,
      JOINSO






      share|improve this answer


























        -1












        -1








        -1






        Solved following this steps:



        Come back to the previous version of composer.json
        Following instruction from How to Upgrade magento version from 2.2.X to 2.3.0?



        In the last step, it says: sjparkinson/static-review is not required in your composer.json and has not been removed fabpot/php-cs-fixer is not required in your composer.json and has not been removed



        Run: # composer upgrade



        Then you can get errors like this when you try to do:



        php bin/magento setup:upgrade ... Class 'ZendMvcControllerLazyControllerAbstractFactory' not found ...


        So you must to edit the composer.json file and modify the autoload section:



        "autoload": { "psr-4": { "MagentoFramework": "lib/internal/Magento/Framework/", "MagentoSetup": "setup/src/Magento/Setup/", "Magento": "app/code/Magento/", "ZendMvcController": "setup/src/Zend/Mvc/Controller/" }


        Then run:




        composer dumpautoload




        And rerun:




        php bin/magento setup:upgrade




        And it works!



        Regards,
        JOINSO






        share|improve this answer














        Solved following this steps:



        Come back to the previous version of composer.json
        Following instruction from How to Upgrade magento version from 2.2.X to 2.3.0?



        In the last step, it says: sjparkinson/static-review is not required in your composer.json and has not been removed fabpot/php-cs-fixer is not required in your composer.json and has not been removed



        Run: # composer upgrade



        Then you can get errors like this when you try to do:



        php bin/magento setup:upgrade ... Class 'ZendMvcControllerLazyControllerAbstractFactory' not found ...


        So you must to edit the composer.json file and modify the autoload section:



        "autoload": { "psr-4": { "MagentoFramework": "lib/internal/Magento/Framework/", "MagentoSetup": "setup/src/Magento/Setup/", "Magento": "app/code/Magento/", "ZendMvcController": "setup/src/Zend/Mvc/Controller/" }


        Then run:




        composer dumpautoload




        And rerun:




        php bin/magento setup:upgrade




        And it works!



        Regards,
        JOINSO







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 2 '18 at 19:24









        Rama Chandran M

        2,71181430




        2,71181430










        answered Dec 2 '18 at 19:03









        JOINSOJOINSO

        45




        45






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f252048%2fupgrade-magento-from-2-2-6-to-2-3%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            1300-talet

            1300-talet

            Display a custom attribute below product name in the front-end Magento 1.9.3.8