'moodledata' : can't find it ?

'moodledata' : can't find it ?

by Roberto Catanuto -
Number of replies: 2

Moodle 3.9.11

Moodle 3.9.13

Hi, I maintain the two installations above. Unfortunately, it was not me who installed them both.

Searching for 'moodledata' I found only a 'moodle_data' folder.

How can I be sure it is the directory with all users' data ?

Many thanks indeed. 

Average of ratings: -
In reply to Roberto Catanuto

Re: 'moodledata' : can't find it ?

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers
Your config.php file should tell you the name of your moodledata folder and where it can be found. For example, in my config.php file, the relevant line shows:

$CFG->dataroot = '/Applications/MAMP/data/moodledata3';

So in this example, one would see that I am running MAMP, the moodledata folder is called "moodledata3" and it is located in the folder "/Applications/MAMP/data/".

So, see what your $CFG->dataroot equals.
Average of ratings: Useful (1)
In reply to Rick Jerz

Re: 'moodledata' : can't find it ?

by Roberto Catanuto -
Great this is the line:
$CFG->dataroot = '/var/www/vhosts/mydomain.com/private/moodle_data';
so that was right.
Thanks indeed.