Forum One Communications June 13, 2013 Healthy Drupal 7 Upgrades
May 07, 2015
Forum One CommunicationsJune 13, 2013
Healthy Drupal 7 Upgrades
Housekeeping
We’ll send you a link to the archived webinar within a few days.
Please submit your ques;ons via the chat. We will have about 15 minutes for Q&A at the end of the webinar.
A Question for You!
Have you upgraded from Drupal 6 to 7?
If so, what problems did you run into?
Your Presenters
Jenn JohnsonProject Manager
Stein SetvikTechnical Lead
Andrew CohenSenior Advisor
Presenting the Patient
Diagnosis
DefinitionsUpda5ng: Typically refers to bringing your site up to the latest minor version of Drupal, e.g. such as upda;ng from Drupal 7.12 to Drupal 7.14.
Upgrading: Refers to moving from one major release to another, e.g., from Drupal 7 to Drupal 8.
Migra5ng: In this context, it generally means moving content or code from one version of Drupal to another.
Drupal Release HistoryVersion Release Date
4 June 2002
5 January 2007
6 February 2008
7 January 2011
8 December 2013?
Drupal 6 usage declining rapidly
Drupal 7 usage steadily increasing
Drupal Weekly Project Usage7.x
6.x
Should This Patient Upgrade?
New Features/Modules
• Popular common modules now in core
• Latest and greatest modules are 7+ only
•More flexible content types
•Any en;ty is fieldable
“Latest and Greatest” Watch
NaGaHaMa
Responsive Design
Why Not Wait for 8?
•Drupal 6 cannot be directly upgraded to Drupal 8, you must upgrade a Drupal 6 site to Drupal 7 first.
•Drupal 8 will not be released or stabilized for quite some ;me.
•Drupal 7 is in its prime now.
CountyHealthRankings.org: 2012
Scrubbing In
Project Approach
Project Approach
Project Approach
Project Approach
Budgeting Tips
Surgery
Question
6 7
Migration options
update.php
migrate module
migrate_d2d module
migrate_d2d
Drupal to Drupal
Data Migra5on module
drupal.org/project/migrate_d2d
data but not structure Yes!
nodes
users
files
No
views
panels
nodequeues
The code...
Gotchas
6 7
#1: rows skipped
use drush
#2: files deleted
1. use migrate dev release
2. for file fields, add
$this->addFieldMapping('field_image:preserve_files')
->defaultValue(TRUE);
drupal.org/node/1676652
#3: dates disappear
patch date module
drupal.org/node/1832544
#4: field collections
patch field_collec5on module
drupal.org/node/1175082#comment-‐6833952
Search Engine Optimization
Post Op/Recovery
Prescription
Diagnosis is cri5cal
Planning ensures success
Use available surgical tools
Plan the recovery
Thank [email protected]
[email protected]@forumone.com