Upgrade from 1.3 to 1.4: Difference between revisions
Content deleted Content added
→in brief: Spelling correction. Changed "trafic" to "traffic" |
|||
Line 4: | Line 4: | ||
#Backup the database (in case something goes wrong installing) |
#Backup 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 |
#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) |
#chmod the new wiki folder's /config directory to 777 (everyone can do everything with it) |
Revision as of 13:45, 25 August 2005
ngungo@56degrees.com, is attempting to upgrade his media wiki, here are his commands, in order.
in brief
- Backup 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
- 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.
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