[development] how to upgrade from 5.x to 6.x

Gábor Hojtsy gabor at hojtsy.hu
Fri Jan 18 14:59:08 UTC 2008

On Jan 18, 2008 3:26 PM, Karen Stevenson <karen at elderweb.com> wrote:
> The D6 code now updates all enabled *and* disabled modules that exist in the
> modules folder, all at the same time. Also, there is now a 'last_updated'
> hook that allows modules to omit older updates from the .install file.
> There are several implications of all this:
> 1) Telling people to disable the modules before updating is pointless, they
> will be updated either way.

Not really. Only if you disable the modules *and* copy there the
updated module code. AFAIR, the upgrade instructions tell you to
disable the contrib modules, update core code and database and then
download updated contrib modules one by one and run their updates one
by one. update.php will skip updates for modules which are not
compatible with the current core version.

Read UPGRADE.txt, and it says:
 - move away *all* files from your Drupal root
 - uncompress the new Drupal package there
 - restore uploaded files, robots.txt and .htaccess modifications as
well as settings.php values
 - run the core update
 - *then* download and update contrib stuff

There is no mention on doing all contrib stuff at once or one by one.

> 2) Both the system and contrib updates will all run the first time you visit
> update.php.

Unless you follow the upgrade instructions ;)


More information about the development mailing list