May 26 2006

Files Changed by Drupal Upgrades


Categories:

Upgrading Drupal

Drupal recommends taking the following steps to upgrade to the latest version of Drupal:

  • Backup your database and Drupal directory - especially your configuration file in 'sites/default/settings.php'.
  • Log on as the user with user ID 1.
  • If you are upgrading to a new major release (ie. 5.x to 6.x), you may want to disable contributed modules (leave only core modules on) and put your site "offline" while upgrading.
  • Remove all the old Drupal files then unpack the new Drupal files into the directory that you run Drupal from.
  • Modify the new configuration file to make sure it has the latest and correct information.
  • Run update.php by visiting http://www.example.com/update.php.

This process upgrades all the core Drupal files, including ones that may not have changed in minor updates. For this reason, we are going to list version-specific files that have changed for those wishing to simply update the necessary files. This is how we update our Drupal installations. In other words, we simply replace the files that were updated, and run update.php. This achieves the same result as removing all the old files and replacing them by all the new ones, as long as you carefully observe which versions of Drupal you are upgrading. While we've done our best to maintain their accuracy, we do not guarantee the correctness of these lists, and will not be held responsible for any problems you encounter as a result of their use. If unsure, please follow the official upgrade instructions included in your distribution's download. Remember to check your changelog file (in root directory) to see which version of Drupal your site is currently running.

Select Your Drupal Version

Drupal 6.x

Drupal 5.x

Drupal 4.x

Request Older Revisions

Because it takes more time than we have to post revisions for all previous Drupal versions, we are currently only posting a list of files changed by the latest update, plus specific revisions requested by users. If you need the update list for a version that is currently unlisted, please comment below.

Average: 5 (2 votes)
Select your preferred way to display the comments and click "Save settings" to activate your changes.

Available for other versions of Drupal?

Hi Alex,

Thanks for this! I've been looking for a list such as this for a while now. Any chance you can post the file changes from other 4.7 versions (beta and RC)?

Geoff

On the Way!

Hey Geoff,

Glad this was of use to you. I'm bogged down with work right now but will post the file changes from other Drupal versions (probably in a color-coded table) shortly.

New File Upgrade Form

This new file upgrade form will enable you to see lists of files upgraded, listing files that were added as well as removed, for Drupal versions 4.6.5 and up. Enjoy!

Older Versions Available Upon Request

I have removed and will no longer be supporting lists for older file versions, but if you have a specific version you need a list for please reply here or contact me and I will gladly provide it.

4.6.5 - 4.6.9 and 4.7.0 - 4.7.3 up

In response to user requests, update lists for 4.6.5 - 4.6.9 and 4.7.0 - 4.7.3 have been added.

4.7.4 Versions Up

I've added the 4.7.4 lists and updated the form box to reflect these. If your version is not listed reply here with the list you want and I'll post it.

5.0?

do you expect that an upgrade to 5.0 will be amenable to your differential file approach, and if so can you say when you will post the list? many thanks. I have used your lists for two upgrades in the 4.7 chain and they were flawless.

Upgrading to Drupal 5.0

According to Drupal.org:

Because the directory structure in Drupal changed, it is recommended not to extract Drupal 5.0 on top of your existing installation. Start with a fresh copy instead, and copy over your custom modules, themes and configuration file.

It appears that the file diff approach will not work upgrading from 4.7 to 5.0. I'll give it a try anyways and post back.

Meanwhile, for more details on the upgrade process I suggest you visit Drupal's upgrade page.

Cheers,
Alex

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Textual smileys will be replaced with graphical ones.

More information about formatting options

Captcha
This question is used to make sure you are a human visitor and to prevent spam submissions.
Copy the characters (respecting upper/lower case) from the image.