Hi

I have a small doubt that do we need to disable the module before upgrading to new version?

Because what i just did was that I upgraded CCK to 6.x-rc7 from 6.x-rc6. I did not diasble the module, rather just replaced the old folder with the new folder, and then ran update.php. And everything worked alright, but I still have doubt that is the correct procedure to:

1. disable old version.
2. Replace old folder with new version.
3. Run update.php
4. Enable new version.

Please Clarify

Best Regards

Comments

Oblivious-1’s picture

You don't have to disable the module before updating. However, if you fail to do so it is possible that a user will trigger the module while files are being overwritten and before any database structure changes have been made. This will trigger an error and could possibly muck up a database table or two. Taking the site off-line by enabling maintenance mode is an easy way to prevent this.

--
Erik
https://twitter.com/erik_smith

gpk’s picture

Disabling the module first can occasionally prevent on-screen error messages from appearing but usually the upgrade works fine whether or not to disable the module first. Check the admin -> status report page to check that the DB schema is up-to-date. If it says it is then there is nothing to worry about.

gpk
----
www.alexoria.co.uk

ms1’s picture

EriK and Giles, thank you for the replies. I think it will be wise to keep the site offline and also if possible disable the concerned module before updating.

Best Regards