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)

From MoodleDocs

To upgrade Moodle 1.8 or above with NWiki installed (not including 2.0):

  1. Back up your Moodle database using mysqldump.
  2. Download the code for the version of Moodle to which you want to upgrade.
  3. Un-compress the code into your Moodle code directory (e.g. /var/www/moodle)
  4. Delete the entire wiki directory (e.g. /var/www/moodle/mod/wiki)
  5. Download the latest NWiki code and un-compress it.
  6. Place all of the NWiki sub-folders into the correct directories (i.e. mod, blocks, lang, theme...)
  7. In your web browser, visit your Moodle site. You will be prompted to upgrade. Do so.
  8. When the upgrade process is done, your site will be upgraded and your NWikis will still work correctly.



The instructions below are old instructions which do not work. All data is maintained in the database tables, but it is not accessible through the Moodle user interface.

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.