Notes and steps I took to update my Drupal 6.16 System to Drupal 6.20. This is on my backup site to test the update before I try it on a production server. I'm running it on a Mac with Snow Leopard 10.6.7
Summary of update steps
Upgrading your Drupal site involves a number of steps. These are described in more detail in the the Drupal handbook:
1. Backup your existing site and database.
1.1 Go to Home » Administer » Site building: Modules, and click on the "available updates".
1.2 Make a "UpDatedModules" folder on your desktop, download all the updated modules and themes and store them in that folder.
1.3 Go to Home » Administer » Site configuration: and Disable Clean URLs
2. Place the site in "off-line" mode (Administer » Site configuration » Site maintenance).
3. Switch your site's theme to a (default) theme : Administer » Themes » Garland or Bluemarine
4. Disable all contributed or customized modules. You'll need to do this a couple times to get all the checks..
(Administer » Site building » Modules)
5. Move the original Drupal site to a new(temp) folder:
Click on the "drupal-6.16" folder in Sites and re-name it to "old-drupal-6.16"
6. copy over drupal-6.20.tar.gz to the Sites folder and double click it to uncompress it.
Should now have a drupal-6.20 folder.
7. The New site is now drupal-6.20
8. Browse to that site. ie: http://localhost/~username/drupal-6.20
Run through the install as normal.
I got some errors.. so fix those..
prompt% cd Sites/drupal-6.20/sites/default/
prompt% cp default.settings.php settings.php
prompt% su root
prompt# chown www settings.php
prompt# chgrp www settings.php
prompt# mkdir files
prompt# chown -R www files
prompt# chgrp -R www files
hit try again.
Re-enter the your database info.
On the next page follow this bullet: and Click the "update script"
*To upgrade an existing installation, proceed to the update script.
** Run the update.php script., <-- Important, this will update your database.
One major note. I disabled my path auto because it need updates. That caused 404 errors as I tried to navigate to do admin stuff. All I needed to do is replace the /admin/ with /?q=admin/ in the URL. Then went and disabled Clean URLs. good to go.. See # 1.3 above..
-- Get any module updates before you re-enable them.
8.1. Run the update.php in Home » Administer » Site building
9. Re-enable your contributed modules and run update.php
(Administer » Site building » Modules)
8. Re-enable your theme and if necessary run update.php
To make your update run as smoothly as possible, there are various preparations that experienced Drupal users do to guarantee the least frustrating upgrade and minimal interruption to their sites and users. These best practices are detailed in the full tutorial along with these basic steps.
Recent comments
1 year 42 weeks ago
1 year 45 weeks ago
1 year 45 weeks ago
1 year 45 weeks ago
1 year 47 weeks ago
1 year 48 weeks ago