Topic on Project:Support desk

upgrade Mediawiki 1.15 to 1.21

2
Summary by Kebap

Upgrade successful

Kebap (talkcontribs)

Hi Support! Thanks for supporting. I was trying to finally upgrade our Mediawiki 1.15 to 1.21, but did not succeed. Of course, I backed up everything before, so I could now restore the 1.15 to working function. Still, I am not sure why it failed. I noticed several different error messages and will supply them later. For now, I would like to clarify that I indeed use the correct order of actions:

1) Copy 1.21 files into 1.15 folder 2) Run /mw-config/index.php to upgrade database I was not even able to complete this step.

I also tried another order, also without success 1) Create new folder for 1.21 files 2) Ask 1.21 to access 1.15 database 3) Run /mw-config/index.php to upgrade database

88.130.123.168 (talkcontribs)

Hi!

What you did is basically correct, however, you might get some of the problems, because you copied the new files over the old ones. This leaves some old files in place, which can cause problems. The recommended step is to use a new folder instead. More information are here: Manual:Upgrading#Files_remaining_that_may_cause_errors.

Basically (in short and maybe not complete): Extract the new files into an empty folder, copy LocalSettings.php and images/ there. If you use extensions, put updated versions of them in the new folder extensions/. If you use a modified skin (to be found in the folder skins/), make sure to copy and update it as well.

All steps are explained in detail on Upgrading. If you have further questions, don't hesitate to ask here. :-)