cant pass step 7

please check
[mtwostar@sip4-1134 html]$ php bin/ubdatamigration run
Processing in step #2…Step #2 migration completed successfully
Total Data Migrated: 71%
Processing in step #3…Step #3 migration completed successfully
Total Data Migrated: 71%
Processing in step #4…Step #4 migration completed successfully
Total Data Migrated: 71%
Processing in step #5…Step #5 migration completed successfully
Total Data Migrated: 71%
Processing in step #6….[Processing] Step #6 migration completed with 1 Customers
Processing in step #6…Step #6 migration completed successfully
Total Data Migrated: 71%
Processing in step #7…..PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/db/ar/CActiveRecord.php on line 1869
PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/logging/CLogger.php on line 340
[mtwostar@sip4-1134 html]$ php bin/ubdatamigration run --step=7
Processing in step #7…..PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/db/ar/CActiveRecord.php on line 1869

8 answers

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

Hi there,

Processing in step #7…..PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/db/ar/CActiveRecord.php on line 1869

That issue because your server has limit of the memory limit on PHP CLI environment. Let’s try continue to run data migration in the step #7 use below CLI command:
php -dmemory_limit=-1 -f bin/ubdatamigration run --step=7
And tell me know how it goes then.
Regards,
Mall.

#1
Profile photo of aswan 350.00 $tone August 2, 2018
Public

I tried this 
1.
[mtwostar@sip4-1134 html]$ php -f bin/ubdatamigration run --step=7
Processing in step #7…..PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/db/ar/CActiveRecord.php on line 1869
2.
[mtwostar@sip4-1134 html]$ php bin/ubdatamigration run --step=7
Processing in step #7…..PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/db/ar/CActiveRecord.php on line 1869
3.
[mtwostar@sip4-1134 html]$ php bin/ubdatamigration run --step=7 --limit=200
Processing in step #7…..PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /chroot/home/mtwostar/m2.star15.com/html/pub/ub-tool/yii-1.1.19/db/ar/CActiveRecord.php on line 1869

#2
Profile photo of aswan 350.00 $tone August 2, 2018
Public

ok I run it and here’s what I got
……………………………………….[Processing] Step #7 migration completed with 36 Sales Orders;
Processing in step #7…Step #7 migration completed successfully
Total Data Migrated: 100%

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

Hi there,
Let’s continue with data migration in the step #8 by run CLI command:
php -dmemory_limit=-1 -f bin/ubdatamigration run --step=8
Regards,
Mall.

#4
Profile photo of aswan 350.00 $tone August 2, 2018
Public

[mtwostar@sip4-1134 html]$ php -dmemory_limit=-1 -f bin/ubdatamigration run --step=8
Processing in step #8…Step #8 migration completed successfully
Total Data Migrated: 100%

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

Hi there,
Lets continue with other steps as indicated in the guide of our tool in Readme.html (included in your downloaded package)
Regards,
Mall.

#6

Please login or Register to Submit Answer

Written By

Comments