I RECOMMEND USING THE OFFICIAL PLUGIN INSTEAD OF THIS SCRIPT
--------------------
I have written a script that will install Owncloud 5 from the official repository. It uses sqlite instead of mysql and doesn't use the web site/mysql plugins. If you want the data directory on a share, select Advanced on Setup screen and change the Data folder.
Port-based Installer - access owncloud by http://omv_ip_address:8080/ - does not work over https (yet)
As root:
wget http://omv-extras.org/owncloud_install.sh
chmod +x owncloud_install.sh
./owncloud_install.sh
Alias-based Installer - access owncloud by http://omv_ip_address/owncloud/ - works with https if OMV configured for https
As root:
wget http://omv-extras.org/owncloud_alias_install.sh
chmod +x owncloud_alias_install.sh
./owncloud_alias_install.sh
Uninstaller - Port-based
To uninstall as root:
wget http://omv-extras.org/owncloud_uninstall.sh
chmod +x owncloud_uninstall.sh
./owncloud_uninstall.sh
Uninstaller - Alias-based
As root:
wget http://omv-extras.org/owncloud_alias_uninstall.sh
chmod +x owncloud_alias_uninstall.sh
./owncloud_alias_uninstall.sh
- this script will delete everything in the data directory unless you have symlink'd it to a share.