Is there a way to install ownCloud (http://www.owncloud.org) on a Synology? This is a cloud service that can use WebDav and FTP.
On the install page I can see that "Web server with Apache, PHP >= 5.2 & MySQL/SQLite" is needed, so it should work somehow with a Synology. I tried it, but my knowledge is not sufficient for this.
Below is the install guide (looks simple enough):
1. Download ownCloud from repository: git clone git://gitorious.org/owncloud/owncloud.git
2. Give rights to the web server via FTP client, create a directory data, set permissions to 750 and those of config/ to 777
If you are in a shared hosting environment, your ftp-user and the user the webserver runs on might not be the same. If you get an error about permissions while trying to install or while trying to upload use 770 instead, but be aware of that your data could be writable for other users on the server then. Please refer to your web host’s documentation for their specific implementation of user rights.
3. via SSH without root: setfacl -Rm d:u:YOUR-SSH-USERNAME:rwx,u:www-data:rwx owncloud/ (only works when acl is installed)
4.via SSH with root: chown -R www-data:www-data owncloud/
(on Debian-like distributions, the Apache user & group is www-data, while on e.g. CentOS, it’s apache.)
5.Enable the .htaccess if that’s not automatic for your server
You need to edit /etc/apache2/sites-enabled/000-default, look for /var/www and change AllowOverride None to AllowOverride All if not already set. Otherwise your files will be viewable from the web.
Then restart Apache: sudo /etc/init.d/apache2 restart
6.Open the address of ownCloud’s subdirectory in a web browser and fill out the installation form.
I have cloned the installation and set the rights on the data folder. From point 3, I have trouble executing the given lines. When I try to open the page without points 3,4 and 5 I get:
- Code: Select all
Data directory (/volume1/web/owncloud/data) not writable by ownCloud
Permissions can usually be fixed by giving the webserver write access to the ownCloud directory
Anyone who can help me with this?