Update to Drupal 6.4

I just updated this site to Drupal 6.4 due to a security fix.

The update was flawless.

My setup is based on a symbolic link that can be changed to point to the current Drupal version, i.e. I have a directory /var/www/drupal-6.3 and a symlink /var/www/drupal pointing to it.
Apache's DocumentRoot is configured as /var/www/drupal.

My update procedure needs shell access and enough storage space for a complete copy of the website (code & uploaded files):

  1. Put the website into maintenance mode
  2. Backup database
  3. Untar drupal-6.4.tar.gz in /var/www creating /var/www/drupal-6.4
  4. Copy everything from /var/www/drupal-6.3/sites/ to /var/www/drupal-6.4/sites/. This includes all additional modules, uploaded files and the default settings.
  5. Remake the symlink /var/www/drupal to point to the new installation in /var/www/drupal-6.4
  6. Run update.php
  7. Switch off maintenance mode

After that the new Drupal core is ready to use.

If anything has gone wrong it is very easy to recover with the database backup and the old code still in place.

If everything is OK the old directory /var/www/drupal-6.3 can be removed completely.

Trackback URL for this post:

http://gurubert.de/trackback/26

Drupal Upgrade to 6.8

I was a little bit slacking with me keeping Drupal not very up to date recently. I was still running 6.5 and 6.8 has already been released with some important security fixes.