jump to navigation

Upgrading Mediawiki July 23, 2006

Posted by Andy Roberts in : Wiki , trackback

Since upgrading to mediawiki 1.6.7 I started getting problems when updating large pages, or ones with RSS rendering on them. They returned a blank page, sometimes after saving, sometimes without.

In the end I tracked this down to the php memory limit.

The method for upgrading the database which I was following, was as follows:

*backup everything
*unpack the new softaware over the old
*remove localsettings.php
*run the install script and input the parameters as though for a fresh install
*restore the old localsettings.php

The problem with this is that you don’t benefit from improvements
which have been put into teh new localsettings.php in the config dir.

eg uncommenting

# If PHP’s memory limit is very low, some operations may fail.
ini_set( ‘memory_limit’, ‘20M’ );

So I think a better method of upgrade is to use the new localsettings
file, and copy in any user modifications from the old one.

There’s also the problem with permissions settings on the images
directory but that’s just tedious to reset.

Also, mediawiki 1.7 requires php5 which my host doesn’t seem to be providing, so I suppose I’ll be sticking with 1.6.* for a while yet.

Technorati Tags: , , ,

RSS feed | Trackback URI

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> in your comment.

Related Posts from the Past: