cancel
Showing results for 
Search instead for 
Did you mean: 

Issue while Migrating from Magento1 to Magento223

Issue while Migrating from Magento1 to Magento223

Unknown package has no name defined ([{"name":"braintree\/braintree_php","version":"3.27.0","version_normalized":"3.27.0.0","source":{"type":"git","url":"https:\/\/github.com\/braintree\/braintree_php.git","reference":"25e8fd2886240ee825860376a9c78b456d52b39c"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/braintree\/braintree_php\/zipball\/25e8fd2886240ee825860376a9c78b456d52b39c","reference":"25e8fd2886240ee825860376a9c78b456d52b39c","shasum":""},"require":{"ext-curl":"*","ext-dom":"*","ext-hash":"*","ext-openssl":"*","ext-xmlwriter":"*","php":">=5.4.0"},"require-dev":{"phpunit\/phpunit":"3.7.*"},

data migration tool installed but not able run migration.
while trying to migrate settings getting the above issue.

Please suggest any solution.

3 REPLIES 3

Re: Issues while Magento 1 to Magento 2 migration

Also for your reference i find that the above error showing is the complete composer.lock file content.

Please suggest how to solve the issue.

Re: Issues while Magento 1 to Magento 2 migration

Also when tried to do the composer update to fix the above issue.
It gets the php version issue as below:

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

  Problem 1
    - Root composer.json requires magento/product-community-edition 2.2.3 -> satisfiable by magento/product-community-edition[2.2.3].
    - magento/product-community-edition 2.2.3 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your php version (5.6.40) does not satisfy that requirement.
  Problem 2
    - magento/framework[101.0.0, ..., 101.0.4] require php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your php version (5.6.40) does not satisfy that requirement.
    - magento/framework[101.0.5, ..., 101.0.9] require php ~7.0.13|~7.1.0 -> your php version (5.6.40) does not satisfy that requirement.
    - magento/framework 101.0.10 requires php ~7.0.13|~7.1.0|~7.2.0 -> your php version (5.6.40) does not satisfy that requirement.
    - magento/framework 101.0.11 requires php ~7.0.13||~7.1.0||~7.2.0 -> your php version (5.6.40) does not satisfy that requirement.
    - magento/data-migration-tool 2.2.3 requires magento/framework ~101.0.0 -> satisfiable by magento/framework[101.0.0, ..., 101.0.11].
    - Root composer.json requires magento/data-migration-tool 2.2.3 -> satisfiable by magento/data-migration-tool[2.2.3].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

But when we checked from the folder path it shows correct php version 7.0.33
In cpanel our default php version is 5.6.40, but we have assigned php version 7.0 to the domain.com and is working.

Now for migration from m1 to m2.2.3 we created a sub folder like domain.com/magento223

In this sub folder path when we trying to run migrate commands getting php version issue.

But when we check the php version in the subfolder it was showing correct as 7.0.


Please suggest any solution.

Re: Issues while Magento 1 to Magento 2 migration

Hi @Kiran,

 

To resolve I manually updated the packages that gave me errors one by one. Every update I did rerun composer:update. In the end, all the requirements were met and the update was successful. The PHP version was correct.

 

Now for the upgrade to version 2.3.2, I found the same problem. I found incompatible packages in composer.json and removed them. Then I discovered the existence of this parameter that was useful to me: composer require magento/product-community-edition 2.3.2 --update-with-all-dependencies.

 

Hope this can help you! Let me know if you need further assistance.

_________

If issue solved, Click Kudos & Accept as Solution.

LitExtension - #1 Shopping Cart Migration Expert

LitExtension helps store owners and agencies migrate all important data from one eCommerce platform to another accurately, securely and at the highest speed.

Visit website: http://litextension.com/