Upgrading MediaWiki
From Beakstar Wiki
Contents |
Upgrade from 1.3.5 with MySQL 3.23.58 to 1.4.4 with MySQL 4.0.24
Backup
Backed up the database with:
mysqldump -a wikidb >/home/backupuser/backups/aspwiki-db.mysql
Backed up the whole wiki directory:
tar -cvf /home/backupuser/backups/aspwiki-www.tar /var/www/wiki/
Restore Process
Install a fresh Wiki
- Upgraded MySQL
- Restored the database
- Deleted the wiki directory.
- Untar the new wiki tarball
- Coppied the images directory over from the previous version
- Read through INSTALL
- 'chmod a+w config'
- Opened up the browser and clicked on the config link
- Choose wikidb as the db name
- Choose wikiuser and the db user
- No prefix
- The configuration script made the necessary updates to the database
====Restore the old database
General Notes
Running maintenance scripts
In order to run any of the maintenance scripts you must do:
- cp AdminSettings.sample AdminSettings.php (in the wiki home dir)
- set '$wgDBadminuser' and '$wgDBadminpassword' in that file
