As a fairly new user I am worried that I may lose some or all of my students' files that are now in the database. Is this true? If so, does anyone have any recommendation on how to use the fantastico installer to upgrade while maintaining all existing files? Any suggestions would be greatly appreciated.
Dear Richard Lemmer
It is always advisable to back up your whole database (not just your courses, although for the most part that would achieve the same effect) when you upgrade.
You can back up your database if you have CPANEL.
I am not sure whether Fantasico gives you the choice or preserving your data base or not. But since fantastico has already done the job of creating the configuration file for you, why don't you give up fantasico and do it your self?
It is really easy. These instructions are in the upgrade section of the documentation but just to show how easy it is, off the top of my head the steps are
1) backup your database (no matter what method of upgarde
your are doing, this is the safe thing to do, but I often do not bother. )
2) download the zip file of 1.3.4 (or pehraps 1.4 beta) from Moodle.org
3) unzip it.
4) that will create a new directory called moodle.
6) rename your moodle directory, e.g. to "oldmoodle"
7) Upload the new moodle directory to where your oldmoodle directory is
(this will take a few minutes)
9) copy the file config.php from oldmoodle to moodle.
10) Copy any customised themes if you have them from the themes folder in
oldmoodle to the themes in newmoodle.
11) Open your moodle, log in and go to the admin directory.
Please consult the documentation too.
I repeat, now that fantasico has created the file "config.php" it has done its job. Subsequent upgrades are easy to do by hand. All you need to know how to do is upload and download files from your server.
Thanks for the advice. I believe that I have followed your instructions correctly but I now cannot login. I get a message that says "ERROR: You need to create the directory /home/eflwesl/public_html/chutan/uploaddata with web server write access". When I go into myfiles from Cpanel, however, it opens directly to the "home" directory. What am I missing here?
I really appreciate the detailed instructions you've already provided.
Thanks for all the time and effort.
Dear Richard Lemmer
Sorry, it does not seem to have been as simple as I made out.
The uploaddata file should have already been created, and it should have all your data inside that file.
I am not sure what the CPANEL problem is.
Fantastico SEEMS to have created a data upload directory inside your html directory. That does not seem right. I think that your data directory is much more likely to be in fact at
When you look at your your files using the filemanagere in CPANEL what is there in your home directory? Is there a folder called public_html? Inside that is there a folder called chutan? Or alternatively is there perhaps folder called eflwesl, or chutan inside your home directory?
Do you have FTP access to your server? You will need an FTP client for this, and to know your ftp address, your username and password. That way you can see your files just like you would using explorer, and we can change the permissions too.
I am very sorry if I made this out to be simpler than it is.
It should not take much to fix. But it sounds as though we are going to have to edit config.php as if you were installing manually.
in the file config.php in your moodle directory there should be the following line.
$CFG->dataroot = '/home/eflwesl/public_html/chutan/uploaddata';
This is clearly not correctly specifying where the folder "uploaddata" really is. My guess that it should in fact be
$CFG->dataroot = '/home/eflwesl/uploaddata';
or less likely
$CFG->dataroot = '/home/chutan/uploaddata';
or less likely still
$CFG->dataroot = '/home/eflwesl/chutan/uploaddata';
But without looking at your file tree I can't say. It will not harm your Moodle installation to try different places. But ideally you should just find out where the uploaddata folder using CPANEL or FTP and then specify it.
This should not take long. I hope.
By the way, you should be able to roll back to your old installation NOW (before the upload has started) just by changing the moodle folder to "newmoodle" and the "oldmoodle" back to moodle.
PS I have just realised that you live just down the road, on a global scale. I am in Yamaguchi (Uni).
I wanted to thank you publicly for all the help and advive you gave me outside this forum. I appreciate your sticking with it until the problems I encountered in upgrading were finally solved. Thanks.
In case others experience similar problems, the main difficulty was that the "uploaddata" directory and a "sessions" subdirectory did not install. Transferring the "uploaddata" files from the old directory and creating a new, empty "sessions" directory eliminated the error message. At this point I was still unable to login. After different attempts, finally, choosing a chmod permission of 777 for these these two directories got things going as they should be.