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.


Sand/Prod Reconcilliation

That time again. After all the work I have done on Prod, it and my sandbox are not in sync at all.

reconcile complete. 171 of 233 modules enabled/installed.

Prod/Sand Reconcilliation

It’s that time again. after several days of intense development, I need to get the prod and sand sites back on the same code base.

171 of 210 modules installed. ran yum update on sand (prod is maintained by Blackmesh hosting). Complete

Upgrade Elements – Prod Change Request

Install the upgrade for this module through Drupal’s upgrade service.

Install Flag and Flag Friend Modules

I have these installed in Sand and they are fine. These will expand the features of Drupalchat, User Relationships and Invite Modules.

I am enabling all four below.

Flag 7.x-2.0 Create customized flags that users can set on content.

Required by: Flag actions (disabled), Flag friend (disabled), Flag friend access control (disabled)
Flag actions 7.x-2.0 Execute actions on Flag events.

Requires: Flag (disabled)
Flag friend 7.x-1.0-alpha9 Flag users as friends. Implements it’s own flag and a form for sending a user a message upon flag.

Requires: Flag (disabled)
Required by: Flag friend access control (disabled)
Flag friend access control 7.x-1.0-alpha9 Allows users to specify that only their friends can view this piece of content

Requires: Flag friend (disabled), Flag (disabled)

Install Drupalchat, User Relationship and Invite Modules

I have all these in sand and they seem to be fine and the functionality that I want is available from them. so I have installed them on Prod and configured them as well. Seem to be working just fine. I now have a chat app. I created a default one way relationship called Get Support! and then added that to the Drupaltalk stuff. Also added the appropriate permissions like i mentioned yesterday. So now, new users will be added to that relationship and will be able to see me automatically in the chat feature. if i am online. that way I can provide support to the pioneering members of my site.

Production Change Request Upgrade Drupal Core 7.20 – 7.21

This core upgrade has been installed in the sandbox with no issue.

Upgrade on Production complete. No issues, functionality has been confirmed.