
Updating a Drupal site is vital for security. In this tutorial we're going to show you how to update your Drupal 7 site from one minor version to another. That means from 7.0 to 7.2 or 7.2 to 7.4. and so on. Unfortunately moving between major versions such as from 5 to 6 or from 6 to 7 is a much bigger topic and too large for a single tutorial. Before you start, please remember one thing: backup, backup, backup, backup, backup, backup, backup, backup your site! Step 1: Check for Available Updates![]() To get started with updating your Drupal site, click on "Configuration" and then "Available updates". ![]() This page will show you an updates you need to make. They will be marked in red as in the image above. If there are updates, it is worth putting your site in maintenance mode at this point to avoid any problems for your users as you update. Instructions for doing that are here. Step 2: Download the Update Files![]() Drupal will show you a link to download the files for the new update. Step 3: Upload the Update Files![]() Unzip the files that you've just downloaded. IMPORTANT: Delete the /sites/ folder from these unzipped files. Do not upload the /sites/ folder as this will overwrite any custom work that you have done. Make sure that you leave the exisiting /sites/ folder intact on the server. Then open up your FTP program or file manager and navigate to your existing Drupal site files. Simply upload the new files over the top of the existing ones. ![]() Once the upload is complete, you can refresh your "Available updates" page and hopefully it will now be marked in green rather than red. Step 4: Run the Update Manager
Click on "Modules" and then click on "Always run the update script each time a module is updated". ![]() Click "Continue". ![]() Click "Apply pending updates". ![]() You should now see a page saying the update has been successful with no errors. Click on the "Administration pages" link and go "Configuration" then "Maintenance mode" to put the site back online. |

With Admincredible you can update and manage all your Joomla sites. If you have 5 or 500 sites, Admincredible will make your life easier! Visit Admincredible.com.
All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:
Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.
Copyright 2013 Open Source Training, LLC. All rights reserved.
Comments
How long is the process supposed to last, for 12 updates?
that the real info who might just set you on the top.
Why? I think you know the answer to that ;)
It can be a mammoth project to move from D6 to D7.
However, it's something we're willing to undertake, perhaps in a series of tutorials here on the blog.
I wonder why we should " upload the new files over the top of the existing ones."
After uploading the new files, do we need to delete the existing old files?
Good question. Uploading the new files over the top of existing ones replaces the old ones that have the same name, but not any others. So there's no need to delete existing old files because they are replaced (deleted and new ones put in their respective places if you want to think of it that way).
Kind regards,
Nick
show people that using his method is "right" for updating Drupal 7.
ON YOUR RISK TRYING OUT THIS UPDATE PROCEDURE! God bless you.
Try it on a test site if you're not sure ;) Or you can create one single folder with a single file in it to test FTP the same folder name with a different file name.
Kind regards,
Nick
Try ostraining.com/blog/drupal
We've started to publish a series of free tutorials on moving from Drupal 6 to 7.
One staff has designed his front page in his old Drupal 7.4 version, and store in
the site/all/themes directory.
Because you said, uploading all new files to the top of the old files, so
the NEW "site" directory override the old "site" directory, then hid OLD front page is totally gone.
And will you take any of the responsibility for this?
1) It's a free tutorial we've given you.
2) The instructions are accurate.
3) Your colleague clearly didn't follow the instructions at the top of the page:
Quote:
By the way, we just recently launched our Drupal Beginner and Intermediate classes. They are worth checking out if you have some time: www.ostraining.com/online
Kind regards,
Nick
If you'd like to learn more about Drupal, we just launched our Drupal Beginner and Intermediate classes :) Here's the link to the landing page: www.ostraining.com/online
Kind regards,
Nick
"IMPORTANT: Delete the /sites/ folder from these unzipped files. Do not upload the /sites/ folder as this will overwrite any custom work that you have done. Make sure that you leave the exisiting /sites/ folder intact on the server"
Kind regards,
Nick
Again, thanks
1. Extracting all "update files" and removing the sites dir from it.
2. Put it in maintenance mode.
3. Coping all "update files" over the old files.
4. Had to "chmod 775 -R *" change the permissions, cause the extracted files were 644.
5. Took it out of maintenance mode
6. But upon trying to access the updated site (reports status says it's 7.20). There is no content, none at all. I had to revert to a snapshot to get the system back to where I started. Any suggestions?
Thank you.