Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Duplicate entry during WP-CLI order migration command #58

Closed
lukecav opened this issue May 10, 2018 · 3 comments
Closed

Duplicate entry during WP-CLI order migration command #58

lukecav opened this issue May 10, 2018 · 3 comments
Labels
bug cli migration Issues related to the WP-CLI migration script duplicate

Comments

@lukecav
Copy link
Member

lukecav commented May 10, 2018

Ran into this issue during a orders migration wp wc-order-table migrate --allow-root

There are 19228 orders to be migrated.
Order Data Migration 49 % [===================> ] 1:03 / 2:06Error: A database error occurred while migrating order 30525: Duplicate entry '' for key 'order_key'.
root@default:/home/s9/html# There are 19228 orders to be migrated.
There: command not found
root@default:/home/s9/html# Order Data Migration 49 % [===================> ] 1:03 / 2:06Error: A database error occurred while migrating order 30525: Duplicate entry '' for key 'order_key'.

@lukecav lukecav added the bug label May 10, 2018
@lukecav
Copy link
Member Author

lukecav commented May 14, 2018

To clarify the version installed was from the dev branch.
wp plugin install https://github.com/liquidweb/woocommerce-custom-orders-table/archive/develop.zip --force --activate

@lukecav lukecav added the cli migration Issues related to the WP-CLI migration script label May 14, 2018
@stevegrunwell
Copy link
Contributor

Closing as a duplicate of #49.

@lukecav
Copy link
Member Author

lukecav commented May 18, 2018

There are 10445 orders to be migrated.
Order Data Migration 100% [=======================================] 0:50 / 0:49
thumbs up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug cli migration Issues related to the WP-CLI migration script duplicate
Projects
None yet
Development

No branches or pull requests

2 participants