Only the first product is being migrated

Hi,
I purchased the migration tool earlier today, and the beginning of the process was great. Unfortunately, only the first product in the Magento 1.7 database is being migrated and everything else is stalling. How can I fix this?

  1. Profile photo of mattpapmarmattpapmar 90.00 $tone August 4, 2018
    I'm also getting this error when trying to manually do Step 5: php -f bin/ubdatamigration run --step=5Processing in step #5....................................................................................................................................PHP Error[2]: include(Mage2CatalogProductEntityMediaGalleryValueToEntity.php): failed to open stream: No such file or directory in file /home/pmstore2/public_html/pub/ub-tool/yii-1.1.19/YiiBase.php at line 432#0 /home/pmstore2/public_html/pub/ub-tool/yii-1.1.19/YiiBase.php(432): include()#1 unknown(0): autoload()#2 /home/pmstore2/public_html/pub/ub-tool/protected/controllers/Step5Controller.php(769): spl_autoload_call()#3 /home/pmstore2/public_html/pub/ub-tool/protected/controllers/Step5Controller.php(482): Step5Controller->_migrateCatalogProductGallery()#4 /home/pmstore2/public_html/pub/ub-tool/protected/controllers/Step5Controller.php(146): Step5Controller->_migrateCatalogProducts()#5 /home/pmstore2/public_html/pub/ub-tool/protected/commands/RunCommand.php(58): Step5Controller->actionRun()#6 /home/pmstore2/public_html/pub/ub-tool/protected/commands/RunCommand.php(28): RunCommand->_migrateData()#7 unknown(0): RunCommand->actionIndex()#8 /home/pmstore2/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs()#9 /home/pmstore2/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleCommandRunner.php(71): RunCommand->run()#10 /home/pmstore2/public_html/pub/ub-tool/yii-1.1.19/console/CConsoleApplication.php(92): CConsoleCommandRunner->run()#11 /home/pmstore2/public_html/pub/ub-tool/yii-1.1.19/base/CApplication.php(185): CConsoleApplication->processRequest()#12 /home/pmstore2/public_html/pub/ub-tool/yii-1.1.19/yiic.php(33): CConsoleApplication->run()#13 /home/pmstore2/public_html/pub/ub-tool/protected/ubdatamigration_cli.php(5): require_once()#14 /home/pmstore2/public_html/bin/ubdatamigration(4): require_once()

6 answers

Profile photo of ubdev Staff 98590.00 $tone August 4, 2018
Public

Hi there,
We wonder if you see any error message in our migration tool log? Please help to check at the log file:
pub/ub-tool/protected/runtime/ub_datamigration_log
PS. Our team is off during the weekend time, please accept our certain delay in responding to you. However, we will follow up with you throughout the weekend though.
Regards,
Ubertheme team

#1
Profile photo of mattpapmar 90.00 $tone August 4, 2018
Public

Sure, I hope you enjoy your weekend. Here’s what I get from the log:
 
2018/08/03 19:22:03 [info] [ub_data_migration] Start running step #4
2018/08/03 19:22:03 [info] [ub_data_migration] [Processing] Step #4 migration completed with 100 Catalog Categories
2018/08/03 19:23:43 [info] [ub_data_migration] [Processing] Step #4 migration completed with 100 Catalog Categories
2018/08/03 19:25:15 [info] [ub_data_migration] [Processing] Step #4 migration completed with 100 Catalog Categories
2018/08/03 19:26:45 [info] [ub_data_migration] [Processing] Step #4 migration completed with 100 Catalog Categories
2018/08/03 19:27:16 [info] [ub_data_migration] [Processing] Step #4 migration completed with 22 Catalog Categories
2018/08/03 19:27:16 [info] [ub_data_migration] Step #4 migration completed successfully
2018/08/03 23:25:08 [info] [ub_data_migration] Step #6 was skipped successfully.
2018/08/03 23:25:08 [info] [ub_data_migration] Step #6 was skipped successfully.
2018/08/03 23:25:09 [info] [ub_data_migration] Step #7 was skipped successfully.
2018/08/03 23:25:09 [info] [ub_data_migration] Step #7 was skipped successfully.
2018/08/03 23:25:12 [info] [ub_data_migration] Step #8 was skipped successfully.
2018/08/03 23:25:12 [info] [ub_data_migration] Step #8 was skipped successfully.
2018/08/03 23:36:23 [info] [ub_data_migration] Resetting data migration in the step #5…
2018/08/03 23:36:23 [info] [ub_data_migration] Step #5 was reset successfully
2018/08/03 23:41:34 [info] [ub_data_migration] Step #6 was skipped successfully.
2018/08/03 23:41:36 [info] [ub_data_migration] Step #7 was skipped successfully.
2018/08/03 23:41:39 [info] [ub_data_migration] Step #8 was skipped successfully.
2018/08/03 19:56:17 [info] [ub_data_migration] Resetting data migration in the step #5…
2018/08/03 19:56:18 [info] [ub_data_migration] Step #5 was reset successfully
2018/08/03 19:56:35 [info] [ub_data_migration] Step #5 was skipped successfully.
2018/08/03 19:57:19 [info] [ub_data_migration] Step #6 was skipped successfully.
 
The initial start of step 5 imported only one product. I deleted that product and kept trying, but got the same result.

#2
Profile photo of Mall Staff 184060.00 $tone August 5, 2018
Public

Hi there,
I need a closer look to detect the root of issue you mentioned. Let’s provide me information as below:
+ Admin credentials and URL to back-end
+ SSH credentials and path to Magento2 folder
Regards,
Mall.

#3
Profile photo of Mall Staff 184060.00 $tone August 6, 2018
Public

Hi there,
I am sorry for our late reply as we’ve just been back to work from our weekend. 
I have checked further and found an issue with the installation of our migration tool:

PHP Error[2]: include(Mage2CatalogProductEntityMediaGalleryValueToEntity.php): failed to open stream: No such file or directory in file 

The error indicates that the required PHP file of our tool was missing in your instance, which is the root of issue on data migration in the step #5 (Migrating Products).
Thus, please help to reinstall our migration tool in a new M2 instance once again. I know this takes you extra time, however it is necessary to avoid unexpected issues due to the missing file(s). 
Regarding the DNA, at a later phase that you need our technical assistance to debug any upcoming issues, we will sign the DNA and send over to you. For now, please follow the reinstallation step above first. 
Thanks for your understanding.
Regards,
Mall.
 
 
 

#6

Please login or Register to Submit Answer

Written By

Comments