Our intranet wiki is MediaWiki 1.11. Someone did something unknown to it and a pile of stuff doesn't work (JPEG upload, for instance - see previous messages on this topic). I tried an upgrade to the latest stable version and it failed! Clearly, something is deeply messed up.
It should be possible to take a database dump, undump to a fresh copy and rebuild the config with our desired options. (Config will now be kept in local svn for recoverability!) Then I should be able to upgrade to latest stable.
Questions:
1. Has anyone else done this? Gotchas? 2. If the fouled-up-ness extends to the data in the database, such that the reinstalled copy is broken in the same way ... what partial recovers are possible?
- d.
David Gerard wrote:
Our intranet wiki is MediaWiki 1.11. Someone did something unknown to it and a pile of stuff doesn't work (JPEG upload, for instance - see previous messages on this topic). I tried an upgrade to the latest stable version and it failed! Clearly, something is deeply messed up.
Take a look at the MySQL manual on repairing tables. You might just need to do that. It's a trivial fix.
Mike
Quipped David Gerard On Wednesday, March 25, 2009 7:29 AM
Questions:
- Has anyone else done this? Gotchas?
- If the fouled-up-ness extends to the data in the database, such
that the reinstalled copy is broken in the same way ... what partial recovers are possible?
Hi David,
Don't forget to copy your images/uploads folder over also. You may want to run rebuildImages.php --force and rebuildAll.php from the maintenance directory once you finish setting the new one up. Those magically fix a lot of problems for us. Other than that you should likely be good to go.
I don't have any tips for fixing the database unless it's corrupt and then you can figure out the MySQL rebuild commands as well as I can.
Good luck! -Courtney
mediawiki-l@lists.wikimedia.org