MediaWiki Maintenance: Difference between revisions

From Hackers & Designers
(Created page with "{{Article |MainNavigation=No }}")
 
(Init)
Line 1: Line 1:
Upgrading MediaWiki, as it is in general installing it and using it (eg their APIs), is quite annoying. It definitely could be simplified in the process by writing like a Python script (well commented), but so far as I'd used not to upgrade this software so often, it's all manual labour.
The process can be divided in three steps:
* backup the MySQL db and other parts  of the system
* download the newest version of the software, unpacking it, move it to <code>/var/www/</code>
* make backup copy of current MediaWiki folder in <code>/var/www/</code> and copy to the newer version all plugins from current / previous version
General, official, [[mediawikiwiki:Manual:Upgrading|reference document]] for upgrading the wiki software.
=== Backup ===
Before starting the backup process (SQL dump), clear any "pending jobs" from the db:
{{Article
{{Article
|MainNavigation=No
|MainNavigation=No
}}
}}
[[Category:Maintenance]]

Revision as of 12:48, 2 March 2023

Upgrading MediaWiki, as it is in general installing it and using it (eg their APIs), is quite annoying. It definitely could be simplified in the process by writing like a Python script (well commented), but so far as I'd used not to upgrade this software so often, it's all manual labour.

The process can be divided in three steps:

  • backup the MySQL db and other parts of the system
  • download the newest version of the software, unpacking it, move it to /var/www/
  • make backup copy of current MediaWiki folder in /var/www/ and copy to the newer version all plugins from current / previous version

General, official, reference document for upgrading the wiki software.

Backup

Before starting the backup process (SQL dump), clear any "pending jobs" from the db:

MainNavigation No