Last updated November 29, 2012. Created by nirbhasa on October 21, 2010.
Edited by mwadi, wmostrey, olafveerman, joachim. Log in to edit this page.
First perform the core upgrade as described in the UPGRADE.txt file. Then you can update and re-enable your non-core modules by following these steps:
- Check your notes, and the UPGRADE.txt files inside each module, to see if any special upgrade instructions apply
- Fully remove the old module directory inside sites/all/modules/
- Download, unpack and move the new module directory to sites/all/modules/
- Enable the module
- Run update.php again (you should have run it once already when upgrading core) and check for any message output.
- Back up your database and files again, between each module update, so that if there is a problem, you can revert to the most recent update.
If you have errors when you run the update.php script:
- Note any error messages you see.
- Restore your site to its previous state, using the file and database backups you created before you started the upgrade or update process. Do not attempt to do further updates or upgrades on a site that had update problems.
- Consult one of the support options listed on http://drupal.org/support.
If you have a Drupal 7 version of the theme you were using for Drupal 6, place it in sites/all/themes/ and reenable it.
For documentation on converting module code from Drupal 6 to 7, see the section on updating your modules.
Comments
Using Drush Site Upgrade
Before I arrived at this point, I noticed how difficult it can be to automate the disabling of non-core modules and themes, until I found out about the Drush Site Upgrade extension. I hope this link is helpful to some of you.