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.

Multilingual – Revisited

It took me a little longer to get back to this and I am frankly not eager about it. Because Multilingual is hard. There are a LOT of modules and ways to do this. And this myriad of choices makes for a lot of in-the-dark feeling decision making.

Read this first –

You might read this post of mine from January when I was neck deep in this stuff. I have a neat Draw file that shows some of the complexity that you can find here.

Drupal 7 Language Modules, Dependencies and a Few Relationships Between Them

I will say though that I have gotten better with Drupal and feel like I have a good shot at making this work.

One of the things that I was really hoping to find was a way to translate stuff automatically. And you can do that to a degree with the Drupal Interfaces. But the content, well I believe that it has to be a manual process. There are good tools available to do that and to manage the process. But NFL …No Free Lunch…

Drupal Core Upgrade 7.20 to 7.21

Core update was released yesterday and since these generally address security issues, always a good idea to put it in place ASAP. Plus, then you won’t have to read all those warnings!

I have installed this on my sandbox and had no issues. I’m doing a reboot now and after checking the status report and a few of the features, i’ll install this on prod. I followed the same procedure as before. Here is the link. Will issue a Change Request when I am done.

Make note that I am on Centos 6.3 and the commands are specifically for this OS. BUYER BEWARE!

Upgrade Drupal Core from 7.19 to 7.20

I’ll be upgrading my core Drupal files to the version that was released this week.

Here is the short link to the proc i use to upgrade core files. I have used it several times and it is sound.

Sand first then prod. I’ll post how it goes later today. shouldn’t take too long.

I’m also going to spend some time in Quality Assurance for Sand, Qual and Prod. Making sure that they are reasonably close in the modules (need to be the same on that) installed and the stylings that are running on prod. Housekeeping. Very important.

here is a good linux command that i always forget. to delete a non-empty linux dir type

rm -rf /dirname

from the directory right above the one that you want to remove.

The core upgrade is complete with no errors/issues. The upgrade was performed on Sand first. No issues there. Cron has run and everything is up to date. Looking good.

Drupal 7 Core .TPL.PHP files

this link will take you to a list of all the template files used in the core. this is a great link that has been very useful to me. each template is fully linked to an explanation of the template itself.

these are the files that I am particularly concerned with: