Can't create or write into the data directory



在web端创建管理员账号和密码时提示can't create or write into the data directory


Hello, do you check the owncloud.log? the rights of the directory ?


I can't find the owncloud.log


Could you give us the config.php ?



I found this on the owncloud central :




daemon is not the good owner for me. What is the right for the data folder ? You have the manual with a script to use for rights :


chown -R www-data:www-data /usr/local/apache2/htdocs/owncloud/data


chown -R apache:apache /usr/local/apache2/htdocs/owncloud/data

this should fix the problem


I've made this kind of modification, but it doesn't solve the problem


Hello, I sea owncloud.log, could you show us ?



You have the same error message ?


Thank you very much for your answer. I've found the reason to solve the problem

need to change the httpd.conf file


Cool ! Have a nice day!