Parent directory (/var/www) is not writeable. Data directory (/var/www/moodledata) cannot created by the installer.

Parent directory (/var/www) is not writeable. Data directory (/var/www/moodledata) cannot created by the installer.

Toncho Dinkov -
Number of replies: 1

Hello Guys,

I am about to install Moodle 3.1+ (Build: 20160616), but I am stuck on the stage where I should confirm the paths. When I click on next, the system says on below with red letters "Parent directory (/var/www) is not writeable. Data directory (/var/www/moodledata) cannot created by the installer."

Any idea, what have I done wrong?

Best Regards,

Toncho Dinkov

Ngā whakawākanga toharite: -
In reply to Toncho Dinkov

Re: Parent directory (/var/www) is not writeable. Data directory (/var/www/moodledata) cannot created by the installer.

Emma Richardson -
Pikitia o Documentation writers Pikitia o Particularly helpful Moodlers Pikitia o Plugin developers

You need to check the permissions and ownership of your var/www folder.  It should be owned by the webuser (www-data on debian, apache on other linux distros) and the webuser needs to have write permissions - normally it is set to permissions of 755 or something similar.

Ngā whakawākanga toharite: -