I have installed moodle on centos and works fine. I mounted another disk because of low free space and transfered moodledata on. It have path /run/media/root/moodle
I allways get error Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting.
Folder premissions are te same as ex folder so are good.
$CFG->dataroot = '/run/media/root/moodle';
is this ok? or i need someting to change because is mounted disk? www folder and datafolder are not in the samedisk.
ls -l /run/media/root/moodleproduce?
$CFG->dataroot = "/run/media/root/moodle/moodledata";
You missed the moodledata off the end
Pardon intrusion ... but a question for 'Anonymous' ... I see 'thinclient_drives' in the screen shot. Is server from a distro from what was called "LightWeight Terminal Services Project" which distributed a Linux OS with a Moodle pre-installed for schools?
If Howard's suggest works .. then ok ... but I see the path /run/media/root/ ... is 'root' the root user or root users desktop? The error you are getting suggest 2 possible reasons ... not found is one ... access denied is the other which would probably be accurate if 'root' seen in path is the 'root' user of the server.
From terminal, issue: df -h (disk free -human) to see how server drive is partitioned along with any mounted data drives/devices.
On LTSP servers, those partioned the server drive making /home/ the largest ... had the most space. Can re-call assisting some schools who used LTSP distro in moving their moodledata to /home/ where there was enough room.
Thank you all for ansfers