Theoretically for the most part is it usually a non-issue to overwrite modules ?

Typically i would disable a module then upgrade a module. Is disabling a module superfluous?

Obviously, I'll take the steps to backup my database before doing so.

link|improve this question

feedback

1 Answer

up vote 14 down vote accepted

You don't need to disable a module. That is often not even possible e.g. when there are many other modules relying on it and disabling them would break your site.

You might want to take your site to maintenance mode while running updates though, as your site might completely break between replacing the files and running update.php.

What however is recommended is to remove the old files first and then add the new directory. The reason for this is that you otherwise end up with stale files if files have been moved or deleted.

If you have shell access, I can strongly recommend using drush dl/up for this task as this will handle this for you automatically.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.