Drupal 8: D6 to D8 Running the initial migration

So with the default manifest.yml from d.o, and running the migrate-manifest command:


Running d6_action_settings [ok]
Running d6_aggregator_feed [ok]
Invalid argument supplied for foreach() RequirementsException.php:63 [warning]
Migration d6_aggregator_feed did not meet the requirements. Missing source provider aggregator [error]
Running d6_aggregator_settings [ok]
Running d6_book_settings [ok]
Running d6_contact_category [ok]
Invalid argument supplied for foreach() RequirementsException.php:63 [warning]
Migration d6_contact_category did not meet the requirements. Missing source provider contact [error]
Running d6_date_formats [ok]
Running d6_dblog_settings [ok]
Running d6_file_settings [ok]
Running d6_locale_settings [ok]
Running d6_menu [ok]
Running d6_menu_settings [ok]
Running d6_search_page [ok]
Running d6_search_settings [ok]
Running d6_simpletest_settings [ok]
Running d6_statistics_settings [ok]
Running d6_syslog_settings [ok]
Running d6_system_cron [ok]
Running d6_system_file [ok]
Running d6_system_filter [ok]
Running d6_system_image [ok]
Running d6_system_image_gd [ok]
Running d6_system_logging [ok]
Running d6_system_maintenance [ok]
Running d6_system_performance [ok]
Running d6_system_rss [ok]
Running d6_system_site [ok]
Running d6_taxonomy_settings [ok]
Running d6_text_settings [ok]
Running d6_update_settings [ok]
Running d6_url_alias [ok]
Running d6_user_mail [ok]
Running d6_aggregator_item [ok]
Invalid argument supplied for foreach() RequirementsException.php:63 [warning]
Migration d6_aggregator_item did not meet the requirements. Missing source provider aggregator [error]
Running d6_contact_settings [ok]
Migration d6_contact_settings did not meet the requirements. Missing migrations [error]
d6_contact_category. requirements: d6_contact_category.
Running d6_filter_format [ok]
The "php_code" plugin does not exist. [error]
(/var/www/vhosts/hazlewood.co.uk/subdomains/d8/httpdocs/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:57)
Running d6_custom_block [ok]
Migration d6_custom_block did not meet the requirements. Missing migrations [error]
d6_block_content_body_field. requirements: d6_block_content_body_field.
Running d6_user_role [ok]
Running d6_block [ok]
Migration d6_block did not meet the requirements. Missing migrations [error]
d6_block_content_body_field, d6_custom_block. requirements: d6_block_content_body_field.
requirements: d6_custom_block.
Running d6_file [ok]
File /tmp/aaa.jpg does not exist. [error]
File /tmp/aaf.jpg does not exist. [error]
File sites/default/files/imports/gallery/test/test.txt does not exist. [error]
File sites/default/files/images/blog/skitch-2.png does not exist. [error]
File sites/default/files/images/blog/migrate-modules.png does not exist. [error]
Running d6_user_picture_file [ok]
Running d6_user_picture_field [ok]
Running d6_user_picture_field_instance [ok]
Running d6_user_picture_entity_display [ok]
Running d6_user_picture_entity_form_display [ok]
Running d6_user [ok]
Running d6_node_type [ok]
Running d6_node_settings [ok]
Running d6_field [ok]
Running d6_field_instance [ok]
Running d6_field_instance_widget_settings [ok]
Running d6_view_modes [ok]
Running d6_field_formatter_settings [ok]
Failed to lookup array ( [error]
0 => 'filefield',
1 => 'photo-thumb_default',
) in the static map.

So some stuff worked and some didn't. A quick check of the D8 site shows content types but no content, and a bunch of errors in the log:


filter 26 Jun 2015 - 09:10 Missing filter plugin: filter_null. Anonymous (not verified)
filter 26 Jun 2015 - 09:10 Missing filter plugin: filter_null. Anonymous (not verified)
filter 26 Jun 2015 - 09:10 Missing filter plugin: filter_null. Anonymous (not verified)
...

I suspect one of these occurred for each piece of content which prevented the import of content from completing.

All the files imported, and I suspect I need to investigate each of the errors in turn, these look like the important ones:


Running d6_filter_format [ok]
The "php_code" plugin does not exist. [error]
(/var/www/vhosts/hazlewood.co.uk/subdomains/d8/httpdocs/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:57)
Running d6_custom_block [ok]
Migration d6_custom_block did not meet the requirements. Missing migrations [error]
d6_block_content_body_field. requirements: d6_block_content_body_field.
Running d6_block [ok]
Migration d6_block did not meet the requirements. Missing migrations [error]
d6_block_content_body_field, d6_custom_block. requirements: d6_block_content_body_field.
requirements: d6_custom_block.
Running d6_file [ok]
File /tmp/aaa.jpg does not exist. [error]
File /tmp/aaf.jpg does not exist. [error]
File sites/default/files/imports/gallery/test/test.txt does not exist. [error]
File sites/default/files/images/blog/skitch-2.png does not exist. [error]
File sites/default/files/images/blog/migrate-modules.png does not exist. [error]
Failed to lookup array ( [error]
0 => 'filefield',
1 => 'photo-thumb_default',
) in the static map.

A good way to remove these errors seems to be updating all the current D6 modules to the latest versions (thanks 'drush up'!). Disabling and removing some of the unnecessary migrations (like aggregation) seems like a good idea too.