Skip to content
Tom Wischhoefer edited this page Feb 27, 2014 · 89 revisions

Table of Contents

  1. Intro
  2. Design Overhaul
  3. [Page Descriptions] (Page Descriptions)

Downfallguild.org is moving from Drupal 6 to Drupal 7! This project will help manage that.

It’s time to make downfallguild.org realize a lot more of it’s potential. We're moving to Drupal 7 and the primary goal is to migrate content, refactor functionality and simplify across the board.

Approach

After trying to do a straight upgrade on the existing site, it was determined we'd port content into a fresh Drupal 7 install instead. Mainly using the Migrate, Migrate D2D, and Features, we can build up a much cleaner platform - and remove 5 years of cruft and fluff.

  • The custom migrate module is migratedf
  • The custom features module is migratedf_features

Useful commands

  • Use rsync (from within local/htdocs/downfal/d6) to PULL FROM REMOTE: rsync -zvr [email protected]:webapps/downfall_drupal/ ./
  • Zip all and hidden files from downfall dir to temp proj folder on server (after ssh in): tar cvzf ~/projects/df-up/df_files.tar.gz ~/webapps/downfall_drupal/

Important links

Repository Explanation

First off, we're using subtrees for Drupal 7, PatternLab and the original Drupal 6 existing site. See this article for how to use subtrees.

Folder structure

Migration Outline

See the list here for D2D migrations (bottom).

  1. Input formats - DONE
  2. Role migration - DONE
  3. User migration - DONE
  4. File migration - DONE
  5. User Picture migration - DONE
  6. Taxonomy term migration - DONE
  7. Node migration
    • Blogs - DONE
    • Pages - DONE, merged to Article
    • Stories - DONE, merged to Article
    • Guild apps - DONE, includes image field mapping (POSSIBLY move to Media module for images once it's working below)
    • Forum Posts - DONE, a little re-org is necessary (at term level).
      • Migrate module has a shitty time with line 1234ish (if (!$destids)) ..., comment out to continue
    • Events - DONE, both old types merged into new Event type
    • Book pages - DONE, All content comes over BUT Hierarchy is not, fix query to set.
    • Images (nodes from Image module)
      • setting the d6files symlink is very important
      • The image_assist embeds are now handled with a parent class that filters to media json
      • Remove all the Image "gallery grid, preview, thumbnail" file entries (after full migration)
    • Organic Groups (raids)
      • UPDATE 10/9/2013: Just make a migration that runs a query, creates nodes, assigns users/content. Should probably run first.
      • THIS REQUIRES UPGRADING OG IN D6 TO THE LATEST VERSION
      • We have to copy the og d6 tables to the DRUPAL 7 database, possibly, og_migrate_api() in og.module.
      • D6 tables it's looking for: demo_d6 > d6_og, demo_og_ui > d6_og_ui, demo_og_ancestry > d6_og_ancestry
      • Basically, OG migrate is looking for tables IN our database, it's not connecting to external database. Might be able to get around this with more experiments.
      • Must delete og rows in field_config_instance, otherwise, can't enable og after uninstalling
  8. Comment migration - ALL COMMENTS NEED image_assist solved first (so all Image migrated)
    • Blog
    • Pages
    • Stories
    • Guild apps
    • Forums posts
    • Events
    • Book pages - A lot of nodes do not exist, fixing above
    • Images
    • Organic groups
  9. Menu migration
Clone this wiki locally