Windows server: Updating Moodle for dummies

Windows server: Updating Moodle for dummies

by Steve Dunlin -
Number of replies: 1

Hiya  I am going round in circles on this and because it is the first time I am unwilling to rush in. I have Moodle up and running and working fine and even have ldap working. Now I want to upgrade from 1.6 to 1.7 and the documentation is driving me insane. For instance I downloaded Tortoise CSV and did a successful checkout and it is sat in C:\Moodleupdate.

My working Moodle is sat in E:\xampp\moodle\moodle so what do I do next. If I right click on the working directory above I do not get the update option and the Tortoise documentation desserts me there. Any easy instructions anyone?

Or could I just rename and move my current working moodle folder and copy the new 1.7 Moodle folder and run the http://moodleserver/admin and let it update itself. Any help gratefully recieved  Steve 

Average of ratings: -
In reply to Steve Dunlin

Re: Windows server: Updating Moodle for dummies

by Ken Wilson -

Hiya Steve

One way to do this is to backup your existing moodle database (using mysqldump - see http://docs.moodle.org/en/Upgrading#3._Your_database) then create a new blank mysql database (called say moodle17) and import your backup database to it with something like this

mysql -u root -p < backupmoodle.sql (change the name of your backup file to match)

Then change your apache httpd.conf so the DocumentRoot is set to "C:\Moodleupdate". I'd also copy the moodle/config.php from your xampp folder into C:\Moodleupdate and then change the contents manually, e.g. dataroot and dirroot variables. I'm assuming that moodledata stays where it is so, finally, visit the moodle/admin page in your browser and the upgrade should run.

There are several other variations on this theme, so take a look in the installation forums for more.

Does this get you any further?

Ken