I've been tasked to migrate a MediaWiki install (V 1.5.6) to a new server. I suppose I could just install the older version but I'd rather migrate if it's possible. Is the jump from 1.5.6 to the current 1.18.0 too big a jump? I was planning on dumping the database from the old server and importing to the new if that is possible. I don't have a lot of experience here but if that will then I should be able to copy in all the images from old to new and be pretty much done. This wiki doesn't have any add-ons, just a basic wiki for some of my users to collect and share information.
On Mon, Dec 5, 2011 at 11:30 AM, Stephen Berg (Contractor) stephen.berg.ctr@nrlssc.navy.mil wrote:
I've been tasked to migrate a MediaWiki install (V 1.5.6) to a new server. I suppose I could just install the older version but I'd rather migrate if it's possible. Is the jump from 1.5.6 to the current 1.18.0 too big a jump? I was planning on dumping the database from the old server and importing to the new if that is possible. I don't have a lot of experience here but if that will then I should be able to copy in all the images from old to new and be pretty much done. This wiki doesn't have any add-ons, just a basic wiki for some of my users to collect and share information.
Dont try to import an old dump into a new version, upgrade to the new version and then dump, or install the old version on the new server and then upgrade.
Few more details mentioned here: http://www.mediawiki.org/wiki/Manual:Moving_a_wiki
On 12/05/2011 11:35 AM, OQ wrote:
On Mon, Dec 5, 2011 at 11:30 AM, Stephen Berg (Contractor) stephen.berg.ctr@nrlssc.navy.mil wrote:
I've been tasked to migrate a MediaWiki install (V 1.5.6) to a new server. I suppose I could just install the older version but I'd rather migrate if it's possible. Is the jump from 1.5.6 to the current 1.18.0 too big a jump? I was planning on dumping the database from the old server and importing to the new if that is possible. I don't have a lot of experience here but if that will then I should be able to copy in all the images from old to new and be pretty much done. This wiki doesn't have any add-ons, just a basic wiki for some of my users to collect and share information.
Dont try to import an old dump into a new version, upgrade to the new version and then dump, or install the old version on the new server and then upgrade.
Few more details mentioned here: http://www.mediawiki.org/wiki/Manual:Moving_a_wiki
I like the idea of installing old version on new server, importing the database and then upgrading. Is it necessary to upgrade from 1.5.6 to 1.6 to 1.7 etc etc. Or can I jump straight to 1.18?
On Mon, 05 Dec 2011 09:45:40 -0800, Stephen Berg (Contractor) stephen.berg.ctr@nrlssc.navy.mil wrote:
On 12/05/2011 11:35 AM, OQ wrote:
On Mon, Dec 5, 2011 at 11:30 AM, Stephen Berg (Contractor) stephen.berg.ctr@nrlssc.navy.mil wrote:
I've been tasked to migrate a MediaWiki install (V 1.5.6) to a new server. I suppose I could just install the older version but I'd rather migrate if it's possible. Is the jump from 1.5.6 to the current 1.18.0 too big a jump? I was planning on dumping the database from the old server and importing to the new if that is possible. I don't have a lot of experience here but if that will then I should be able to copy in all the images from old to new and be pretty much done. This wiki doesn't have any add-ons, just a basic wiki for some of my users to collect and share information.
Dont try to import an old dump into a new version, upgrade to the new version and then dump, or install the old version on the new server and then upgrade.
Few more details mentioned here: http://www.mediawiki.org/wiki/Manual:Moving_a_wiki
I like the idea of installing old version on new server, importing the database and then upgrading. Is it necessary to upgrade from 1.5.6 to 1.6 to 1.7 etc etc. Or can I jump straight to 1.18?
Our database migration code should be able to handle upgrading the database from that far back, so you can just skip straight to 1.18. The only problem with database migration might be the 1.5 to 1.6 iirc where some collations in the database schema were changed. It's been ages since then so it's possible that our code for that change has rotted a bit.
If you do have any issue with going straight to 1.18, instead of going one version at a time you can just do one upgrade to something like 1.11 and then jump all the way to 1.18 from there. No need to do every version upgrade incrementally.
Apropos Stephen Berg's upgrade, early next year I hope to be going from 1.13.0 on Solaris to 1.18+ on SUSE. I can't upgrade, so my initial plan is to:
1. Do the new installation on SUSE 2. Copy the live database to my Solaris development host 3. There, do _just_ the database upgrade 4. Transfer the 1.18 database to SUSE
Is this a viable plan? If not, please could you let me know what I need to do?
Thanks,
/Sam
Sam Sexton Provisioning Team Leader Thomson Reuters sam.sexton@thomsonreuters.com
This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
On 5 December 2011 18:54, Sam.Sexton@thomsonreuters.com wrote:
Apropos Stephen Berg's upgrade, early next year I hope to be going from 1.13.0 on Solaris to 1.18+ on SUSE. I can't upgrade, so my initial plan is to:
- Do the new installation on SUSE
- Copy the live database to my Solaris development host
- There, do _just_ the database upgrade
- Transfer the 1.18 database to SUSE
Is this a viable plan? If not, please could you let me know what I need to do?
Ha, this is of profound personal interest as I too have to move MediaWiki 1.13 on Solaris to something vaguely current on Linux some time soon :-)
- d.
I recently posted my experience migrating from 1.5.3 (MySQL 3.23) to 1.17 (MySQL 5.1). If you can't find it in the archive, contact me off-list. Boris
On 2011-12-05, at 1:01 PM, Daniel Friesen wrote:
On Mon, 05 Dec 2011 09:45:40 -0800, Stephen Berg (Contractor) stephen.berg.ctr@nrlssc.navy.mil wrote:
On 12/05/2011 11:35 AM, OQ wrote:
On Mon, Dec 5, 2011 at 11:30 AM, Stephen Berg (Contractor) stephen.berg.ctr@nrlssc.navy.mil wrote:
I've been tasked to migrate a MediaWiki install (V 1.5.6) to a new server. I suppose I could just install the older version but I'd rather migrate if it's possible. Is the jump from 1.5.6 to the current 1.18.0 too big a jump? I was planning on dumping the database from the old server and importing to the new if that is possible. I don't have a lot of experience here but if that will then I should be able to copy in all the images from old to new and be pretty much done. This wiki doesn't have any add-ons, just a basic wiki for some of my users to collect and share information.
Dont try to import an old dump into a new version, upgrade to the new version and then dump, or install the old version on the new server and then upgrade.
Few more details mentioned here: http://www.mediawiki.org/wiki/Manual:Moving_a_wiki
I like the idea of installing old version on new server, importing the database and then upgrading. Is it necessary to upgrade from 1.5.6 to 1.6 to 1.7 etc etc. Or can I jump straight to 1.18?
Our database migration code should be able to handle upgrading the database from that far back, so you can just skip straight to 1.18. The only problem with database migration might be the 1.5 to 1.6 iirc where some collations in the database schema were changed. It's been ages since then so it's possible that our code for that change has rotted a bit.
If you do have any issue with going straight to 1.18, instead of going one version at a time you can just do one upgrade to something like 1.11 and then jump all the way to 1.18 from there. No need to do every version upgrade incrementally.
-- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Mon, Dec 5, 2011 at 14:32, Boris Steipe boris.steipe@utoronto.ca wrote:
I recently posted my experience migrating from 1.5.3 (MySQL 3.23) to 1.17 (MySQL 5.1). If you can't find it in the archive, contact me off-list. Boris
Or just link to it proactively :)
http://lists.wikimedia.org/pipermail/mediawiki-l/2011-November/038212.html http://lists.wikimedia.org/pipermail/mediawiki-l/2011-November/038217.html
(no guarantee those steps will work for everyone... in particular it should be vetted for "won't break your non-latin chars" but maybe other things as well)
-Jeremy
mediawiki-l@lists.wikimedia.org