Hi Moodle team,
I have been trying to install Moodle on IONOS Webhosting and I am getting the following error.
Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.
I found many discussions about this issue, but I can seem to find the proper path for moodledata and moodle folder.
I notice many install this on Windows or OS but I could not find any install instructions for WebBase installation.
I currently uploaded to this Path: /moodle Permission 777
My config file is located here Path: /moodle/config.php Permission 755 but I did try 777 also
My moodledata path is Path: /moodledata Permission 777
I created. A PHP version 8.0 for moodle.wiki-training.com subdomain.
I also created my database MySQL 8.0 for moodle
My CFG file Database info.
$CFG->dbtype = 'mysqli'; // 'pgsql', 'mariadb', 'mysqli', 'auroramysql', 'sqlsrv' or 'oci'
$CFG->dblibrary = 'native'; // 'native' only at the moment
$CFG->dbhost = 'db5012694859.hosting-data.io'; // eg 'localhost' or 'db.isp.com' or IP
$CFG->dbname = '***********'; // database name, eg moodle
$CFG->dbuser = '*********'; // your database username
$CFG->dbpass = '**********'; // your database password
$CFG->prefix = 'mdl_'; // prefix to use for all table names
Wwwroot: $CFG->wwwroot = '/moodle';
Dataroot: $CFG->dataroot = '/moodledata';
Shouldn’t this be 777 and not 02777 $CFG->directorypermissions = 02777;
Any help would be appreciated or if you can point me in the right direction.
Thank you