Private cloud, Owncloud is not working with message “Cannot write into apps directory”:
Normally owncloud shows this error when user don’t have the ownership on apps directory. You can fix this very easily, you need to provide the access the current user on apps directory, error details is also self-explanatoryi.e. “This can usually be fixed by giving the webserver write access to the apps directory or disabling the appstore in the config file.”
You can solve this issue by using the command:
Sudo chown www-data:www-data –R /var/www/owncloud
It will again ask for user password, provide the user-password and then refresh the owncloud home page, this time it will lead to login page of owncloud.