Learn Success With Randy Brown

Do it right the first time, stoopit.

Drupal 5.11 Update

We just finished applying the Drupal 5.11 update.  No new features in this update, it’s just a maintenance release that fixes some bugs and security holes.

In preparing to apply the update I realized a big mistake I made when we made the upgrade from 4.7 to 5.1 last month that I had to correct before applying the update.  In Drupal 4.7 all the modules, core and contributed are all located in the /modules  directory.  In Drupal 5.x only the core modules are stored in /modules, but the contributed modules are (or SHOULD BE) stored in /sites/all/modules.  This makes it easy to apply updates because you can simply delete/overwrite all your core modules in /modules, and not worry about the contrib modules stored over at /sites/all/modules.  Well it seems that in my excitement after the 4.7 to 5.x upgrade last month, I installed the first few contrib modules in the /modules directory (wrong place)..  So before I could do the 5.11 update I had to uninstall, move, and re-install those contrib modules into the right location.

After I moved the contributed modules into the right directories, the 5.11 update was fast and easy..  Backup’d up settings.php – actually, I did a full-file backup to my local PC earlier. Did a backup of the database, then just laid-down the new 5.11 files on top of the old 5.10 files.  I even saved myself 45 seconds or so by removing the robots.txt, .htaccess, and settings.php files from the (new) 5.11 source so I would not have to restore those files after doing the update.

Job well-done for me.. Now it’s back to watching TV.

Categories: Drupal