Upgrade from 1.3 to 1.4
email@example.com, is attempting to upgrade his media wiki, here are his commands, in order.
- Back up the database (in case something goes wrong installing)
- Untar the new mediawiki version into its own new folder
- Redirect (symlink) traffic (from the old wiki folder) to that new folder
- chmod the new wiki folder's /config directory to 777 (everyone can do everything with it)
- Point your browser to the wiki's index.php or config/index.php
- Fill out that install form (see note below)
- Move the generated localsettings.php in /config up one directory
- chmod the /config directory back to non-readable, writable, or executable
- Replace the /images directory with the old /images
- Restart apache.
Note from another user performing the same upgrade: after filling in the install form, the upgrade failed because my database user didn't have the CREATE privilege on the wiki database. If your upgrade fails in the same way, ensure the database user has the CREATE privilege and just reload the upgrade status page.
Or from command line
Joe D upgraded by:
- Backing up database (mysqldump) and web directory
- Unpack mediawiki 1.4 to clean folder
- Copy AdminSettings and to clean folder, copying database settings from old LocalSettings
- lock database and run ./maintenance/update.php to update the database
- Copy everything from clean dir into web dir
- Update LocalSettings
- 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