New Podcast

Posted Tuesday, January 31 at 3:28 pm
  Thomas Turnbull (tom_o_t on drupal.org) and Alan Palazzolo (zzolo on drupal.org) join Mike Anello to talk about their new book from O’Reilly Media, Mapping with Drupal. Mike’s usual co-hosts, Andrew and Ryan, were both unable to participate in the podcast, leaving Thomas and Alan subject to Mike’s long-winded (but extremely interesting by some accounts) questions.
Download Podcast 73
DrupalEasy_ep73_20120131.mp3
Syndicate content

NEWSLETTER

Stay informed on our latest news!

Syndicate content

Testimonial

Thanks for a well-organized, straightforward, and information-packed workshop. Thank you for covering the basics so concisely and clearly. It was a good experience for me. I'm looking forward to taking more workshops from DrupalEasy.

Who are we?

DrupalEasy is the collective expertise of Ryan Price and Michael Anello, who joined forces to provide training and consulting services worldwide. Read all about them and what they can do.

What is Drupal?

Drupal is a free, super-powerful content management system for sites that require information posting and collection, including blogs, forums, videos, photos, and databases of information. We think it is the best platform available. Here's why...

Why Drupal?

More and more savvy organizations are going with Drupal for content management, and its no mystery why. It’s free, flexible, and easy to maintain for small or large volume sites. Learn more...

Clear Cache Before Updating Modules

Whenever it's time for you to upgrade modules on your site, you should have a checklist of the steps involved. One step I've recently added to my checklist is to clear the site cache just prior to uploading the updated module files.

I learned this lesson with a recent Views upgrade. While working on my dev server (#1 on my list!) I found that if I didn't clear the cache prior to installing the updated Views module, I was faced with the dreaded White Screen of Death (WSOD to those of us familiar with it). After a few minutes of my time in the Views issue queue, I found other people with a similar issue and the result was consistently some type of cache-clearing activity. Once I reinstalled the old versions, I cleared the cache, reinstalled the new versions and all was great.

For the record, here's my module upgrade checklist:

  1. Perform the upgrade first on a machine other than your live server
  2. Login as User 1
  3. Backup the database and files on your live server (I use the Backup and Migrate module for the database backup)
  4. Put site into maintenance mode (admin/settings/site-maintenance)
  5. Clear the cache (either from admin/settings/performance or via the Admin Menu.
  6. Delete the modules you're going to upgrade (don't just overwrite them with the new modules, delete them first).
  7. Upload the new modules
  8. Go to the admin/reports/update page to verify the new modules are installed
  9. Go to update.php and run any database updates
  10. Go to the admin/reports/status page to make sure you're all green-checkmark happy
  11. Test your site
  12. Take your site out of maintenance mode.

Did I miss anything? Do you have any additional steps in your module upgrade checklist?

Trackback URL for this post:

http://drupaleasy.com/trackback/146
No votes yet

More Quicktips


1 comment

Guest wrote 2 years 33 weeks ago

Haven't ran into that

That's not a problem I've ran into, but good info to have.

I keep all of my sites (and clients' sites) in SVN and have found that occasionally I have to remove all of the files from the local working copy before updating modules to catch files that are removed or renamed.

Syndicate content