Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Running this drush command:
drush content-migrate-fields --yes
And it goes through all of my fields, migrating structures just fine, but once it starts trying to migrate the actual data, I get a huge stack of errors like these (one for each field):
Migrating data for field_company [status]
The command could not be executed successfully (returned: Could not startup., code: 1) [error]
PHP 5.2.17
drush 4.5
Any thoughts would be greatly appreciated.
Comment | File | Size | Author |
---|---|---|---|
#3 | 0001-Problem-migrating-data-via-drush.patch | 1.5 KB | mrded |
Comments
Comment #1
mrded CreditAttribution: mrded commentedI have same problem, but drush process was fine:
it seems what all fine, but if you check admin/structure/content_migrate page then you will see what drupal thinks what these fields have not been migrated.
admin/structure/types/manage/*/fields as well.
Comment #2
iamEAP CreditAttribution: iamEAP commentedFYI, the solution to my problem was to migrate each field one-by-one, first the structure, then the data, rather than attempting to migrate all fields at once in one command e.g.
With nearly a hundred fields, this was an incredible pain, but it worked.
The content-migrate-fields function needs looking at though, it would appear.
Comment #3
mrded CreditAttribution: mrded commentedPlease check my patch
Comment #4
iamEAP CreditAttribution: iamEAP commentedActually, when I download the latest Content Migrate dev release, without applying your patch, my original problem doesn't exist.
Your problem is probably unrelated. Feel free to hijack this thread though, since I can't reproduce my problem.
Comment #5
attheshow CreditAttribution: attheshow commentedTried the patch in #3. Didn't work for me.
The method suggested in comment #2 did work for me. Painful, but it works.
It would be nice if the content-migrate-fields function did actually migrate the data and not just the structure.