Methoden/WikiUpdate, MediaWiki - Full Service!   Firmen-Wikis   Content Management Systeme   Projektmanagement Tools   Sicherheit

Aus Sysdoc

Wechseln zu: Navigation, Suche

3.4 Update einer MediaWiki-Installation

Ein Update/Upgrade der MediaWiki-Software kann in unterschiedlichen Varianten vollzogen werden. In der Vergangenheit wurde hier für die X die Methode "Alternative 2: Re-run the installer" gewählt:

  1. Rename LocalSettings.php to LocalSettings.old.php
  2. Make the config directory writable by the web server
  3. Make sure the database user has full rights to the database
  4. Browse to the wiki and start the installer
    Fill in the form fields with the same values as was done during the previous version's installation.
    When the installation process starts, the script will detect existing MediaWiki tables, and upgrade their schema.
    When this is complete, a new LocalSettings.php will be generated.
  5. Delete the new configuration file (LocalSettings.php)
  6. Rename LocalSettings.old.php back to LocalSettings.php
  7. Restore permissions on the config directory

Hierbei ist zu beachten, dass die Datenbank des jeweiligen Wikis die richtigen Zuordnungen auf Unix-Ebene in Bezug auf Besitzer und Gruppe hat, da sonst im Zuge des Updates die DB-Table-Struktur nicht angepasst werden kann.

Nutzer und Gruppe rekursiv von ggf. root, rootgroup auf mysql, mysqlgroup umstellen (Unix Shell):

cd /var/lib/mysql

chown -R mysql.mysql /wikidbXY
Persönliche Werkzeuge
Werkzeuge