Smooth procedure to upgrade Drupal 4.7.0 beta 5 to beta 6

I have just received the urgent security notification regarding to Drupal all versions. If you are using Drupal, please upgrade immediately! According to the announcement, the latest version are as follows.

  • Drupal 4.6.6
  • Drupal 4.5.8
  • Drupal 4.7.0-beta6

I upgraded howforge.com to beta 6 in last minute. Though, even it is just bugs fix version, there are lots of change from beta 5 to beta 6. Anyway, it is very easy to upgrade. Below is my instruction.

  1. Download Drupal 4.7.0 beta 5 and Drupal 4.7.0 beta 6
  2. Extract both of them
  3. Run diff -ruN to make a patch file
    diff -ruN drupal-4.7.0-beta5 drupal-4.7.0-beta6 > b5-b6.patch
  4. Log in as the admin user, open update.php, and stop here
  5. Apply the patch
    cd httpdocs
    patch -p1 < ../b5-b6.patch
  6. Continue update.php by pressing on the update link and update button

Note that bug regarding the hanging during update in Firefox was fixed. Enjoy FF again. Thanks for the announcement.

Technorati Tags: , , , , , , , , , , , ,

I know how to update Drupal,

I know how to update Drupal, but I found instruction 4-6 confusing. Shouldn't the patch be applied before running update.php?, i.e. 5. before 4. And what is 'continue update.php'?

oops! sorry

I meant to login, open update.php and stop here. You have to press on a link to see the actual schema selection form. So I recommend to make sure you can access update.php with admin right successfully before applying the patch.

Post new comment