Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Upgrade from moodle 1.8 to 1.9 (with Nwiki upgrade).

Upgrade from moodle 1.8 to 1.9 (with Nwiki upgrade): Difference between revisions

From MoodleDocs
(New page: A very quick howto to upgrade moodle 1.8 to moodle 1.9 (with Nwiki upgrade from 1.8 to 1.9): # Stop you moodle 1.8 (mantainence mode) # Copy your moodle BD (ispconfig is great for this) t...)
 
m (Added explanations to some of the steps.)
Line 1: Line 1:
A very quick howto to upgrade moodle 1.8 to moodle 1.9 (with Nwiki upgrade from 1.8 to 1.9):
A very quick howto to upgrade moodle 1.8 to moodle 1.9 (with Nwiki upgrade from 1.8 to 1.9):


# Stop you moodle 1.8 (mantainence mode)
# Stop your moodle 1.8 (mantainence mode)
# Copy your moodle BD (ispconfig is great for this) to a new one (here is dbmoodle19)
# Copy your moodle DB (ispconfig is great for this) to a new one (here is dbmoodle19)
# cp /var/www/path2moodle18 /var/www/path2moodle19  
# Copy your Moodle 1.8 code to the directory where you'll be installing 1.9: cp /var/www/path2moodle18 /var/www/path2moodle19  
# cd /var/www/path2moodle19 | wget http://download.moodle.org/stable19/moodle-weekly-19.tgz
# Switch to the 1.9 directory and get the new version of Moodle: cd /var/www/path2moodle19 | wget http://download.moodle.org/stable19/moodle-weekly-19.tgz
# tar xvzf moodle-weekly-19.tgz  
# Un-compress the new Moodle 1.9 files: tar xvzf moodle-weekly-19.tgz  
# cp moodle/* . -a
# Move the files from the moodle subfolder into your 1.9 folder: cp moodle/* . -a
# rm moodle -Rf
# Remove the now-empty Moodle folder: rm moodle -Rf
# Review your config.php: vim /var/www/path2moodle19/config.php (dbusers | dbtables | urls | paths)
# Review your config.php: vim /var/www/path2moodle19/config.php (dbusers | dbtables | urls | paths)
# Visit your new Moodle to start the upgrade to 1.9 process: http://www.yoursite.net/moodle19
# Visit your new Moodle to start the upgrade to 1.9 process: http://www.yoursite.net/moodle19
# Follow the wizard and congratulations: your moodle is now 1.9 !!
# Follow the wizard and congratulations: your moodle is now 1.9 !!
# Download nWiki 1.9 and upload to your server: http://morfeo.upc.es/crom/mod/resource/view.php?id=268
# Download nWiki 1.9 and upload to your server: http://morfeo.upc.es/crom/mod/resource/view.php?id=268
# unzip & copy to your moodle root.
# Unzip & copy to your moodle root.
# Visit your moodle notifications page and follow the wizard.
# Visit your moodle notifications page and follow the wizard.
# Congratulations your Nwiki is also updated.
# Congratulations your Nwiki is also updated.

Revision as of 21:18, 12 January 2010

A very quick howto to upgrade moodle 1.8 to moodle 1.9 (with Nwiki upgrade from 1.8 to 1.9):

  1. Stop your moodle 1.8 (mantainence mode)
  2. Copy your moodle DB (ispconfig is great for this) to a new one (here is dbmoodle19)
  3. Copy your Moodle 1.8 code to the directory where you'll be installing 1.9: cp /var/www/path2moodle18 /var/www/path2moodle19
  4. Switch to the 1.9 directory and get the new version of Moodle: cd /var/www/path2moodle19 | wget http://download.moodle.org/stable19/moodle-weekly-19.tgz
  5. Un-compress the new Moodle 1.9 files: tar xvzf moodle-weekly-19.tgz
  6. Move the files from the moodle subfolder into your 1.9 folder: cp moodle/* . -a
  7. Remove the now-empty Moodle folder: rm moodle -Rf
  8. Review your config.php: vim /var/www/path2moodle19/config.php (dbusers | dbtables | urls | paths)
  9. Visit your new Moodle to start the upgrade to 1.9 process: http://www.yoursite.net/moodle19
  10. Follow the wizard and congratulations: your moodle is now 1.9 !!
  11. Download nWiki 1.9 and upload to your server: http://morfeo.upc.es/crom/mod/resource/view.php?id=268
  12. Unzip & copy to your moodle root.
  13. Visit your moodle notifications page and follow the wizard.
  14. Congratulations your Nwiki is also updated.