Delta migration not syncronizing customers

Dear Customer support,
I am trying to delta migrate customer but it says that is complete without migrating all the changes on magento 1 database.
Could you please advise me ?
Thanks

14 answers

Profile photo of ubdev Staff 65720.00 $tone July 10, 2020
Public

Hi there, 
 
We wonder you run the delta migration from our module’s dashboard (GUI mode) or via CLI mode. 
Depending on which changes you want to delta migrate, you should select the delta mode properly:  

  • GUI mode only if you migrate newly added data from your Magento 1 to Magento 2.
  • If you migrate both newly added data and modified data from your Magento 1 to Magento 2 since the first migration, you need to perform the delta migration with the CLI mode (using the --mode=update parameter).

Please try to run the delta once again following our Readme manual. If there’s any error notice, please do let us know here. 
 
PS. Since our team is off during the weekend, our apology for a certain delay in response if you reach out to us during this time. 
 
Regards,
Ubertheme team 

#1
Profile photo of Mall Staff 144590.00 $tone July 10, 2020
Public

Hi there,

I am trying to delta migrate customer but it says that is complete without migrating all the changes on magento 1 database.

Please try with these steps:

1.  Run the following SQL query in your M2 database:

Update ub_migrate_map_step_6 Set created_time = '2000-01-01 00:00:00' Where entity_name = 'customer_entity';

2. And then you run the delta migration in step #6 by running the CLI command:
php -f bin/ubdatamigration run --step=6 --mode=update;

Then check the issue you mentioned and let me know how it goes.
 
Regards,
Mall.

#3
Profile photo of Mall Staff 144590.00 $tone July 13, 2020
Public

Hi there,

i ‘ve tried that but is not synchronizing customers.

Please check again to make sure that you did reindex the data successfully after you finished the data migration in step #6.

Regards,
Mall.

#5
Profile photo of copsbhu9971 130.00 $tone July 13, 2020
Public

Hi,
I ‘ve run the delta migration again and it stopped with following error:

.PHP Error[2]: Creating default object from empty value
in file /home/hofbnew/web/pub/ub-tool/protected/controllers/Step6Controller. php at line 567
#0 /home/hofbnew/web/pub/ub-tool/protected/controllers/Step6Controller.php(425): Step6Controller->_migrateCustomerAddressEntity()
#1 /home/hofbnew/web/pub/ub-tool/protected/controllers/Step6Controller.php(170): Step6Controller->_migrateCustomers()
#2 /home/hofbnew/web/pub/ub-tool/protected/commands/RunCommand.php(74): Step6Con troller->actionRun()
#3 /home/hofbnew/web/pub/ub-tool/protected/commands/RunCommand.php(33): RunComma nd->_migrateData()
#4 unknown(0): RunCommand->actionIndex()
#5 /home/hofbnew/web/pub/ub-tool/yii-1.1.19/console/CConsoleCommand.php(172): Re flectionMethod->invokeArgs()
#6 /home/hofbnew/web/pub/ub-tool/yii-1.1.19/console/CConsoleCommandRunner.php(71 ): RunCommand->run()
#7 /home/hofbnew/web/pub/ub-tool/yii-1.1.19/console/CConsoleApplication.php(92): CConsoleCommandRunner->run()
#8 /home/hofbnew/web/pub/ub-tool/yii-1.1.19/base/CApplication.php(185): CConsole Application->processRequest()
#9 /home/hofbnew/web/pub/ub-tool/yii-1.1.19/yiic.php(33): CConsoleApplication->r un()
#10 /home/hofbnew/web/pub/ub-tool/protected/ubdatamigration_cli.php(5): require_ once()

Thanks

#6
Profile photo of Mall Staff 144590.00 $tone July 13, 2020
Public

Hi there,

.PHP Error[2]: Creating default object from empty value
in file /home/hofbnew/web/pub/ub-tool/protected/controllers/Step6Controller. php at line 567

Please try with the steps below:

+ Run the following SQL queries in your M2 database:

DELETE FROM ub_migrate_map_step_6 WHERE entity_name = 'customer_group' AND m2_id NOT IN (Select customer_group_id From customer_group);
DELETE FROM ub_migrate_map_step_6 WHERE entity_name = 'customer_entity' AND m2_id NOT IN (Select entity_id From customer_entity);
DELETE FROM ub_migrate_map_step_6_customer_address WHERE entity_name = 'customer_address_entity' AND m2_id NOT IN (Select entity_id From customer_address_entity);

+ And then, you can continue with the data migration in step #6 as normal.

Regards,
Mall.

#7
Profile photo of copsbhu9971 130.00 $tone July 22, 2020
Public

Dear customer support,
I am trying the below solution as you suggested.

Please try with these steps:

1.  Run the following SQL query in your M2 database:

Update ub_migrate_map_step_6 Set created_time = '2000-01-01 00:00:00' Where entity_name = 'customer_entity';

2. And then you run the delta migration in step #6 by running the CLI command:
php -f bin/ubdatamigration run --step=6 --mode=update;

Every time doing that, the extension is synchronizing 100 new customers and after that it stops.
 
Could you advise me?
 
Thanks

#8
Profile photo of Mall Staff 144590.00 $tone July 22, 2020
Public

Hi there,

Every time doing that, the extension is synchronizing 100 new customers and after that it stops.

Do you see any related error messages?
Regards,
Mall.

#9
Profile photo of copsbhu9971 130.00 $tone July 22, 2020
Public

There is not error message. Just the following:

[Processing][delta] Step #6 migration completed with 100 Customers
Step #6 migration completed successfully
Total Data Migrated: 86%

Thanks

#10
Profile photo of Mall Staff 144590.00 $tone July 22, 2020
Public

Hi there,

There is not error message. Just the following:

So, please try to reindex the data and check the issue you mentioned once again. 

Regards,
Mall.

#11
Profile photo of Mall Staff 144590.00 $tone July 22, 2020
Public

Hi there,

So, please provide me information of your instance:

  • URL and Admin credentials of your M2 instance
  • SSH credentials of your M2 instance
  • And let me know the path to your M2 folder

I will help to check further and get back you to then.
PS. Please make sure you mark your reply private or simply switch this ticket to the private mode, then it’s safe to share your site info here. Only you and our technical team can access it. 
Regards,
Mall.

#14

Please login or Register to Submit Answer

Written By

Comments