How to Upgrade magento version from 2.2.X to 2.3.0?












3















I have tried using bellow command but getting errors




  • Command 1:



composer require magento/product-community-edition 2.3.0 --no-update





  • Command 2:



composer update




Output:



Problem 1
- Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].
- magento/product-community-edition 2.3.0 requires magento/framework 102.0.0 -> satisfiable by magento/framework[102.0.0].
- Conclusion: don't install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.1|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.4|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.5|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.6|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.7|install symfony/console v2.8.38


if anyone has an idea help me..!










share|improve this question

























  • devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html

    – Navin Bhudiya
    Nov 29 '18 at 10:47
















3















I have tried using bellow command but getting errors




  • Command 1:



composer require magento/product-community-edition 2.3.0 --no-update





  • Command 2:



composer update




Output:



Problem 1
- Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].
- magento/product-community-edition 2.3.0 requires magento/framework 102.0.0 -> satisfiable by magento/framework[102.0.0].
- Conclusion: don't install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.1|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.4|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.5|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.6|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.7|install symfony/console v2.8.38


if anyone has an idea help me..!










share|improve this question

























  • devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html

    – Navin Bhudiya
    Nov 29 '18 at 10:47














3












3








3


3






I have tried using bellow command but getting errors




  • Command 1:



composer require magento/product-community-edition 2.3.0 --no-update





  • Command 2:



composer update




Output:



Problem 1
- Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].
- magento/product-community-edition 2.3.0 requires magento/framework 102.0.0 -> satisfiable by magento/framework[102.0.0].
- Conclusion: don't install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.1|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.4|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.5|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.6|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.7|install symfony/console v2.8.38


if anyone has an idea help me..!










share|improve this question
















I have tried using bellow command but getting errors




  • Command 1:



composer require magento/product-community-edition 2.3.0 --no-update





  • Command 2:



composer update




Output:



Problem 1
- Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].
- magento/product-community-edition 2.3.0 requires magento/framework 102.0.0 -> satisfiable by magento/framework[102.0.0].
- Conclusion: don't install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0-BETA3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.0|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.1|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.2|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.3|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.4|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.5|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.6|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.7|install symfony/console v2.8.38


if anyone has an idea help me..!







magento2.3.0






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 6 '18 at 12:59









Ashish Viradiya

681520




681520










asked Nov 29 '18 at 10:19









Navin BhudiyaNavin Bhudiya

7381024




7381024













  • devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html

    – Navin Bhudiya
    Nov 29 '18 at 10:47



















  • devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html

    – Navin Bhudiya
    Nov 29 '18 at 10:47

















devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html

– Navin Bhudiya
Nov 29 '18 at 10:47





devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html

– Navin Bhudiya
Nov 29 '18 at 10:47










5 Answers
5






active

oldest

votes


















9














I think you are skipping some steps.
Make sure you are specifying additional packages required :



composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update


and remove unused packages :



composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update


You are getting the error mainly because of the fabpot/php-cs-fixer



Also, make sure you read Magento docs



https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html



Hope this helps.






share|improve this answer

































    2














    Here are the steps to upgrade Magento 2.2.x to 2.3.0



    Step 1: Backup code and database



    Step 2:



    composer require magento/product-community-edition=2.3.0 --no-update


    Step 3:



    composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update


    Step 4:



    composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update


    Step 5:
    add “ZendMvcController”: “setup/src/Zend/Mvc/Controller/”: around line 47 under psr-4 section.



    Step 6:



    composer update


    Detail information found on this post






    share|improve this answer































      0














      Here are the steps I used to successfully update Magento 2.2.6 to 2.3.0. I have divided the steps into two parts:



      Part 1:




      • php bin/magento deploy:mode:set developer

      • php bin/magento cache:disable

      • php bin/magento maintenance:enable

      • composer require magento/product-community-edition 2.3.0 --no-update

      • composer update


      POSSIBLE ERROR: You might get the following error:
      Can only install one of: symfony/console[v4.1.0, v3.4.9].
      - magento/magento2-base 2.3.0 requires symfony/console ~4.1.0 -> satisfiable by symfony/console[v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
      - Conclusion: don't install sebastian/phpcpd 2.0.4|don't install symfony/console v4.1.1|install symfony/console v2.8.38
      - Installation request for sebastian/phpcpd 2.0.4 -> satisfiable by sebastian/phpcpd[2.0.4].



      GOTO PART 2 FOR SOLUTION



      Part 2:




      • composer config preferred-install dist

      • composer config sort-packages true

      • composer config prefer-stable true

      • composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update

      • composer require --dev sebastian/phpcpd:~3.0.0 --no-update

      • php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'

      • composer update

      • rm -rf var/cache/* var/page_cache/* var/generation/*

      • php bin/magento setup:upgrade

      • php bin/magento setup:di:compile

      • php bin/magento cache:enable

      • php bin/magento maintenance:disable

      • php bin/magento indexer:reindex && php bin/magento cache:clean && php bin/magento cache:flush


      Now, Magento 2.2.6 should have been SUCCESSFULLY UPGRADED to MAGENTO 2.3.0






      share|improve this answer

































        0














        enter image description here



        With all the new stuff coming to Magento 2.3.0 you might want to try out the upgrade process to the latest 2.3.0 release. Before you start, see this infograph to know the steps to upgrade from Magento 2.2 to Magento 2.3.






        share|improve this answer































          -1














          To Upgrade From Magento 2.2 To Magento 2.3, We need out to follow some steps that can be helpful for us. Just click on above link and and make be better to upgrade your Magento version.






          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%2f251778%2fhow-to-upgrade-magento-version-from-2-2-x-to-2-3-0%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            5 Answers
            5






            active

            oldest

            votes








            5 Answers
            5






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            9














            I think you are skipping some steps.
            Make sure you are specifying additional packages required :



            composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update


            and remove unused packages :



            composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update


            You are getting the error mainly because of the fabpot/php-cs-fixer



            Also, make sure you read Magento docs



            https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html



            Hope this helps.






            share|improve this answer






























              9














              I think you are skipping some steps.
              Make sure you are specifying additional packages required :



              composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update


              and remove unused packages :



              composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update


              You are getting the error mainly because of the fabpot/php-cs-fixer



              Also, make sure you read Magento docs



              https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html



              Hope this helps.






              share|improve this answer




























                9












                9








                9







                I think you are skipping some steps.
                Make sure you are specifying additional packages required :



                composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update


                and remove unused packages :



                composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update


                You are getting the error mainly because of the fabpot/php-cs-fixer



                Also, make sure you read Magento docs



                https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html



                Hope this helps.






                share|improve this answer















                I think you are skipping some steps.
                Make sure you are specifying additional packages required :



                composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update


                and remove unused packages :



                composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update


                You are getting the error mainly because of the fabpot/php-cs-fixer



                Also, make sure you read Magento docs



                https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html



                Hope this helps.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 10 mins ago









                Quan Le

                1,3321717




                1,3321717










                answered Nov 29 '18 at 10:45









                DanielDaniel

                1061




                1061

























                    2














                    Here are the steps to upgrade Magento 2.2.x to 2.3.0



                    Step 1: Backup code and database



                    Step 2:



                    composer require magento/product-community-edition=2.3.0 --no-update


                    Step 3:



                    composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update


                    Step 4:



                    composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update


                    Step 5:
                    add “ZendMvcController”: “setup/src/Zend/Mvc/Controller/”: around line 47 under psr-4 section.



                    Step 6:



                    composer update


                    Detail information found on this post






                    share|improve this answer




























                      2














                      Here are the steps to upgrade Magento 2.2.x to 2.3.0



                      Step 1: Backup code and database



                      Step 2:



                      composer require magento/product-community-edition=2.3.0 --no-update


                      Step 3:



                      composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update


                      Step 4:



                      composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update


                      Step 5:
                      add “ZendMvcController”: “setup/src/Zend/Mvc/Controller/”: around line 47 under psr-4 section.



                      Step 6:



                      composer update


                      Detail information found on this post






                      share|improve this answer


























                        2












                        2








                        2







                        Here are the steps to upgrade Magento 2.2.x to 2.3.0



                        Step 1: Backup code and database



                        Step 2:



                        composer require magento/product-community-edition=2.3.0 --no-update


                        Step 3:



                        composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update


                        Step 4:



                        composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update


                        Step 5:
                        add “ZendMvcController”: “setup/src/Zend/Mvc/Controller/”: around line 47 under psr-4 section.



                        Step 6:



                        composer update


                        Detail information found on this post






                        share|improve this answer













                        Here are the steps to upgrade Magento 2.2.x to 2.3.0



                        Step 1: Backup code and database



                        Step 2:



                        composer require magento/product-community-edition=2.3.0 --no-update


                        Step 3:



                        composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update


                        Step 4:



                        composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update


                        Step 5:
                        add “ZendMvcController”: “setup/src/Zend/Mvc/Controller/”: around line 47 under psr-4 section.



                        Step 6:



                        composer update


                        Detail information found on this post







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Dec 11 '18 at 8:32









                        chirag dodiachirag dodia

                        73731021




                        73731021























                            0














                            Here are the steps I used to successfully update Magento 2.2.6 to 2.3.0. I have divided the steps into two parts:



                            Part 1:




                            • php bin/magento deploy:mode:set developer

                            • php bin/magento cache:disable

                            • php bin/magento maintenance:enable

                            • composer require magento/product-community-edition 2.3.0 --no-update

                            • composer update


                            POSSIBLE ERROR: You might get the following error:
                            Can only install one of: symfony/console[v4.1.0, v3.4.9].
                            - magento/magento2-base 2.3.0 requires symfony/console ~4.1.0 -> satisfiable by symfony/console[v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
                            - Conclusion: don't install sebastian/phpcpd 2.0.4|don't install symfony/console v4.1.1|install symfony/console v2.8.38
                            - Installation request for sebastian/phpcpd 2.0.4 -> satisfiable by sebastian/phpcpd[2.0.4].



                            GOTO PART 2 FOR SOLUTION



                            Part 2:




                            • composer config preferred-install dist

                            • composer config sort-packages true

                            • composer config prefer-stable true

                            • composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update

                            • composer require --dev sebastian/phpcpd:~3.0.0 --no-update

                            • php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'

                            • composer update

                            • rm -rf var/cache/* var/page_cache/* var/generation/*

                            • php bin/magento setup:upgrade

                            • php bin/magento setup:di:compile

                            • php bin/magento cache:enable

                            • php bin/magento maintenance:disable

                            • php bin/magento indexer:reindex && php bin/magento cache:clean && php bin/magento cache:flush


                            Now, Magento 2.2.6 should have been SUCCESSFULLY UPGRADED to MAGENTO 2.3.0






                            share|improve this answer






























                              0














                              Here are the steps I used to successfully update Magento 2.2.6 to 2.3.0. I have divided the steps into two parts:



                              Part 1:




                              • php bin/magento deploy:mode:set developer

                              • php bin/magento cache:disable

                              • php bin/magento maintenance:enable

                              • composer require magento/product-community-edition 2.3.0 --no-update

                              • composer update


                              POSSIBLE ERROR: You might get the following error:
                              Can only install one of: symfony/console[v4.1.0, v3.4.9].
                              - magento/magento2-base 2.3.0 requires symfony/console ~4.1.0 -> satisfiable by symfony/console[v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
                              - Conclusion: don't install sebastian/phpcpd 2.0.4|don't install symfony/console v4.1.1|install symfony/console v2.8.38
                              - Installation request for sebastian/phpcpd 2.0.4 -> satisfiable by sebastian/phpcpd[2.0.4].



                              GOTO PART 2 FOR SOLUTION



                              Part 2:




                              • composer config preferred-install dist

                              • composer config sort-packages true

                              • composer config prefer-stable true

                              • composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update

                              • composer require --dev sebastian/phpcpd:~3.0.0 --no-update

                              • php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'

                              • composer update

                              • rm -rf var/cache/* var/page_cache/* var/generation/*

                              • php bin/magento setup:upgrade

                              • php bin/magento setup:di:compile

                              • php bin/magento cache:enable

                              • php bin/magento maintenance:disable

                              • php bin/magento indexer:reindex && php bin/magento cache:clean && php bin/magento cache:flush


                              Now, Magento 2.2.6 should have been SUCCESSFULLY UPGRADED to MAGENTO 2.3.0






                              share|improve this answer




























                                0












                                0








                                0







                                Here are the steps I used to successfully update Magento 2.2.6 to 2.3.0. I have divided the steps into two parts:



                                Part 1:




                                • php bin/magento deploy:mode:set developer

                                • php bin/magento cache:disable

                                • php bin/magento maintenance:enable

                                • composer require magento/product-community-edition 2.3.0 --no-update

                                • composer update


                                POSSIBLE ERROR: You might get the following error:
                                Can only install one of: symfony/console[v4.1.0, v3.4.9].
                                - magento/magento2-base 2.3.0 requires symfony/console ~4.1.0 -> satisfiable by symfony/console[v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
                                - Conclusion: don't install sebastian/phpcpd 2.0.4|don't install symfony/console v4.1.1|install symfony/console v2.8.38
                                - Installation request for sebastian/phpcpd 2.0.4 -> satisfiable by sebastian/phpcpd[2.0.4].



                                GOTO PART 2 FOR SOLUTION



                                Part 2:




                                • composer config preferred-install dist

                                • composer config sort-packages true

                                • composer config prefer-stable true

                                • composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update

                                • composer require --dev sebastian/phpcpd:~3.0.0 --no-update

                                • php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'

                                • composer update

                                • rm -rf var/cache/* var/page_cache/* var/generation/*

                                • php bin/magento setup:upgrade

                                • php bin/magento setup:di:compile

                                • php bin/magento cache:enable

                                • php bin/magento maintenance:disable

                                • php bin/magento indexer:reindex && php bin/magento cache:clean && php bin/magento cache:flush


                                Now, Magento 2.2.6 should have been SUCCESSFULLY UPGRADED to MAGENTO 2.3.0






                                share|improve this answer















                                Here are the steps I used to successfully update Magento 2.2.6 to 2.3.0. I have divided the steps into two parts:



                                Part 1:




                                • php bin/magento deploy:mode:set developer

                                • php bin/magento cache:disable

                                • php bin/magento maintenance:enable

                                • composer require magento/product-community-edition 2.3.0 --no-update

                                • composer update


                                POSSIBLE ERROR: You might get the following error:
                                Can only install one of: symfony/console[v4.1.0, v3.4.9].
                                - magento/magento2-base 2.3.0 requires symfony/console ~4.1.0 -> satisfiable by symfony/console[v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
                                - Conclusion: don't install sebastian/phpcpd 2.0.4|don't install symfony/console v4.1.1|install symfony/console v2.8.38
                                - Installation request for sebastian/phpcpd 2.0.4 -> satisfiable by sebastian/phpcpd[2.0.4].



                                GOTO PART 2 FOR SOLUTION



                                Part 2:




                                • composer config preferred-install dist

                                • composer config sort-packages true

                                • composer config prefer-stable true

                                • composer require --dev friendsofphp/php-cs-fixer:~2.10.0 --no-update

                                • composer require --dev sebastian/phpcpd:~3.0.0 --no-update

                                • php -r '$autoload=json_decode(file_get_contents("composer.json"), true); $autoload["autoload"]["psr-4"]["ZendMvcController"]= "setup/src/Zend/Mvc/Controller/"; file_put_contents("composer.json", json_encode($autoload, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));'

                                • composer update

                                • rm -rf var/cache/* var/page_cache/* var/generation/*

                                • php bin/magento setup:upgrade

                                • php bin/magento setup:di:compile

                                • php bin/magento cache:enable

                                • php bin/magento maintenance:disable

                                • php bin/magento indexer:reindex && php bin/magento cache:clean && php bin/magento cache:flush


                                Now, Magento 2.2.6 should have been SUCCESSFULLY UPGRADED to MAGENTO 2.3.0







                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Dec 18 '18 at 16:05

























                                answered Dec 18 '18 at 12:43









                                eVagabondeVagabond

                                389




                                389























                                    0














                                    enter image description here



                                    With all the new stuff coming to Magento 2.3.0 you might want to try out the upgrade process to the latest 2.3.0 release. Before you start, see this infograph to know the steps to upgrade from Magento 2.2 to Magento 2.3.






                                    share|improve this answer




























                                      0














                                      enter image description here



                                      With all the new stuff coming to Magento 2.3.0 you might want to try out the upgrade process to the latest 2.3.0 release. Before you start, see this infograph to know the steps to upgrade from Magento 2.2 to Magento 2.3.






                                      share|improve this answer


























                                        0












                                        0








                                        0







                                        enter image description here



                                        With all the new stuff coming to Magento 2.3.0 you might want to try out the upgrade process to the latest 2.3.0 release. Before you start, see this infograph to know the steps to upgrade from Magento 2.2 to Magento 2.3.






                                        share|improve this answer













                                        enter image description here



                                        With all the new stuff coming to Magento 2.3.0 you might want to try out the upgrade process to the latest 2.3.0 release. Before you start, see this infograph to know the steps to upgrade from Magento 2.2 to Magento 2.3.







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Jan 11 at 7:16









                                        Nilesh KothariNilesh Kothari

                                        194




                                        194























                                            -1














                                            To Upgrade From Magento 2.2 To Magento 2.3, We need out to follow some steps that can be helpful for us. Just click on above link and and make be better to upgrade your Magento version.






                                            share|improve this answer




























                                              -1














                                              To Upgrade From Magento 2.2 To Magento 2.3, We need out to follow some steps that can be helpful for us. Just click on above link and and make be better to upgrade your Magento version.






                                              share|improve this answer


























                                                -1












                                                -1








                                                -1







                                                To Upgrade From Magento 2.2 To Magento 2.3, We need out to follow some steps that can be helpful for us. Just click on above link and and make be better to upgrade your Magento version.






                                                share|improve this answer













                                                To Upgrade From Magento 2.2 To Magento 2.3, We need out to follow some steps that can be helpful for us. Just click on above link and and make be better to upgrade your Magento version.







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Dec 18 '18 at 12:29









                                                John DrydenJohn Dryden

                                                11




                                                11






























                                                    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.




                                                    draft saved


                                                    draft discarded














                                                    StackExchange.ready(
                                                    function () {
                                                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f251778%2fhow-to-upgrade-magento-version-from-2-2-x-to-2-3-0%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

                                                    Polycentropodidae

                                                    Magento 2 Error message: Invalid state change requested

                                                    Paulmy