Forums | Mahara Community
Your defined data root directory is not writable.
08 January 2011, 9:59 AM
I'm trying to install mahara in my hosting, but I don't know where I've been wrong because it says that:
When the folder data is 777
any idea or solution to edit and solve?
11 January 2011, 3:02 AM
What do you get from an
ls -ld /home/public_html/mahara/data
ls -l /home/public_html/mahara/data
If you can change the ownership to whatever your web user is, rather than chmodding the folder that would be preferential. I suspect that the ownership/mode isn't quite right somewhere.
11 January 2011, 7:31 AM
11 January 2011, 4:28 AM
Also check if the path is actually correct:
"/home/public_html/mahara/data/" doesn't look right, I would expect it to be something like "/home/<user>/public_html/mahara/data/".
You also have the data in a place accessible to the web server, which isn't good practice.
11 January 2011, 7:18 AM
Thanks a lot Gary!
I solve both (user and ubication)
09 March 2011, 11:35 PM
I have the same problem on Mac.
Can you give me the help for that?
18 February 2012, 3:40 PM
Your defined data root directory, /home5/sitename/
maharadata1/, is not writable.
Could you help me, I don't understand because the folder is writable
19 February 2012, 3:19 AMYou have to give the right per,Ossian to your folder. If you are on Ubuntu do chown -R www-data:www-data maharadata1 chmod -R 777 maharadata1
28 February 2012, 9:41 PM
I hope you don't mind me asking a similar question.
Create the Dataroot Directory
( https://wiki.mahara.org/index.php/System_Administrator%27s_Guide/Installing_Mahara )
This is a directory where Mahara will write files that are uploaded to it, as well as some other files it needs to run. The main point about this directory is that it is one that the web server can write to. The other main point is that it cannot be inside the directory where your Mahara code is! In fact, if you have a public_html directory, it should not be inside that at all.
You will need to make the maharadata directory writable by the web server user. You can either change its owner to be the web server user, or you can chmod it to 777. The latter isn't recommended, but if you're on shared hosting it's what you'll probably have to do. FTP programs will allow you to chmod the directory.
So according to the explanation, I have two choices:
A: Change its owner to be the web server user
B: Chmod it to 777
Does A mean the following in centOS?
chown -R apache.apache maharadata
Do I need to set A and B, or either A or B?
I really appreciate anybody's help on this. Thank you.
29 February 2012, 7:10 AM
I personally did both, chmod and chown because on my configuration and together with the use I make of maharadata I need it.
I have no problem having mahra folder being in chown root and chmod 577 but with the maharadata I always do both (www-data and 777).
Bye the way the command on unix isnt' chmod -R apache:apache instead of apache.apache?
Good luck with your installation,