Jump to content

Upgrade from 1.3 to 1.4

From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Steinsky (talk | contribs) at 16:07, 22 April 2005 (alternative method). It may differ significantly from the current version.

ngungo@56degrees.com, is attempting to upgrade his media wiki, here are his commands, in order.

in brief

  1. Backup the database (in case something goes wrong installing)
  2. Unrar the new mediawiki version into its own new folder
  3. Redirect (symlink) trafic (from the old wiki folder) to that new folder
  4. chmod the new wiki folder's /config directory to 777 (everyone can do everything with it)
  5. Point your browser to the wiki's index.php or config/index.php
  6. Fill out that install form
  7. Move the generated localsettings.php in /config up one directory
  8. chmod the /config directory back to non-readable, writable, or executable
  9. Replace the /images directory with the old /images
  10. Restart apache.

Or from command line

Joe D upgraded by:

  1. Backing up database (mysqldump) and web directory
  2. Unpack mediawiki 1.4 to clean folder
  3. Copy AdminSettings and to clean folder, copying database settings from old LocalSettings
  4. lock database and run ./maintenance/update.php to update the database
  5. Copy everything from clean dir into web dir
  6. Update LocalSettings
  7. Copy old stylesheets and uploads directory from backup dir to web dir

for details of each task see Upgrade from 1.2 to 1.3