Topic on Project:Support desk

Updating a Realy Realy old version (1.15)

10
Summary last edited by 104.39.126.93 16:45, 9 September 2015 8 years ago

UPDATE SUCCESSFUL

Thank you all for your advice. The wiki is running. Now, I'm tackling a bunch of issues (thumbnails missing, math not working, depreciated commands, etc.). I'll look into those problems and address them on different forums or threads.

Thanks again!

MediaWiki 1.25.2

PHP 5.5.9-1ubuntu4.12 (apache2handler)

MySQL 5.5.44-0ubuntu0.14.04.1

Jessemcternan (talkcontribs)

I would like to update my local wiki to the most up-to-date version. The majority of the webpages on this topic I found were for version much newer than mine. Can this level of upgrade even be done? I have quite a bit of information that I don't want to manually re-enter.

MediaWiki 1.15.1
PHP 5.3.2-1ubuntu4.30 (apache2handler)
MySQL 5.1.73-0ubuntu0.10.04.1

My wiki is local. I don't have a link for anyone to follow.

Thank you very kindly for your help.

88.130.95.230 (talkcontribs)

Hi Jesse!

Yes, what you want is possible.

It is important that you make sure you have a working backup of your wiki: The database and the files. Put that on an external disk, unplug it and keep it far away from your actual computer. After that you can try the upgrade and you won't loose anything, should you screw up.

Here is a complete guide on how to upgrade: Upgrade!

If you have further questions, do not hesitate to ask!

Florianschmidtwelzow (talkcontribs)

Hi! First: Good decision to upgrade, MediaWiki 1.15 is already unsupported for a long time :P

You should following the Upgrade tutorial when upgrading. In the FAQ section you'll find a question "How do I upgrade from a really old version? In one step, or in several steps?" :) If you have any specific problem when upgrading, feel free to ask here!

Btw.: You should really really do a backup, it's always possible, that data will be lost after or during an upgrade, even if the last 999 upgrades went fine :)

Please remember, that the latest MediaWiki version needs at least PHP 5.3.2, so you have to upgrade your php version, too.

88.130.95.230 (talkcontribs)
Please remember, that the latest MediaWiki version needs at least PHP 5.3.2, so you have to upgrade your php version, too.

Oh, that's right and not right at the same time. :-) MediaWiki 1.25 in fact needs PHP 5.3.3 at least. That means, if Jesse wants to upgrade to 1.25, he will in fact need to upgrade PHP as well. I missed that. However, according to Compatibility#PHP, MediaWiki 1.24 will work nicely also with PHP 5.3.2.

So for MediaWiki 1.25, a PHP upgrade would be necessary. MediaWiki 1.25 is working nicely also on newer PHP versions; e.g. for Ubuntu, PHP 5.5 is available. This version can be used to run MediaWiki on it.

Florianschmidtwelzow (talkcontribs)

> to the most up-to-date version

:D :P But you're right, 1.24 would work :)

Jessemcternan (talkcontribs)

UPDATE (and thanks for your support so far):

- I backed up my config files, extensions, and images

- I then updated to Ubuntu 12 (from 10). The wiki was still working!

- Then (curse my brash impatience) I updated to Ubutnu 14

Now, the wiki is not found, "Not Found  The requested URL /mediawiki/ was not found on this server."

Any suggestions? I should have stayed with Ubuntu 12...

-

My current Setup:

PHP 5.5.9-1ubuntu4.12

mysql  Ver 14.14 Distrib 5.5.44, for debian-linux-gnu (x86_64) using readline 6.3

Apache/2.4.7 (Ubuntu)

88.130.117.48 (talkcontribs)

Hi!

I guess the Ubuntu upgrade has also upgraded the Apache webserver, right? In that case, I think that something in the server configuration is missing now... Maybe the webroot is pointing to a wrong path now or a virtual host configuration (I don't know if you used one in your old Ubuntu version) is missing.

Jessemcternan (talkcontribs)

UPDATE (Good news)

- My local wiki is running again after updating to Ubuntu 14

- Apache was also updated, which caused configuration problems

- phpmyadmin is simply gone now! The folder is not on my comp anymore...

So, I backed up my database using mysqldump. I also backed up config files, extensions, and images.

Any other things recommended before attempting the upgrade?

Thank you all very much.

Current Version

MediaWiki 1.15.1

PHP 5.5.9-1ubuntu4.12 (apache2handler)

MySQL 5.5.44-0ubuntu0.14.04.1

MarkAHershberger (talkcontribs)

You should be good to go.

88.130.69.182 (talkcontribs)

If you used a custom skin, which does by default not come with MediaWiki, then you should backup that skin as well.

Apart from that, you should have everything you need.