Topic on Project:Support desk

How to upgrade my viki?

16
85.104.144.153 (talkcontribs)

Hi there.

I am use Mediawiki 1.8.4. I want to use MobileFrontend extension but this extension requires minimum 1.9 version. How i easily upgrade my wiki? Please detailed information. I am not experienced SSH usage. Thank you!

88.130.91.39 (talkcontribs)

Hi!

Upgrading MediaWiki usually is not hard. :-) However, especially when you are not experienced in these things, please make absolutely sure that you have a working backup of your site (files and database)!

Amongst other things it will be important that you check, which PHP and MySQL version you use and which are available on your server - the MediaWiki version you can use depends on the PHP and MySQL versions you have.

The rest is explained on the page Upgrade, which we wrote in the hope that it is also understandable for non-tech people. :-)

If you have any questions, you can ask here!

85.104.144.153 (talkcontribs)

There is any method for upgrade on FTP? I dont know SSH usage.

85.104.144.153 (talkcontribs)

I am just want to upgrade 1.8.4 to 1.9.

88.130.91.39 (talkcontribs)

Yes, there is: For extracting the tarball locally see Upgrade#FTP_or_graphical and for the database update see Upgrade#Web_browser!

You find the tarballs in the folders at http://releases.wikimedia.org/mediawiki/. Please note that MediaWiki 1.9 is already really, really old. It has known security holes and it is no longer supported. There will be no updates and also no security fixes for it! If at all possible, you should upgrade to a current version. These are MediaWiki 1.19, which has Long Term Support, and MediaWiki 1.23, which is the newest available.

85.104.144.153 (talkcontribs)

OK than i will update my wiki 1.23. Thank you for answers. I will write again. :)

85.104.144.153 (talkcontribs)

How i do it?

You may need to run the command as sudo if you don't have full write permissions to the wiki install directories under your current user. When untarring a tarball package normally a new directory for the new wiki version will be created and you will have to copy the old configuration files and images directory from your old installation directory:

$ tar xvzf mediawiki-1.23.1.tar.gz -C /path/to/your/new/installation/ --strip-components=1

88.130.91.39 (talkcontribs)

This passage is only relevant, if you do have shell access to the server. In that case, this is the command to extract the tarball.

If like in your case, you do not have shell access, you can extract the tarball on your local PC and then upload the extracted files. Upload will then take some time.

86.173.54.174 (talkcontribs)

You can do it in the web by going to type in your domain and then at the end of it put /mw-config you will have to enter your upgrade key if you haven't one please add the upgrade to key to localsettings.php

Ciencia Al Poder (talkcontribs)

Note that navigating to /mw-config won't download a new version of MediaWiki for you. That's just a script to perform database updates for the current installed version.

78.167.231.63 (talkcontribs)

Hi again.

I am upload 1.23.2 Mediawiki files to my viki directories. After that, i am go to /mw-config and complete upgrade. But it's dont work.


Homepage is disappeared and there is more error. http://viki.gameofthronestr.com

How o fix that?

78.167.231.63 (talkcontribs)

How i fix this error:


"Warning: A skin using autodiscovery mechanism, MySkin, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from Skin::getSkinNames in /home/gameofth/public_html/viki/includes/Skin.php at line 74] in /home/gameofth/public_html/viki/includes/debug/Debug.php on line 303

Warning: A skin using autodiscovery mechanism, Simple, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from Skin::getSkinNames in /home/gameofth/public_html/viki/includes/Skin.php at line 74] in /home/gameofth/public_html/viki/includes/debug/Debug.php on line 303

Warning: A skin using autodiscovery mechanism, Standard, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from Skin::getSkinNames in /home/gameofth/public_html/viki/includes/Skin.php at line 74] in /home/gameofth/public_html/viki/includes/debug/Debug.php on line 303

Warning: A skin using autodiscovery mechanism, Nostalgia, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from Skin::getSkinNames in /home/gameofth/public_html/viki/includes/Skin.php at line 74] in /home/gameofth/public_html/viki/includes/debug/Debug.php on line 303

Warning: A skin using autodiscovery mechanism, Chick, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from Skin::getSkinNames in /home/gameofth/public_html/viki/includes/Skin.php at line 74] in /home/gameofth/public_html/viki/includes/debug/Debug.php on line 303"

88.130.118.79 (talkcontribs)

As far as I see, the upgrade worked correctly for you.

The errors concerning skin autodiscovery happen, because you still have old files in your wiki directory. Inside the folder skins/ you have exactly the mentioned files and one folder for each of them. These skins do no longer come with the new version of MediaWiki. The according files and folders should be removed. See also Manual:Upgrading#Files_remaining_that_may_cause_errors!

78.167.231.63 (talkcontribs)

Hi again.

I fix problems. Finally i have one question. I am not upgrade my all plugins, should i do?

88.130.118.79 (talkcontribs)

You should always use the version of the MediaWiki extensions, which were specifically for your MediaWiki version, so: Yes, you should update them!

151.225.137.145 (talkcontribs)

And please review some extensions because some were merged into the core of Mediawiki so you won't need those ones. If you visit the extension page of the extension you want to download and it shows a messenge ontop saying archive or merged in Mediawiki then you can remove that extension.

Reply to "How to upgrade my viki?"