You are here
Submitted by gregor_v on Wed, 2009/04/01 - 13:18
In our internal company network I have an installation of turnkey mediawiki-2008.10.29.
As we got a new computer, i want to upgrade it to the actual version (2009.03).
I looked around in the internet and found several sites, but they all differ from each other and most of them just make a normal wiki upgrade... And It is also not a "standard" Installation so maybe if I use scripts from these pages, maybe dont work correct an I am afraid of destroing something.
So pleay I need help on what is the best/easiest strategy, as I dont have so much experience with linux administration.
Thanks in Advance
Forum:
Upgrading MediaWiki
Should go something like this:
On the old installation (2008.10.29)
1. Backup the database
2. Backup existing files
- /etc/mediawiki/* (just for reference, do not restore them)
- /var/lib/mediawiki/images
- any extra extensions you may have installed...
On the new installation (2009.03)
3. Copy over the database dump and other backed up files from the old installation
4. Restore the database
5. Update the data schema
6. Restore the files you backed up in step 6, and tweak /etc/mediawiki/LocalSettings.php using the your old configuration as a reference
7. Your done, now go play with your wiki... :)
Let us know how it goes, if you had any problems, and if you had to perform any other steps. It would be nice to create a doc page out of this...
Good luck!
Yes it works. Thanks a
But I had to do it twice, because i oversaw the part to change the mysql ADMIN username/password:
$wgDBadminuser = 'wikiadmin'
So I got some errors.$wgDBadminpassword = 'adminpass'
And what maybe is also important to look at step6 that all differences between the old and new LocalSessings.php is checked and to finish all these steps before starting playing around in the wiki.
Great!
I have updated my post above to reflect your feedback, thanks!
I am using the german
So what is the correct way of dumping it. I am afraid of doing something wrong, because a lot of people spent many hours on feeding the content!!
Following sites I found, but they are just confusing me...
http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html
http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki#Character_set
Thanks in Advance,
Gregor
A couple of shots in the dark
I'm not really familiar with non-english character sets, so the best I can do (atleast for now) is take a couple of shots in the dark at a possible solution...
1. Enable experimental charset support for MySQL in MediaWiki LocalSettings.php 2. Attempt to dump from and import to mysql by specifying a default character set, such as latin1 or possibly even binary. Let us know how it goes, and if it doesn't work I'll do some more digging and see what I can come up with.
Good luck!
1) I activated the
2) I tried to export and then reimport, with "latin1" but the result was the same as before...
The question is, what is the best way for the future, how to set the language, especially if I want to use more languages. And what to do now...
Thanks in Advance,
Gregor
Add new comment