Safest upgrade path from Drupal 4.7.3 to 5.1?

ortles - March 10, 2007 - 07:21

Hello,

I recently took over a drupal site configured this way:

Centos 4.4
mysql-server-4.1.20-1.RHEL4.1
php.i386 4.3.9-3.22.3
php-mbstring.i386 4.3.9-3.22.3
php-mysql.i386 4.3.9-3.22.3
php-pear.i386 4.3.9-3.22.3

Drupal 4.7.3, one installation for several websites (each one has its own /var/www/html/drupal/sites/ subdirectory and separate
MySql database)

What is, in this context, the safest path from Drupal 4.7.3 to 5.1? Which intermediate versions should I go through? Are there any
specific extra tricks/scripts to run? I *have* looked at other messages in this forum, but AFAICT this particular upgrade path was not discussed before.

TIA,
O.

if it were me, id upgrade to

VeryMisunderstood - March 10, 2007 - 07:24

if it were me, id upgrade to 4.7.6 - than to 5.0 than 5.1.. rather be safe than sorry

thanks for the prompt reply.

ortles - March 10, 2007 - 07:49

thanks for the prompt reply. So you say I should do:

4.7.3 -> 4.7.6
4.7.6 -> 5.0
5.0 -> 5.1

I agree with "better safe than sorry" of course, however:

Comments on these issues?

Thanks,
O.

all versions in both paths

VeryMisunderstood - March 10, 2007 - 08:15

all versions in both paths are "still available". The user your reference was speaking in a context of running 5.1 rather than 5.0

http://drupal.org/drupal-5.1 you will find two links to the branches of the 4.7 tree and 5.x tree

Yes, but it is still unknown

ortles - March 31, 2007 - 08:20

Yes, but it is still unknown (I did ask this here twenty days ago and another user posted basically the same question) how to upgrade from 4.7.6 to 5.1 a multi-site installation from the command line!!

Why?

earnie - April 2, 2007 - 12:05

The update.php is scripted so that it knows what version the DB is currently set to and will execute the updates for each missed update in between. Well behaved modules will use the Drupal API to update itself. For misbehaved modules, open a ticket with the module project.

Earnie -- http://for-my-kids.com

Multiple sites

earnie - April 2, 2007 - 12:04

You could create a php script using cURL API. Set the POST/GET values for cURL commands once to set the version you wish to update to. Then set the URL for each site in a loop to execute the update.

Earnie -- http://for-my-kids.com

 
 

Drupal is a registered trademark of Dries Buytaert.