<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">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. <br><br>There are several implications of all this:<br><br>1) Telling people to disable the modules before updating is pointless, they will be updated either way.<br><br>2) Both the system and contrib updates will all run the first time you visit update.php. That means you should only put in the modules folder modules you want updated. If there are any questions about any of them, disabling them to keep them from updating will not work, you must remove them or uninstall them.<br><br>3) If you have modules that are not current (either core or contrib), you will see a message that you have an
 outdated module and it will not update, which will require you to start over, get them all updated in D5, and then move to D6. So the preferred way of doing this would more likely be to make sure all your code is current in D5 *before* you attempt to upgrade.<br><br>Also, you should check on contrib modules to see if there are any special instructions for the update. Now that disabled modules are updated and old updates may be gone, contrib modules may have suggestions of things you should do before you upgrade (like CCK which will ask you to get current on D5 before you upgrade to D6).<br><br>Karen<br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Greg Knaddison &lt;greg@pingvox.com&gt;<br>To: development@drupal.org; A list for documentation writers &lt;documentation@drupal.org&gt;<br>Sent: Friday,
 January 18, 2008 7:32:43 AM<br>Subject: [development] how to upgrade from 5.x to 6.x<br><br>
Hi,<br><br>I'm asking this on question to both Devel and Docs because I'm about<br>to make an "upgrading" screencast and want to be sure that I'm using<br>the best method.<br><br>In our handbook[1] we tell people that before the upgrade they should<br><br>"Turn off (but do not uninstall) all modules that are not core modules"<br><br>I've done that a few times and it always threw various errors when I<br>then installed the updated versions of the contrib modules.&nbsp; I then<br>started to follow steps more like:<br><br>1. Download the new version (i.e. 6.x)<br>2. Download the 6.x compatible version of all my contribs (fix or<br>remove the ones that haven't been upgraded)<br>3. Install the new core and contrib modules<br>4. Run update.php which will do all of core and contrib at the same<br>time which, in my experience, causes fewer errors<br><br>In discussion last night chx mentioned that the reason we tell people<br>to disable the contrib modules is to
 prevent bootstrap.inc from<br>calling a function that no longer exists and thus locking you out of a<br>site.&nbsp; I think that is not a problem as long as you do my steps 2/3.<br><br>Does anyone have a concrete, repeatable, simple example of why doing<br>it my way is worse than the way in the handbook?&nbsp; I think this might<br>be a relic of the update process of years gone by that we can now<br>forget, which would be nice since I think it simplifies the process.<br><br>Regards,<br>Greg<br><br>[1] <a href="http://drupal.org/upgrade/preparing-the-site" target="_blank">http://drupal.org/upgrade/preparing-the-site</a><br><br>-- <br>Greg Knaddison<br>Denver, CO | <a href="http://knaddison.com" target="_blank">http://knaddison.com</a><br>World Spanish Tour | <a href="http://wanderlusting.org/user/greg" target="_blank">http://wanderlusting.org/user/greg</a><br><br><br><br></div><br></div></div></body></html>