I have googled and searched this forum and cannot find step-by-step instructions how to update Drupal core from 7.0 to 7.2. I am hosting my site on godaddy.com, so I can access my server via the ftp client, but I do not know where or what I should be doing to make the update. I have found a way using myphp (come with godaddy hosting) to make a backup of my site. I am not a technical person but chose Drupal for my personal website for the challenge of learning something new, but I can't seem to get through this challenge. Can someone help me or point me to the documentation that I'm overlooking?

Thank you!!!!!!

Comments

whitingx’s picture

The upgrade instruction can be found here;

http://drupal.org/upgrade

And this video might also be useful;

http://learnbythedrop.com/drop/7

Hope this helps.

Rodney Strong’s picture

Hi, good choice on Drupal!

I had this same problem too. After you download and EXTRACT the 7.2 update, open the folder and there should be a file in there titled "UPGRADE.txt". Open it and the whole process for upgrading from 7.0 to 7.2 will be explained there.

To make it easy on you, I've copy and pasted the important part of that file for you here (with some strange formatting issues, my apologies):

Make a full backup of all files, directories, and your database(s)
before starting, and save it outside your Drupal installation directory.
Instructions may be found at
http://drupal.org/upgrade/backing-up-the-db

* It is wise to try an update or upgrade on a test copy of your site
before applying it to your live site. Even minor updates can cause your site's behavior to change.

UPGRADE
PROBLEMS
----------------
If you encounter errors during this process,

* Note any error messages you see.

* Restore your site to its previous state, using the file and database backups
you created before you started
the upgrade process. Do not attempt to do
further upgrades on a site that had update problems.

* Consult one
of the support options listed on http://drupal.org/support

More in-depth information on upgrading can be found at
http://drupal.org/upgrade

MINOR VERSION UPDATES
---------------------
To update from one minor 7.x version of Drupal
to any later 7.x version, after
following the instructions in the INTRODUCTION section at the top of this file:

1.
Log in as a user with the permission "Administer software updates".

2. Go to Administration > Configuration >
Development > Maintenance mode.
Enable the "Put site into maintenance mode" checkbox and save the

configuration.

3. Remove all old core files and directories, except for the 'sites' directory
and any custom files
you added elsewhere.

If you made modifications to files like .htaccess or robots.txt, you will
need to
re-apply them from your backup, after the new files are in place.

Sometimes an update includes changes to
settings.php (this will be noted in
the release announcement). If that's the case, replace your old
settings.php
with the new one, and copy the site-specific entries (especially the lines
giving the database
name, user, and password) from the old settings.php to
the new settings.php.

4. Download the latest Drupal 7.x
release from http://drupal.org to a
directory outside of your web root. Extract the archive and copy the files

into your Drupal directory.

On a typical Unix/Linux command line, use the following commands to download
and
extract:

wget http://drupal.org/files/projects/drupal-x.y.tar.gz
tar -zxvf drupal-x.y.tar.gz

This
creates a new directory drupal-x.y/ containing all Drupal files and
directories. Copy the files into your Drupal
installation directory:

cp -R drupal-x.y/* drupal-x.y/.htaccess /path/to/your/installation

If you do not
have command line access to your server, download the archive
from http://drupal.org using your web browser,
extract it, and then use an
FTP client to upload the files to your web root.

5. Re-apply any modifications to
files such as .htaccess or robots.txt.

6. Run update.php by visiting http://www.example.com/update.php (replace

www.example.com with your domain name). This will update the core database
tables.

If you are unable to access
update.php do the following:

- Open settings.php with a text editor.

- Find the line that says:

$update_free_access = FALSE;

- Change it into:
$update_free_access = TRUE;

- Once the upgrade is done,
$update_free_access must be reverted to FALSE.

7. Go to Administration > Reports > Status report. Verify that
everything is
working as expected.

8. Ensure that $update_free_access is FALSE in settings.php.

9. Go to
Administration > Configuration > Development > Maintenance mode.
Disable the "Put site into maintenance mode"
checkbox and save the
configuration.

tarbour’s picture

I've crashed my site twice trying to do this. "Step 3) Remove all old core files and directories, except for the 'sites' directory
and any custom files you added elsewhere." - I interpreted this to delete everything but the SITES directory. What is "Core" files?

I don't get it - as we go to "newer" versions, this gets more complicated.

1001webs’s picture

tarbour,

if you are updating the core your files, you're not supposed to be using any part of the CMS until the update is over.

Obviously, if you try to navigate around the website after you delete all core files and directories, it isn't going to work, right?
While I agree upgrade instructions should be presented more prominently, specially on-line, this is just common sense.

In short, using FTP:
1- Remove all old core files and directories, except for the 'sites' directory
2- Upload new files
3- Update.php by visiting http://www.example.com/update.php (replace www.example.com with your domain name).

And then, and only then, try to navigate around.

Hope this helps.