I ve just tried to update owncloud from 10.1.0.4 to 10.2.1 and failed…
Im running owncloud over centos 7 (apache, mysql)…
The process gave me this message:
The following files and directories are not writable:
/var/www/html/owncloud/core
/var/www/html/owncloud/core/Application.php
/var/www/html/owncloud/core/Command
/var/www/html/owncloud/core/Command/App
/var/www/html/owncloud/core/Command/App/CheckCode.php
/var/www/html/owncloud/core/Command/App/Disable.php
/var/www/html/owncloud/core/Command/App/Enable.php
… and 8260 more items
Im learning how to use Centos 7/ Linux and its commands so im very inexperienced in commands and other issues.
Could anybody write me the exact command to run and fix this problem please?
this looks like you copied the ownCloud files as another user than the webserver user and did not change the permissions.
For centos the following line should fix your permissions: sudo chown -R apache:apache /var/www/html/owncloud/
Please take care, that those permissions remain intact.
Hi corthlo, thank you for helping me!
I ve just run that command but nothing happens.
I have exactly the same error while i try to upgrade…
What can i do?
Of course, updating is still not possible because selinux prevents files from being written.
You may change the policy for your owncloud directory permanently as shown in the link from my previous post or you may temporary disable the httpd policy and renable it again. This is documented in the ownCloud documentation:
Some files have not passed the integrity check. Further information on how to resolve this issue can be found in our documentation.
Technical information
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Did you follow the link in the error message you provided?
There they write
MISSING_FILE
The file cannot be found but has been specified within signature.json . Either a required file has been left out, or signature.json needs to be edited.
So just extract the two files from your original zip or tarball to the owncloud installation directory.
Ive just download owncloud .zip and with winscp move those missing files to server, then i rescan and now it is fixed.
This owncloud is use for educational purpose (for a little local school).
An it company gave us free of charge a VPS to install owncloud and other things, but because i dont have any knowledge of linux i had to ask a friend to install owncloud for me in the vps.
I think that the installation and the configurations werent succesfully done… it appears some warnings in the “security & setup warnings” section…
If you know somebody that can help us to fix this errors please send me a message. We could pay.