Core Upgrade – 7.21 to 7.22 procedure for Centos 6.3

Looks like it is that time again. I’ll be upgrading the Core to 7.22 today. Sand first then prod.

This is the procedure that I am using. I have used it for three previous core upgrades and have never had a problem. Note that I am running Centos 6.3 on both core and sand. I have updated it for this post as well.

  1. Back up everything
  2. Download the new core file
  3. Put site into maintenance mode
  4. Place it on the server and extract all the contents to /var/www/upgrade/drupal-7.22
  5. In the newly extracted files delete the sites directory and all its subs. This is done because the upgrade is not going to replace anything in this directory
  6. From a terminal window type:          yes | cp -r /var/www/upgrade/drupal-7.22/* /var/www/html
  7. Note that the destination folder of html is my doc root and all the drupal folders/files are located right underneath this. the yes | cp…. prefix is to let the system know to overwrite everything in the destination. since sites is the only directory that we want to keep and we have removed it from the source, this will be fine.
  8. Run update.php by navigating to http://…yourdrupalsitename/update.php
  9. Follow the instructions for this closely
  10. Navigate to reports, available updates and check the version of your core
  11. Take the site off of maintenance mode
  12. Check different things on the site to ensure a smooth upgrade has occurred.
  13. That should just about do it.

The Sand upgrade is completed. No issues. Proceeding to Prod.

Prod upgrade is complete. No issues.

Advertisements

3 Responses

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

%d bloggers like this: