'moodledata' : can't find it ?

'moodledata' : can't find it ?

per Roberto Catanuto -
Nombre de respostes: 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. 

Mitjana de qualificacions: -
En resposta a Roberto Catanuto

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

per Rick Jerz -
Imatge Particularly helpful Moodlers Imatge 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.