Update Drupal Core

Here is the process to update Drupal Core.

1) Make a backup of your Drupal instance (database). (For ex: with MySQL)

2) Download the latest release of your current Drupal version

3) Extract the [tar ball or zip] Drupal package

4) Set your site on maintenance mode (For ex: How on D7)

5) Delete all the files & folders inside your original Drupal instance except for /sites and its sub-folders

6) Copy all the folders and files except /sites from inside the extracted Drupal package [tar or zip package] into your original Drupal instance location

7) Some updates do not include changes to setting.php and some do. See There is a way – Comment below for more on this. If the update release includes changes to settings.php you will need to replace your old settings.php in …/sites/default/ with the new one, and then edit the site-specific entries (eg database name, user, and password) in the setting file

8) If you have modified files such as .htaccess or robots.txt re-apply those changes to the new files

9) If you have a favicon.ico file that was deleted replace it too

10) Login to your site as administrator or as user id 1

11) Run update.php by navigating to http://your-drupal-site/update.php and follow the process to update your Drupal instance

12) Disable maintenance mode


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s