I recently tried to upgrade to the latest version using fantastico. I thought things were not progressing at all so I clicked the upgrade button again. After some time I was taken to the admin link and when I followed the link the page was blank. I could no longer access the site in any way. Using ftp I found that the backup files 500MB (there were two - presumably because I clicked twice) had filled my server space. Did this mean the upgrade could not complete properly?
I downloaded the backup zip file to my local computer.
Using that backup file can I recreate the old site on a new server space (since I was really needing to move it anyway)? I have tried the instructions in MoodleDocs for migrating and have the following difficulties.
Change $CFG->wwwroot
. In your (possibly new) Moodle directory, change the $CFG->wwwroot
variable in the config.php file for the new server
Since it is a clean install of moodle on the new site may I assume that the config.php file will be OK?
Copy data directory contents (moodledata) . Copy the contents of your data directory (check for the value in $CFG->dataroot
) to the new server. Check also that permissions remain the same on the new dataroot folder and change the value if you have changed its location on the new server.
I unzipped the backup file and there is no folder called moodledata. Is this an old post and the data folder has been renamed? Where do I find my data folder?
I am pretty confident with the changes needed to the database backup file backup.sql and can use a find and replace to change the old references. I would be greatly appreciative if anyone could help me to get my old site back up and running at the new location.