Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.

Re: Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.

by Ken Task -
Number of replies: 0
Picture of Particularly helpful Moodlers

Check ownership/permissions on config.php file in the moodle code directory.  That file needs to be, at the very least, readable by all.

If that doesn't 'fix it' might have to use the debug lines from config-dist.php and put them into the active config.php file to see what else might be wrong.

Your webmaster needs to start using moodle docs and whatever documentation your provider has available to customers (from the path to moodledata shared, looks to be a shared at least [multi-hosted] site).

'spirit of sharing', Ken