Upgrade from 1.3 to 1.4: Difference between revisions
Content deleted Content added
No edit summary |
alternative method |
||
Line 13: | Line 13: | ||
#Replace the /images directory with the old /images |
#Replace the /images directory with the old /images |
||
#Restart apache. |
#Restart apache. |
||
==Or from command line== |
|||
[[User:Steinsky|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]] |
for details of each task see [[Upgrade from 1.2 to 1.3]] |
Revision as of 16:07, 22 April 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)
- Unrar the new mediawiki version into its own new folder
- Redirect (symlink) trafic (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