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.
- Back up everything
- Download the new core file
- Put site into maintenance mode
- Place it on the server and extract all the contents to /var/www/upgrade/drupal-7.22
- 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
- From a terminal window type: yes | cp -r /var/www/upgrade/drupal-7.22/* /var/www/html
- 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.
- Run update.php by navigating to http://…yourdrupalsitename/update.php
- Follow the instructions for this closely
- Navigate to reports, available updates and check the version of your core
- Take the site off of maintenance mode
- Check different things on the site to ensure a smooth upgrade has occurred.
- That should just about do it.
The Sand upgrade is completed. No issues. Proceeding to Prod.
Prod upgrade is complete. No issues.
2 thoughts on “Core Upgrade – 7.21 to 7.22 procedure for Centos 6.3”