0

I ran drush migrate-upgrade on a Drupal 8 fresh installed site, and it generated the migrations (from Drupal 7 to Drupal 8). After that, I tried to run drush mim upgrade_d7_user (after roles and fields migration). I got an error with PHP Segfault.

1410/34583 4%
/usr/local/zend/bin/php: line 4: 6040 Segmentation fault
$ZCE_PREFIX/php/active/bin/php -c $ZCE_PREFIX/php/active/etc/php.ini "$@"

I tried running the Drush command with debug and verbose, but I didn't get anything useful.

More Info: I'm trying to run the users migration from Drupal 7 to Drupal 8 using migrate_tools module.

To Reproduce drush mim upgrade_d7_user -vvv (To import the users from D7 to D8, this migration got generated with drush migrate upgrade command)

Expected behavior Migration completed/failed with a success/failure message.

Actual behavior Drush command terminates and shows PHP Segfault error. (Migration status is left to importing and I have to change the status to idle to run it again.)

Workaround Is there another way to do the desired action? I can execute the migration from UI from /admin/structure/migrate/manage/migrate_drupal_7/migrations/upgrade_d7_user. When I run this migration from UI, I don't see this error.

https://gist.github.com/amangrover90/bef2e9185b267b5d7ed13160aa360ffc

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.