Install owncloud7/26/2023 ![]() I created a link from /volume1/web/owncloud to /var/services/web, but it is far from ideal. – There is no way to make things work in /volume1/web. – General PHP is 7.0 (did not install 5.6) – Web Station General HTTP backend is Apache 2.2 (did not install 2.4) Nothing worked.Īfter a lot of research, trial and error, this is what is (somehow) working now: I’ve been struggling a lot to make OwnCloud to work in a DSM 6.1.4 (just upgraded from 5.2). I know that has been quite a long time since this was published and, first of all, thank you very much for the detailed post. Save the file and restart apache with the packagemanager or on the command line.Īlso edit /volume1/web/owncloud/config/config.php and add your hostname in the trusted_domains array: 'trusted_domains' => With (in my case diskstation) ServerName diskstation If you want your owncloud installation to be available on your hostname like of your ip address then edit: /usr/local/etc/apache22/conf/nf not actual image, i forgot to shoot an screen. ![]() Give needed details for installing Owncloud. Please give Admin password and give other details. Please use the web address that you want to use when using Owncloud, so that during installation your domain will be automatically added to allowed domains in Owncloud config.php file. So just chose Apache…!ĥ) Double check that you know your Mariadb/MySQL root password – you will need it during owncloud setup/installation.Ħ) Point your Web browser to the newly created Owncloud website/portal – and finalize installation. Apache 2.4 has been reported not to work in recent comments received from users, and Nginx will require more configuration, especially the re-write rules might prove to be challenging (some users have reported 404 not found error after installation). Mainly because it works out-of-the-box for most users in Owncloud / DSM setup. ![]() I would highly recommend you choose Apache 2.2 as your webserver for your Owncloud virtual host. Remember to execute from system root! Ssh into your box and run the following commands as root : chown -R http:http /volume1/web/owncloud/Ĭhown -R http:http /volume1/web/owncloud/apps/Ĭhown -R http:http /volume1/web/owncloud/config/Ĭhown -R http:http /volume1/web/owncloud/themes/Ĭhown http:http /volume1/web/owncloud/.htaccessįind /volume1/web/owncloud/ -type f -print0 | xargs -0 chmod 777įind /volume1/web/owncloud/ -type d -print0 | xargs -0 chmod 777įind /volume1/owncloud/ -type d -print0 | xargs -0 chmod 777Ĭhmod 777 /volume1/web/owncloud/.htaccessĤ) Enable Virtual host in NAS for the new owncloud folder in your web root. Just follow the red arrow above in the screenshot.ģ) Assign the following permissions to folders for installation purposes. Synology Admin UI -> Main Menu -> Web Station -> PHP Settings -> (Note: Do not delete any existing paths, add it to the end of the existing configuration – see screenshot)Īlso, if php is not enabled, enable php 5.6, 7.0 and all the extensions for php 5.6 and 7.0. Disable the PHP Cache. In my case: /volume1/webĢ) Create empty owncloud data folder outside web folder, as recommended by Owncloud community (I created it at: /volume1/owncloud/ )Īppend your PHP open_basedir configuration with the location of your Owncloud data folder (IF outside web folder): :/dev/urandom:/volume1/owncloud ![]() Ok -let’s get started with the installation.Ġ) It’s obvious but enable/install the package Web Station before you begin with this tutorial!ġ) Download the latest stable ZIP file from and copy the extracted Owncloud folder to your Synology web root. When u choose for uninstall, the DSM service even stops!!Īnyways, this guide got detailed instructions for installing Owncloud 10 to Xpenology/Synology device with DSM 6.1. It seems the package Owncloud is not working anymore on DSM 6.1 because it can’t find the mysql binary anymore. ![]()
0 Comments
Leave a Reply. |