Updating modules

odisey - November 2, 2009 - 17:27

A few modules need updating:

Auto Assign Role 6.x-1.0-rc1
Recommended version: 6.x-1.1 (2009-Sep-25)

CAPTCHA 6.x-2.0-rc3
Recommended version: 6.x-2.0 (2009-Sep-23)

FileField 6.x-3.1
Security update: 6.x-3.2 (2009-Oct-20)

ImageField 6.x-3.1
Recommended version: 6.x-3.2 (2009-Oct-20)

Poormanscron 6.x-1.0
Recommended version: 6.x-1.1 (2009-Oct-23)

Question: Do I need to worry about breaking my site if I update these? I am real new to this.

Thank you,
Odisey

.

dddave - November 2, 2009 - 18:23

As long as you use recommended releases nothing bad should happen. Don't forget to run update.php after updating and also don't forget to make a decent back up BEFORE you start to update.
In addition, it is a wise move to update one module after another and not all in one shot.

Updating ...

odisey - November 2, 2009 - 20:48

OK ... How exactly do I update a module? I am thinking this:

1) Rename existing module something like 'Module_old_backup.'

2) Install updated version of module making sure it is in a folder named exactly like the original was.

3) Cross fingers.

4) Refresh a page or content that actually uses some aspect of the updated module and see if it is working.

Anything right here?

What did I miss?

Thank you,
Odisey

=-=

VeryMisunderstood - November 2, 2009 - 20:51

do not rename the folder. If you do drupal won't update to the new one even when it's renamed and you may wind up with errors as the modules .info file no longer matches its folder. If you want a back up, back it up outside of your drupal installation. Then delete the old module folder and replace with the updated module folder.

Then you run update.php as previously instructed by the previous commentor.

and ALWAYS back up your database before you upgrade modules, core, or introduce new modules into a production site.

Thank you ... I will give

odisey - November 3, 2009 - 04:40

Thank you ... I will give it a go ...

Odisey

 
 

Drupal is a registered trademark of Dries Buytaert.