Topic on Project:Support desk

Upgrade from 1.21 at 1.34

9
185.183.60.158 (talkcontribs)

Hey everyone,

I want to upgrade my old Mediaiwki (V.1.21) at the newest version (V.1.34). (I use a DebianLinux where I install the new version). I searched on the site of mediawiki for upgrade my wiki (Manual:Upgrading/fr) and i found the patch.

I think it's the best solution for this upgrade ! But.. it will be so long to do every patch manually.

So Is someone know a script for make all install or another solution, please ?

Ciencia Al Poder (talkcontribs)

If for patch do you mean a patch file (differencies between one version and other), don't do that. The patch is only available to upgrade from one minor version to another.

Instead, you should download the new version (full), extract on a new empty directory, copy LocalSettings.php from the old one, download any missing extensions you had from the old install, and then make that directory your current published wiki. If your uploads are on a directory outside the installation files you don't have to worry about them, otherwise move it to the new location.

Don't forget to run the "update.php" script

185.183.60.158 (talkcontribs)

oh... Okay ?

My idea was to create a Debian with the old version and past step by step the patch (until the version 1.34). After, create an other Debian with the last version and make a dump of the old database in the newest... it's really not possible to do it like that ?

I try you're idea !

Thanks !

185.183.60.158 (talkcontribs)

*your

sorry, my bad

Ciencia Al Poder (talkcontribs)

Possible? Yes, but there's no benefit in doing that. The entire contents of the wiki are on the database, and the uploaded files. You don't need a working MediaWiki installation to migrate it to a new server. Just take a backup of the database and restore it on the new server, transfer the uploads, and install/upgrade on the new server. See Manual:Moving a wiki

Raghavendragk (talkcontribs)

Hi Ciencia AL Poder,

  1. I want to upgrade my wiki from 1.32 to 1.34. Please help me. as you advice above. I will extract 1.34 to new directory and copy paste LocalSettings.php from Old to new.

And im using Mariadb on different server. So Wiki in 1a server and db on 2a Server.

Can I create path like this. ?

/ storage/storagewiki/wiki => This is 1.32 Version Path.

/storage/wiki => Can I create like this for 1.34 Version.


Please help me.

Ciencia Al Poder (talkcontribs)

Yes, you can use those paths if that makes sense to you. Note that if you change paths from the previous version, in case you had some hardcoded paths in LocalSettings.php from the old location, or apache rules, you'll need to update those configurations too

Raghavendragk (talkcontribs)

Thank you very much. need one help, need to clear be vernability .

Vulnerability CVE IDs = CVE-2019-19910

MediaWiki: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CVE-2019-19910).


Already I have upgrade wiki to 1.34. still I see this VA. Any advice please.

Ciencia Al Poder (talkcontribs)

This is apparently fixed phab:T240487. I'm not seeing how 1.34 can be affected, since the code that introduced the bug was included on the 1.35 branch

Reply to "Upgrade from 1.21 at 1.34"