Windows server: Installation and configuration of Moodle on Windows

Windows server: Installation and configuration of Moodle on Windows

by Dushyant Shindikar -
Number of replies: 4

Hi

We have envieonment of Moodle 2 front end web server and one of them is our Databse server and moodledata server. This is installaed on the Windows 2008 R2.

Server 1    Moodle Front end,Databse and moodledata

Server 2   Moodle Front end server

We are facing problem with permission. We mapp the Server 1 which is moodledata folder on Server 2.  We have done the changes in the config.php but when we try to access it gives me error as follows.

Fatal error: $CFG->dataroot is not writable, admin has to fix directory permissions! Exiting. 

Where we need to give permission and how?

Average of ratings: -
In reply to Dushyant Shindikar

Re: Windows server: Installation and configuration of Moodle on Windows

by Luis de Vasconcelos -

$CFG->dataroot in your config.php file should be pointing to a specific directory on your server (or file server). Make sure that that folder is writeable by the web user (e.g. IUSR if you're running IIS).

In reply to Luis de Vasconcelos

Re: Windows server: Installation and configuration of Moodle on Windows

by James Cracknell -

Add IUSR to a Security group and then give the datadir full permissions for that group.

In reply to Luis de Vasconcelos

Re: Windows server: Installation and configuration of Moodle on Windows

by Dushyant Shindikar -
Thanks for the rply How to make it writable
In reply to Dushyant Shindikar

Re: Windows server: Installation and configuration of Moodle on Windows

by Stephen Bloomer -

I was under the impression that you could not have 2 front end servers in a windows environment(but I could be wrong).  I run one back end server with just the db and one front server with IIS/PHP and the moodledata.