Can't create or write into the data directory

upgrade

#1

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


#2

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


#3

I can't find the owncloud.log


#4

Could you give us the config.php ?


#5


#6

I found this on the owncloud central : https://central.owncloud.org/t/cant-create-or-write-into-the-data-directory-cant-write-into-config-directory-data-directory-mnt-data-is-invalid/1255


#7

现在的故障是这样的!!


#8

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 : https://doc.owncloud.org/server/10.0/admin_manual/installation/installation_wizard.html


#9

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

or

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

this should fix the problem


#10


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


#11

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


#12


#13

You have the same error message ?


#14

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

need to change the httpd.conf file


#15

Cool ! Have a nice day!