[support] How to upgrade multisite installations to Drupal 5.0?

Earnie Boyd earnie at users.sourceforge.net
Mon Apr 2 16:28:13 UTC 2007


Quoting dondi_2006 <dondi_2006 at libero.it>:

>
>
>> Quoting dondi_2006 <dondi_2006 at libero.it>:
>>
>> > Hello,
>> > I have checked in the forums, and all I have found is
>> > other two users with the very same problem and no answer at all in
>> > three weeks:
>> >
>> > http://drupal.org/node/126461
>> > http://drupal.org/node/132425
>> > http://drupal.org/node/126438
>> >
>> > Is it really true that there is no way to upgrade
>> > one multi-site drupal install from 4.7.6 to 5.0 or 5.1
>> > working only on the command line????
>>
>> You could use wget but the upgrade.php expects you to pick a
>> version to upgrade to.
>
> I know that wget or curl can do this kind of things, thanks. I 
> haven't gone that way yet for two reasons:
>
> 1) I really, really couldn't believe that this case (one drupal install
>   for several sites, each one with its own database) had been ignored
>   or forgotten by the developers. I haven't even seen anywhere any
>   official announcement that such a way to use Drupal would have
>   become deprecated with Drupal 5. Did I miss such an announcement?

It isn't deprecated or removed.  Automation for updates were improved 
in Drupal 5.  However, the multi site update detection must be lacking 
for you to post this.  There is no reason why you can't execute the 
update.php on each site manually by directing the URI to update.php for 
each site.

> 2) I am not going to play with several *live* websites, risking to
>   mess them up, to make an untested procedure work. Not until there
>   is the slightest possibility that a tested way to make this upgrade
>   comes up (I can't obtain more databases right now on that server).
>

Only a fool would play with an update without first doing it in a 
development environment first.  How will the update affect your 
modules?  Are all of the modules you use up to date with the current 
version?

> Is it at least possible to know for *sure*, before trying it, if
> running that procedure through ONE of the websites currently managed by
> Drupal 4.7.6 will upgrade all the others?
>

Look at update.php.  Test it in development.

Earnie


More information about the support mailing list