Hot to update Drupal 7 website


  1. Make a backup of your Drupal instance (database).
  2. Set your site on maintenance mode.(Click here)
  3. Delete all the files & folders inside your original Drupal instance except for /sites and its sub-folders.
  4. Warning: If your Drupal installation is built from a distribution your site will break if you delete the /profiles folder. Don’t delete the profile folder that corresponds to the distribution you installed, for example /profiles/kickstart if you installed Drupal Commerce Kickstart.
  5. Copy all the folders and files except /sites from inside the extracted Drupal package [tar ball or zip package] into your original Drupal instance location.
  6. Some updates do not include changes to setting.php and some do. 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.
  7. If you have modified files such as .htaccess or robots.txt re-apply those changes to the new files.
  8. If you have a favicon.ico file that was deleted replace it too
  9. Login to your site as administrator
  10. Run “update.php” by navigating to http://yourdrupalsitename/update.php and follow the process to update your Drupal instance
  11. Disable maintenance mode.
Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s