Reply to comment
Upgrading Drupal 5 to 6
Posted by Ishmael Sanchez on Aug 29, 2009
Drupal upgrades are a pain. Even minor version upgrades can cause problems. Major Drupal version upgrades require special attention. Having successfully done a handful of Drupal 5 to 6 upgrades I put together the list below as a resource based on my upgrading experiences.
- Create backup of site files and database (verify backups have usable data)
- Login as user 1, turn off caching, and put site in maintenance mode
- Optional: Use Apache to redirect to a custom maintenance HTML file (Highly Recommended if possible)
- Check log list at /admin/reports/dblog to verify no PHP or other module issues prior to upgrade
- Check status report at /admin/reports/status to verify all core and contributed modules are at most recent versions
- Uninstall update_status module and delete folder (update_status is in D6 core)
- Make note of all module settings on /admin/build/modules, and turn off all but the core required modules
- Turn off all custom or contributed themes; set a Drupal core theme as default
- Delete all Drupal 5 core files and folders except /sites and any custom directories like /files
- Upload new Drupal 6 core files
- Run update.php and note any errors
- Check log for errors
- Turn on core optional modules and re-run update.php
- Read update.txt, upgrade.txt, or readme.txt files for specific directions on upgrading certain contributed modules
- Delete old Drupal 5 module folder
- Upload Drupal 6 module folder
- Run update.php
- Turn on module (If your module has additional features you may have to re-run update.php)
- Repeat steps 14-18 for each contributed module
| Attachment | Size |
|---|---|
| upgrading-drupal5-drupal6.pdf | 12.18 KB |


