Thread:Project:Support desk/Easy way to upgrade from version 1.8 to 2.1?/reply (11)

I do not understand why you do this:


 * I have unpacked my old mediawiki directory into a different directory to the new version of mediawiki.

You only need to unpack MediaWiki tarball, don't transfer the old files to the new server!

About this one:


 * I have copied the LocalSettings.php and the images/ directory from my old nediawiki to the new mediawiki directory.

You need to also edit this file to point it to the new database server! And correctly configure any filesystem path that has changed from the old installation, and maybe $wgServer.


 * I have copied the extensions directory contents from my old mediawiki to the new mediawiki directory.

You shouldn't be doing this. You're basically copying outdated and incompatible extensions on your new installation. That won't work. You should instead download the new versions of those files and place them on the new extensions directory. But in case you have problems, it would make sense to just install without enabling any extension, and once you get the wiki upgraded, you would enable the extensions, run update.php again (in case any extension needs to perform some schema changes) and test it again.


 * I have restored the files created with dumpBackup.php to the new mysql database.

If you have imported the mysql dump that you got with  on the new database, you don't have to import the XML dump, because the contents are already present on the database! Please skip this one

After you have imported the database to the new server, and corrected LocalSettings.php, you should run.

This is basically what Manual:Upgrading says. I don't know how you get it so badly confused!