magento 2.2.6 to 2.3 upgrade fails with composer












2















I tried to upgrade my 2.2.6 Magento install with composer following the tutorial on Magento Website, but "composer update" fails with these errors :



Your requirements could not be resolved to an installable set of packages.



Problem 1
- magento/inventory-composer-installer 1.0.3 requires composer-plugin-api ^1.1 -> no matching package found.
- magento/product-community-edition 2.3.0 requires magento/inventory-composer-metapackage ^1.0.3 -> satisfiable by magento/inventory-composer-metapackage[1.0.3].
- magento/inventory-composer-metapackage 1.0.3 requires magento/inventory-composer-installer ^1.0.3 -> satisfiable by magento/inventory-composer-installer[1.0.3].
- Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].

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.




Anyone experiencing this issue ?
Thank you, Magento gurus :)










share|improve this question





























    2















    I tried to upgrade my 2.2.6 Magento install with composer following the tutorial on Magento Website, but "composer update" fails with these errors :



    Your requirements could not be resolved to an installable set of packages.



    Problem 1
    - magento/inventory-composer-installer 1.0.3 requires composer-plugin-api ^1.1 -> no matching package found.
    - magento/product-community-edition 2.3.0 requires magento/inventory-composer-metapackage ^1.0.3 -> satisfiable by magento/inventory-composer-metapackage[1.0.3].
    - magento/inventory-composer-metapackage 1.0.3 requires magento/inventory-composer-installer ^1.0.3 -> satisfiable by magento/inventory-composer-installer[1.0.3].
    - Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].

    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.




    Anyone experiencing this issue ?
    Thank you, Magento gurus :)










    share|improve this question



























      2












      2








      2








      I tried to upgrade my 2.2.6 Magento install with composer following the tutorial on Magento Website, but "composer update" fails with these errors :



      Your requirements could not be resolved to an installable set of packages.



      Problem 1
      - magento/inventory-composer-installer 1.0.3 requires composer-plugin-api ^1.1 -> no matching package found.
      - magento/product-community-edition 2.3.0 requires magento/inventory-composer-metapackage ^1.0.3 -> satisfiable by magento/inventory-composer-metapackage[1.0.3].
      - magento/inventory-composer-metapackage 1.0.3 requires magento/inventory-composer-installer ^1.0.3 -> satisfiable by magento/inventory-composer-installer[1.0.3].
      - Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].

      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.




      Anyone experiencing this issue ?
      Thank you, Magento gurus :)










      share|improve this question
















      I tried to upgrade my 2.2.6 Magento install with composer following the tutorial on Magento Website, but "composer update" fails with these errors :



      Your requirements could not be resolved to an installable set of packages.



      Problem 1
      - magento/inventory-composer-installer 1.0.3 requires composer-plugin-api ^1.1 -> no matching package found.
      - magento/product-community-edition 2.3.0 requires magento/inventory-composer-metapackage ^1.0.3 -> satisfiable by magento/inventory-composer-metapackage[1.0.3].
      - magento/inventory-composer-metapackage 1.0.3 requires magento/inventory-composer-installer ^1.0.3 -> satisfiable by magento/inventory-composer-installer[1.0.3].
      - Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].

      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.




      Anyone experiencing this issue ?
      Thank you, Magento gurus :)







      upgrade composer magento2.2.6 magento2.3 magento2.1.16






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 3 '18 at 18:27









      Rohan Hapani

      1




      1










      asked Nov 29 '18 at 15:33









      JG CabanasJG Cabanas

      1114




      1114






















          3 Answers
          3






          active

          oldest

          votes


















          2














          Did you follow the 2.3.0 upgrade documentation? The process is a little more involved for 2.3.0 than previous versions.



          Due to new dependency versions (primarily related to 2.3.0 adding support for PHP 7.2 and dropping support for PHP 7.0), there are some changes that need to be made to your composer.json file before running composer update. To ease this process, there is a script that will make the changes for you, just be careful if you've made any customizations to the relevant values as the script will overwrite them; if you have, use and adjust the steps in the Upgrade using the command line section instead.





          If you did follow the documentation to update your composer.json file and you get that error, it looks like you may have an incompatible version of Composer (composer-plugin-api is provided natively by Composer itself). Can you run composer --version, composer show composer/composer | grep versions, and composer depends composer/composer in your Magento root directory and provide those results here? I just installed Magento 2.2.6 locally and followed the documented upgrade instructions to 2.3.0 and this is the output of those commands I have:



          Composer executable version (composer.phar):



          $ composer --version
          Composer version 1.7.2 2018-08-16 16:57:12


          Magento 2.2.6:





          • Installed composer/composer package version:



            $ composer show composer/composer | grep versions
            versions : * 1.4.1



          • Dependencies which have composer/composer requirements and their constraints:



            $ composer depends composer/composer
            magento/composer 1.2.0 requires composer/composer (1.4.1)
            magento/framework 101.0.6 requires composer/composer (^1.4)
            magento/magento2-base 2.2.6 requires composer/composer (1.4.1)
            magento/product-community-edition 2.2.6 requires composer/composer (1.4.1)
            magento/project-community-edition 2.2.6 requires composer/composer (@alpha)



          After the Magento 2.3.0 upgrade:





          • Installed composer/composer package version:



            $ composer show composer/composer | grep versions
            versions : * 1.7.3



          • Dependencies which have composer/composer requirements and their constraints:



            $ composer depends composer/composer
            magento/composer 1.4.0 requires composer/composer (^1.6)
            magento/framework 102.0.0 requires composer/composer (^1.6)
            magento/magento2-base 2.3.0 requires composer/composer (^1.6)
            magento/product-community-edition 2.3.0 requires composer/composer (^1.6)
            magento/project-community-edition 2.3.0 requires composer/composer (@alpha)







          share|improve this answer
























          • Running the script from the docs fixed the issue, thanks

            – snez
            17 hours ago



















          0














          For Upgrade Magento 2.2.* to Magento 2.3.0,
          you can easily upgrade using Magento command line,



          You need to follow four steps to upgrade from older version to latest version Magento 2.3



          For upgrade to Magento 2.3 You must required PHP 7.1.3+ or PHP 7.2.



          You can't simply upgrade using Composer update command only.



          Check links for step by step Upgrade Magento, Upgrade Magento 2.2 to Magento 2.3.0



          Hope you will be helpful above steps.






          share|improve this answer
























          • I updated Composer, thanks to your tip. But I still have unmet dependencies, but it's only because I use an extension (Owebia) which is still not 2.3 compatible...

            – JG Cabanas
            Dec 18 '18 at 12:06



















          0














          It seems like that you need to upgrade your composer version. You can check your composer version by using this below command :



          composer --version


          And your php version also should be 7.1.3 + or 7.2



          For upgrade composer. You can follow this link



          Hope, It maybe helpful for you.






          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%2f251838%2fmagento-2-2-6-to-2-3-upgrade-fails-with-composer%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            Did you follow the 2.3.0 upgrade documentation? The process is a little more involved for 2.3.0 than previous versions.



            Due to new dependency versions (primarily related to 2.3.0 adding support for PHP 7.2 and dropping support for PHP 7.0), there are some changes that need to be made to your composer.json file before running composer update. To ease this process, there is a script that will make the changes for you, just be careful if you've made any customizations to the relevant values as the script will overwrite them; if you have, use and adjust the steps in the Upgrade using the command line section instead.





            If you did follow the documentation to update your composer.json file and you get that error, it looks like you may have an incompatible version of Composer (composer-plugin-api is provided natively by Composer itself). Can you run composer --version, composer show composer/composer | grep versions, and composer depends composer/composer in your Magento root directory and provide those results here? I just installed Magento 2.2.6 locally and followed the documented upgrade instructions to 2.3.0 and this is the output of those commands I have:



            Composer executable version (composer.phar):



            $ composer --version
            Composer version 1.7.2 2018-08-16 16:57:12


            Magento 2.2.6:





            • Installed composer/composer package version:



              $ composer show composer/composer | grep versions
              versions : * 1.4.1



            • Dependencies which have composer/composer requirements and their constraints:



              $ composer depends composer/composer
              magento/composer 1.2.0 requires composer/composer (1.4.1)
              magento/framework 101.0.6 requires composer/composer (^1.4)
              magento/magento2-base 2.2.6 requires composer/composer (1.4.1)
              magento/product-community-edition 2.2.6 requires composer/composer (1.4.1)
              magento/project-community-edition 2.2.6 requires composer/composer (@alpha)



            After the Magento 2.3.0 upgrade:





            • Installed composer/composer package version:



              $ composer show composer/composer | grep versions
              versions : * 1.7.3



            • Dependencies which have composer/composer requirements and their constraints:



              $ composer depends composer/composer
              magento/composer 1.4.0 requires composer/composer (^1.6)
              magento/framework 102.0.0 requires composer/composer (^1.6)
              magento/magento2-base 2.3.0 requires composer/composer (^1.6)
              magento/product-community-edition 2.3.0 requires composer/composer (^1.6)
              magento/project-community-edition 2.3.0 requires composer/composer (@alpha)







            share|improve this answer
























            • Running the script from the docs fixed the issue, thanks

              – snez
              17 hours ago
















            2














            Did you follow the 2.3.0 upgrade documentation? The process is a little more involved for 2.3.0 than previous versions.



            Due to new dependency versions (primarily related to 2.3.0 adding support for PHP 7.2 and dropping support for PHP 7.0), there are some changes that need to be made to your composer.json file before running composer update. To ease this process, there is a script that will make the changes for you, just be careful if you've made any customizations to the relevant values as the script will overwrite them; if you have, use and adjust the steps in the Upgrade using the command line section instead.





            If you did follow the documentation to update your composer.json file and you get that error, it looks like you may have an incompatible version of Composer (composer-plugin-api is provided natively by Composer itself). Can you run composer --version, composer show composer/composer | grep versions, and composer depends composer/composer in your Magento root directory and provide those results here? I just installed Magento 2.2.6 locally and followed the documented upgrade instructions to 2.3.0 and this is the output of those commands I have:



            Composer executable version (composer.phar):



            $ composer --version
            Composer version 1.7.2 2018-08-16 16:57:12


            Magento 2.2.6:





            • Installed composer/composer package version:



              $ composer show composer/composer | grep versions
              versions : * 1.4.1



            • Dependencies which have composer/composer requirements and their constraints:



              $ composer depends composer/composer
              magento/composer 1.2.0 requires composer/composer (1.4.1)
              magento/framework 101.0.6 requires composer/composer (^1.4)
              magento/magento2-base 2.2.6 requires composer/composer (1.4.1)
              magento/product-community-edition 2.2.6 requires composer/composer (1.4.1)
              magento/project-community-edition 2.2.6 requires composer/composer (@alpha)



            After the Magento 2.3.0 upgrade:





            • Installed composer/composer package version:



              $ composer show composer/composer | grep versions
              versions : * 1.7.3



            • Dependencies which have composer/composer requirements and their constraints:



              $ composer depends composer/composer
              magento/composer 1.4.0 requires composer/composer (^1.6)
              magento/framework 102.0.0 requires composer/composer (^1.6)
              magento/magento2-base 2.3.0 requires composer/composer (^1.6)
              magento/product-community-edition 2.3.0 requires composer/composer (^1.6)
              magento/project-community-edition 2.3.0 requires composer/composer (@alpha)







            share|improve this answer
























            • Running the script from the docs fixed the issue, thanks

              – snez
              17 hours ago














            2












            2








            2







            Did you follow the 2.3.0 upgrade documentation? The process is a little more involved for 2.3.0 than previous versions.



            Due to new dependency versions (primarily related to 2.3.0 adding support for PHP 7.2 and dropping support for PHP 7.0), there are some changes that need to be made to your composer.json file before running composer update. To ease this process, there is a script that will make the changes for you, just be careful if you've made any customizations to the relevant values as the script will overwrite them; if you have, use and adjust the steps in the Upgrade using the command line section instead.





            If you did follow the documentation to update your composer.json file and you get that error, it looks like you may have an incompatible version of Composer (composer-plugin-api is provided natively by Composer itself). Can you run composer --version, composer show composer/composer | grep versions, and composer depends composer/composer in your Magento root directory and provide those results here? I just installed Magento 2.2.6 locally and followed the documented upgrade instructions to 2.3.0 and this is the output of those commands I have:



            Composer executable version (composer.phar):



            $ composer --version
            Composer version 1.7.2 2018-08-16 16:57:12


            Magento 2.2.6:





            • Installed composer/composer package version:



              $ composer show composer/composer | grep versions
              versions : * 1.4.1



            • Dependencies which have composer/composer requirements and their constraints:



              $ composer depends composer/composer
              magento/composer 1.2.0 requires composer/composer (1.4.1)
              magento/framework 101.0.6 requires composer/composer (^1.4)
              magento/magento2-base 2.2.6 requires composer/composer (1.4.1)
              magento/product-community-edition 2.2.6 requires composer/composer (1.4.1)
              magento/project-community-edition 2.2.6 requires composer/composer (@alpha)



            After the Magento 2.3.0 upgrade:





            • Installed composer/composer package version:



              $ composer show composer/composer | grep versions
              versions : * 1.7.3



            • Dependencies which have composer/composer requirements and their constraints:



              $ composer depends composer/composer
              magento/composer 1.4.0 requires composer/composer (^1.6)
              magento/framework 102.0.0 requires composer/composer (^1.6)
              magento/magento2-base 2.3.0 requires composer/composer (^1.6)
              magento/product-community-edition 2.3.0 requires composer/composer (^1.6)
              magento/project-community-edition 2.3.0 requires composer/composer (@alpha)







            share|improve this answer













            Did you follow the 2.3.0 upgrade documentation? The process is a little more involved for 2.3.0 than previous versions.



            Due to new dependency versions (primarily related to 2.3.0 adding support for PHP 7.2 and dropping support for PHP 7.0), there are some changes that need to be made to your composer.json file before running composer update. To ease this process, there is a script that will make the changes for you, just be careful if you've made any customizations to the relevant values as the script will overwrite them; if you have, use and adjust the steps in the Upgrade using the command line section instead.





            If you did follow the documentation to update your composer.json file and you get that error, it looks like you may have an incompatible version of Composer (composer-plugin-api is provided natively by Composer itself). Can you run composer --version, composer show composer/composer | grep versions, and composer depends composer/composer in your Magento root directory and provide those results here? I just installed Magento 2.2.6 locally and followed the documented upgrade instructions to 2.3.0 and this is the output of those commands I have:



            Composer executable version (composer.phar):



            $ composer --version
            Composer version 1.7.2 2018-08-16 16:57:12


            Magento 2.2.6:





            • Installed composer/composer package version:



              $ composer show composer/composer | grep versions
              versions : * 1.4.1



            • Dependencies which have composer/composer requirements and their constraints:



              $ composer depends composer/composer
              magento/composer 1.2.0 requires composer/composer (1.4.1)
              magento/framework 101.0.6 requires composer/composer (^1.4)
              magento/magento2-base 2.2.6 requires composer/composer (1.4.1)
              magento/product-community-edition 2.2.6 requires composer/composer (1.4.1)
              magento/project-community-edition 2.2.6 requires composer/composer (@alpha)



            After the Magento 2.3.0 upgrade:





            • Installed composer/composer package version:



              $ composer show composer/composer | grep versions
              versions : * 1.7.3



            • Dependencies which have composer/composer requirements and their constraints:



              $ composer depends composer/composer
              magento/composer 1.4.0 requires composer/composer (^1.6)
              magento/framework 102.0.0 requires composer/composer (^1.6)
              magento/magento2-base 2.3.0 requires composer/composer (^1.6)
              magento/product-community-edition 2.3.0 requires composer/composer (^1.6)
              magento/project-community-edition 2.3.0 requires composer/composer (@alpha)








            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 29 '18 at 17:44









            Peter DohognePeter Dohogne

            513




            513













            • Running the script from the docs fixed the issue, thanks

              – snez
              17 hours ago



















            • Running the script from the docs fixed the issue, thanks

              – snez
              17 hours ago

















            Running the script from the docs fixed the issue, thanks

            – snez
            17 hours ago





            Running the script from the docs fixed the issue, thanks

            – snez
            17 hours ago













            0














            For Upgrade Magento 2.2.* to Magento 2.3.0,
            you can easily upgrade using Magento command line,



            You need to follow four steps to upgrade from older version to latest version Magento 2.3



            For upgrade to Magento 2.3 You must required PHP 7.1.3+ or PHP 7.2.



            You can't simply upgrade using Composer update command only.



            Check links for step by step Upgrade Magento, Upgrade Magento 2.2 to Magento 2.3.0



            Hope you will be helpful above steps.






            share|improve this answer
























            • I updated Composer, thanks to your tip. But I still have unmet dependencies, but it's only because I use an extension (Owebia) which is still not 2.3 compatible...

              – JG Cabanas
              Dec 18 '18 at 12:06
















            0














            For Upgrade Magento 2.2.* to Magento 2.3.0,
            you can easily upgrade using Magento command line,



            You need to follow four steps to upgrade from older version to latest version Magento 2.3



            For upgrade to Magento 2.3 You must required PHP 7.1.3+ or PHP 7.2.



            You can't simply upgrade using Composer update command only.



            Check links for step by step Upgrade Magento, Upgrade Magento 2.2 to Magento 2.3.0



            Hope you will be helpful above steps.






            share|improve this answer
























            • I updated Composer, thanks to your tip. But I still have unmet dependencies, but it's only because I use an extension (Owebia) which is still not 2.3 compatible...

              – JG Cabanas
              Dec 18 '18 at 12:06














            0












            0








            0







            For Upgrade Magento 2.2.* to Magento 2.3.0,
            you can easily upgrade using Magento command line,



            You need to follow four steps to upgrade from older version to latest version Magento 2.3



            For upgrade to Magento 2.3 You must required PHP 7.1.3+ or PHP 7.2.



            You can't simply upgrade using Composer update command only.



            Check links for step by step Upgrade Magento, Upgrade Magento 2.2 to Magento 2.3.0



            Hope you will be helpful above steps.






            share|improve this answer













            For Upgrade Magento 2.2.* to Magento 2.3.0,
            you can easily upgrade using Magento command line,



            You need to follow four steps to upgrade from older version to latest version Magento 2.3



            For upgrade to Magento 2.3 You must required PHP 7.1.3+ or PHP 7.2.



            You can't simply upgrade using Composer update command only.



            Check links for step by step Upgrade Magento, Upgrade Magento 2.2 to Magento 2.3.0



            Hope you will be helpful above steps.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 3 '18 at 18:21









            Rakesh JesadiyaRakesh Jesadiya

            29.3k1573120




            29.3k1573120













            • I updated Composer, thanks to your tip. But I still have unmet dependencies, but it's only because I use an extension (Owebia) which is still not 2.3 compatible...

              – JG Cabanas
              Dec 18 '18 at 12:06



















            • I updated Composer, thanks to your tip. But I still have unmet dependencies, but it's only because I use an extension (Owebia) which is still not 2.3 compatible...

              – JG Cabanas
              Dec 18 '18 at 12:06

















            I updated Composer, thanks to your tip. But I still have unmet dependencies, but it's only because I use an extension (Owebia) which is still not 2.3 compatible...

            – JG Cabanas
            Dec 18 '18 at 12:06





            I updated Composer, thanks to your tip. But I still have unmet dependencies, but it's only because I use an extension (Owebia) which is still not 2.3 compatible...

            – JG Cabanas
            Dec 18 '18 at 12:06











            0














            It seems like that you need to upgrade your composer version. You can check your composer version by using this below command :



            composer --version


            And your php version also should be 7.1.3 + or 7.2



            For upgrade composer. You can follow this link



            Hope, It maybe helpful for you.






            share|improve this answer




























              0














              It seems like that you need to upgrade your composer version. You can check your composer version by using this below command :



              composer --version


              And your php version also should be 7.1.3 + or 7.2



              For upgrade composer. You can follow this link



              Hope, It maybe helpful for you.






              share|improve this answer


























                0












                0








                0







                It seems like that you need to upgrade your composer version. You can check your composer version by using this below command :



                composer --version


                And your php version also should be 7.1.3 + or 7.2



                For upgrade composer. You can follow this link



                Hope, It maybe helpful for you.






                share|improve this answer













                It seems like that you need to upgrade your composer version. You can check your composer version by using this below command :



                composer --version


                And your php version also should be 7.1.3 + or 7.2



                For upgrade composer. You can follow this link



                Hope, It maybe helpful for you.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 3 '18 at 18:31









                Rohan HapaniRohan Hapani

                1




                1






























                    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%2f251838%2fmagento-2-2-6-to-2-3-upgrade-fails-with-composer%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