Did you try giving actual location of the directory?
$CFG->dirroot = '/actual/directorytomoodle';
Re: Getting "$CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting." error
by Yousuf Tafhim -
Number of replies: 0