[Mediawiki-l] Upgrade to 1.15.2 question

Tolliver tolliver at dal.ca
Thu Apr 1 14:28:38 UTC 2010


Hello,

Thanks to everyone for all of your assistance, but I hope this is my 
last question:

Does anyone know what could be causing the following errors when I run 
./update.php:

./update.php: line 1: ?php: No such file or directory
./update.php: line 2: require_once: command not found
./update.php: line 3: /appl: is a directory
./update.php: line 4: addwiki.php: command not found
./update.php: line 5: addwiki.php: command not found
./update.php: line 6: addwiki.php: command not found
./update.php: line 7: addwiki.php: command not found
./update.php: line 8: addwiki.php: command not found
./update.php: line 9: addwiki.php: command not found
./update.php: line 10: addwiki.php: command not found
./update.php: line 11: archives/: is a directory
./update.php: line 13: /appl: is a directory
./update.php: line 14: =: command not found
./update.php: line 15: syntax error near unexpected token `('
./update.php: line 15: `$options = array( 'quick', 'nopurge' );'

Thanks,
Graham


Platonides wrote:

> Tolliver wrote:
>   
>> Hello,
>>
>> Excuse me if my question sounds like a newbie, but I still am; I 
>> inherited the Wiki Server some months ago. I am preparing to upgrade 
>> MediaWiki 1.11.0 to 1.15.2, and we currently have 30 wiki’s.
>>
>> My understanding is, I can upgrade each wiki individually. Having said 
>> that, can I perform the install process of the new version, replace the 
>> old wiki’s with the new install individually? Hence not having any 
>> databases being affected except for the wiki I upgrade.
>>
>> I trust that this question is in keeping with this forum.
>>
>> Thanks,
>> Graham
>>     
>
> Install process?
> You may be taking a wrong approach.
> You update by replacing the old files with the new ones, then running
> the script at maintenance/update.php
> Only the database of that wiki is affected.
>
> So to update you should just surround it with a "foreach wiki..."
> Good prectises advise making a db backup before updating.
>
> If the wikis are sharing the files, it may be a bit harder, since you
> would need to break the links for updating individually (or update all
> dbs one after other at the same time).
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>   




More information about the MediaWiki-l mailing list