Skip to content

Obviate.io

To anticipate and prevent

  • Home
  • About Us
  • History
  • Privacy Policy
  • Toggle search form

MediaWiki Upgrade

Posted on 2006-07-21 By Jon No Comments on MediaWiki Upgrade

So for the last year-ish, I’ve been running a wiki inside our company. Recently I got my hands on some new hardware to run the wiki, not that wiki’s are that processor intensive. I thought that it would also be a good time to upgrade to a new version of MW since I was running 1.4. Apparently they have made “significant” changes from 1.4 to 1.5, making the upgrade more difficult.

I setup MW1.7 on the new machine much like it was on the old, copied over the images, and LocalSettings.php file. I also dumped the DB from the old machine and imported it into the new. I went into the maintenance directory and ran “upgrade1_5.php” (from the command line, which I might add is not installed by default on debian). That worked well, but I guess it is “experimental” so be careful with your data. Then the fun part — running “update.php” due to some CRAP programming by the MW guys, if you try to run this from the maintenance directory like the last script — it will crash part way through (can’t find the right directory). Of course you can’t re-run the process because part of the tables have been fixed. So roll back to your old data and start again. This time run update.php from the root directory of your wiki and you’ll be set.

Its not like it was _that_ big of a deal, but its is really stupid that a script will half wok from a directory and half not. Come on people, its not that hard to run “cd” inside your applications.

Linux

Post navigation

Previous Post: ESS Goes Down
Next Post: Dell Demension D620

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

July 2006
S M T W T F S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  
« Jun   Aug »

Copyright © 2022 Obviate.io

Powered by PressBook Premium theme