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.
I began the upgrade from a full copy of a D6 site (db, files, etc.). Maybe this was a big mistake. Core modules and files were replaced as were all of the modules. Fields were migrated using the CCK migrate module.
I'm not clear on how to use this module in this case. The data is all there in the database based on D6 structures which is not going to work.
Have others done this? How do I proceed? Is there documentation specific for this? Do I need to remove all of the content-specific tables in the db and migrate them using this module?
Comments
Comment #1
mikeryanCan you describe exactly what you're trying to do? The normal path from Drupal 6 to Drupal 7 is to update the code and run update.php to upgrade the site as-is in-place (you wouldn't use migrate/migrate_d2d at all in this case) - migrate_d2d is typically used when you want to do some refactoring of the site, in which case you could create a new empty Drupal 7 site and provide migrate_d2d with the Drupal 6 database credentials, configuring the mappings you want.
Comment #2
HJulien CreditAttribution: HJulien commentedI've tried 2 different routes.
A. I made a copy of the entire site - db, files, everything. I replaced core files, all contrib modules and ran update.php. I had all kinds of errors. Gone through and cleaned up. Ran Migrate CCK - all kinds of warnings but looks like standard D7 differences. It's slow as molasses, blocks don't work, can't get the admin theme to work with the front-end one, views have a broken fields. it's just not working right. So I thought I'd try with a brand new site.
B. New install with theme working - works good. Added all my contrib modules. Update.php fine. Normal speed. Now how do I get all my Drupal 6 content types, views, data in? I've made sure that all of the D6 core and contrib modules are the latest, everything is clean and ready for D7.
But I don't know how to proceed from here. The first line of the D2D migrate modules says:
"migrate_d2d provides a framework based on the Migrate API for migrating content from Drupal 5, Drupal 6, or Drupal 7 sites into the Drupal 7 site where it is installed. "
Are views, blocks, configuration and content types considered 'content'? How do I make sure everything required gets migrated? Maybe I'm confused about terminology?
Comment #3
Summit CreditAttribution: Summit commentedHi, I have been put on this road to D7 also...see my nightmare until now here; https://www.drupal.org/node/2464003
I also have the questions like @Hjulien how to migrate views, blocks, panels, configurations, content type?
Are there migrate_d2d classes for this already ad how to proceed then?
Thanks for your answer in advance!
greetings, Martijn
Comment #4
mikeryanContent types, views, configuration - these are part of the site structure, not content, and migrate_d2d does not support migrating them. migrate_d2d isn't really meant as a substitute for a straight upgrade, it's more for importing content into a D7 site you have already built (defined content types etc.).
Comment #5
Summit CreditAttribution: Summit commentedHi,
Here is somewhat an answer..it stopped when it became detailed..http://drupal.stackexchange.com/questions/63823/migrate-custom-content-t...
greetings, Martijn