Water Torture Upgrades D5 to D6 Upgrade Click to insert horror stories here!
Familiar? River of Red
WorldFallz - November 29, 2009 - 07:19 Upgrading  is definitely more complicated than it should be, but I wouldn't say 'ex...
Agenda <ul><li>Steps in an upgrade
Gotchas </li><ul><li>Themes
CCK and Views
Imagecache
Custom Modules </li></ul><li>Links </li></ul>
1. Update all modules to latest version. 2. Backup database. 3. Download all site files. 4. Disable/Uninstall Update Statu...
Keys to an Upgrade <ul><li>Backup
Prepare the site
Upgrade
Test site
Deploy </li></ul>
Plan <ul><li>Upgrade_status </li><ul><li>http://drupal.org/project/upgrade_status </li></ul><li>Themes
Contrib modules
CCK and Views
Custom Modules </li></ul>
 
Oh No More RED!
Upcoming SlideShare
Loading in …5
×

Water Torture Upgrades - Drupal 5 to 6

1,831 views

Published on

With Drupal 7 released (or about to be released) support for Drupal 5 is going to go away and to keep sites secure it is going to be imperative to upgrade to at least Drupal 6.

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,831
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Water Torture Upgrades - Drupal 5 to 6

  1. 1. Water Torture Upgrades D5 to D6 Upgrade Click to insert horror stories here!
  2. 2. Familiar? River of Red
  3. 3. WorldFallz - November 29, 2009 - 07:19 Upgrading is definitely more complicated than it should be, but I wouldn't say 'extremely'. And the downside to staying with d5 is that it will be end of life as of the release of d7.
  4. 4. Agenda <ul><li>Steps in an upgrade
  5. 5. Gotchas </li><ul><li>Themes
  6. 6. CCK and Views
  7. 7. Imagecache
  8. 8. Custom Modules </li></ul><li>Links </li></ul>
  9. 9. 1. Update all modules to latest version. 2. Backup database. 3. Download all site files. 4. Disable/Uninstall Update Status Module. 5. Disable all contributed modules. 6. Switch to Garland theme. 7. Delete D5 files, saving sites, files and any extra folders or files I added. 8. Delete D5 contributed modules 9. Upload latest Drupal release files. 10. Upload D6 versions of contrib modules. 11. Go to /update.php and select continue then update. 12. Review update messages for significant errors. 13. Review modules and enable those compatible with D6. 14. Enable new (but optional) core update status module. 15. Check contributed theme status and update if necessary. 16. Re-save blocks and position. 17. Rebuild any previously built views. 18. Bring the site back online.
  10. 10. Keys to an Upgrade <ul><li>Backup
  11. 11. Prepare the site
  12. 12. Upgrade
  13. 13. Test site
  14. 14. Deploy </li></ul>
  15. 15. Plan <ul><li>Upgrade_status </li><ul><li>http://drupal.org/project/upgrade_status </li></ul><li>Themes
  16. 16. Contrib modules
  17. 17. CCK and Views
  18. 18. Custom Modules </li></ul>
  19. 20. Oh No More RED!
  20. 21. Getting Setup <ul><li>Backup (files and database) </li><ul><li>Command line
  21. 22. GUI (phpmyadmin)
  22. 23. Module – Backup and Migrate </li></ul><li>Setup Test site
  23. 24. Install Drupal 6, all contrib modules and theme. </li></ul>
  24. 25. Prepare D5 Site <ul><li>Bring all modules up to current versions
  25. 26. Turn off contributed modules (do not uninstall)
  26. 27. Change theme to Garland or bluemarine
  27. 28. Set to maintenance mode
  28. 29. Login as user 1
  29. 30. Export database
  30. 31. Move it to your prepared D6 install
  31. 32. Run update.php </li></ul>
  32. 33. I loved your description! kappaluppa - November 28, 2009 – 08:46 Run update.php, get errors, enable a few more modules. Over and over and over.
  33. 34. More River of Red
  34. 35. Upgrade Theme <ul><li>Check to see if there is a v6 theme
  35. 36. Custom theme </li><ul><li>Add .info
  36. 37. Change variables
  37. 38. http://wtanaka.com/drupal/convert-theme-6 </li></ul></ul>
  38. 39. WSOD http://drupal.org/node/158043
  39. 40. CCK and Views <ul><li>Make sure the content type and view is in use
  40. 41. CCK - http://drupal.org/node/822352
  41. 42. If all the CCK modules are in place..
  42. 43. Open the content type and pray
  43. 44. Start troubleshooting
  44. 45. Views -> Tools -> Convert
  45. 46. Fix as you go </li></ul>
  46. 47. http://drupal.org/node/822352
  47. 48. Imagecache <ul><li>No Comment </li></ul>
  48. 49. Gotcha's <ul><li>Running update.php but not logged in as user/1 – set access to True in settings.php
  49. 50. Messed up file paths </li><ul><li>UPDATE files SET filepath = REPLACE(filepath, 'old/path', 'new/path'); </li></ul><li>ANY OTHERS??? </li></ul>
  50. 51. <ul><li>Upgrading - more sophisticated approach ( http://drupal.org/node/323089 )
  51. 52. Convert a Drupal 5 theme to 6 ( http://wtanaka.com/drupal/convert-theme-6 )
  52. 53. Upgrading Drupal ( http://drupal.org/upgrade/ )
  53. 54. Converting 5.x themes to 6.x ( http://drupal.org/node/132442 )
  54. 55. Converting 5.x modules to 6.x ( http://drupal.org/node/114774 )
  55. 56. Acquia's take
  56. 57. http://acquia.com/documentation/getting-started/d5-migration/upgrade/testing/views </li></ul>

×