I am trying to set up an instance of Moodle on Amazon EC2 for a Uni project. I follow the installation tutorial to the "T" but when I try to access the url, all I get is this:
Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.
The problem seems to be in the folder where the data is supposed to go, not the actual root of Moodle.
My dataroot is /home/username/moodledata, and of course I have set this up in the config file
CFG->dataroot = '/home/username/moodledata';
As for the permissions, I have set them up like this:
chmod 0707 /home/username/moodledata
chown http /home/username/moodledata