Newbie - how to update modules - help please

mkogel - May 30, 2008 - 13:54

Drupal reports indicates that there are new version fo the modules I am using available. I haven't updated any module so far. How do I go about it? My guess is the following, please let me know if this is right before I do anything silly.

1.) Download the new version of the module
2.) ftp to the server and over write the old module

I am not sure whether I am supposed to disable the old module first on the admin side. Please advise.
Is the content in the database effected with the updates?

Thanks in advance.

1) Download the new version

Magnity - May 30, 2008 - 14:23

1) Download the new version of the module and unzip
2) Take your site into maintenance mode
3) Delete the existing module folder, and ftp in new one (avoids any remnants being left behind)
4) Run update.php in case any database changes are required (depends on how major the update is - most modules won't need this)
5) Take your site back into production mode

It doesn't hurt to back up the file system plus database before doing any type of update too! (Just in case)

Also, make sure you test things out afterwards, and read any README.txt files in the new module directory first.

Magnity

http://webdesign.magnity.co.uk
Magnity Webdesign is currently looking to recruit developers for a number of client projects.

 
 

Drupal is a registered trademark of Dries Buytaert.