Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inet_ntop(): Invalid in_addr value #33

Closed
csdougliss opened this issue Dec 23, 2015 · 5 comments
Closed

inet_ntop(): Invalid in_addr value #33

csdougliss opened this issue Dec 23, 2015 · 5 comments

Comments

@csdougliss
Copy link

bin/magento migrate:data vendor/magento/data-migration-tool-ee/etc/ee-to-ee/1.14.2.2/config.xml

[2015-12-23 17:09:32][INFO][mode: data][stage: integrity check][step: EAV Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: integrity check][step: Custom Customer Attributes Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: integrity check][step: Customer Attributes Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: integrity check][step: Map Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: integrity check][step: Url Rewrite Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: integrity check][step: Log Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: integrity check][step: Ratings Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: integrity check][step: SalesOrder Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: integrity check][step: ConfigurablePrices step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: integrity check][step: OrderGrids Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: integrity check][step: Tier Price Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: integrity check][step: SalesIncrement Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: integrity check][step: VisualMerchandiser Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: setup triggers][step: Stage]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: data migration][step: EAV Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: volume check][step: EAV Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: data migration][step: Custom Customer Attributes Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: volume check][step: Custom Customer Attributes Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: data migration][step: Customer Attributes Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: volume check][step: Customer Attributes Step]: started
[2015-12-23 17:09:32][INFO][mode: data][stage: data migration][step: Map Step]: started
29% [========>-------------------] Remaining Time: 2 secs


  [ErrorException]                    
  inet_ntop(): Invalid in_addr value  



migrate:data [-r|--reset] config
@chrissm79
Copy link

Got the same issue attempting to migrate ce 1.9.2.2 at the same step with the same amount of remaining time

@csdougliss
Copy link
Author

Anybody there??

@bh-ref
Copy link

bh-ref commented Jan 6, 2016

I had the same problem. a quick fix (but very likely the wrong way to do it):

Change line 40 of the file /var/www/users/qualipet2/src/m2-qp/www/vendor/magento/data-migration-tool/src/Migration/Handler/ConvertIp.php to the following:

$newValue = ip2long($value);

Once again, I did this just to finish the migration. This seems to be the place were the error occurs, but I don't know what would be an appropriate fix

@victor-v-rad
Copy link
Collaborator

I believe this issue will be fixed in the near release of the Migration Tool. According internal issue (MAGETWO-47803) was created to solve it. As for now please use the fix from above.

@ilol
Copy link

ilol commented Feb 2, 2016

The patch will be released this week

victor-v-rad pushed a commit to victor-v-rad/data-migration-tool that referenced this issue Feb 11, 2016
victor-v-rad pushed a commit to victor-v-rad/data-migration-tool that referenced this issue Feb 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants