Shell script for installing Owncloud on the Raspberry Pi
Latest commit 0425e9b Sep 8, 2016 @petrockblog committed on GitHub Merge pull request #46 from kmgalanakis/master
Added MariaDB functionality for SQL database storage and mounting of external drive for file storage


Shell script for installing and updating Owncloud on the Raspberry Pi. The script either performs a new installation of the newest Owncloud release or, if already installed, performs an upgrade to the newest release. When doing a new installation, you can choose between the Apache 2 or the NGiNX webserver.

The script downloads and installs the latest Owncloud version that can be found in the file at


First of all, make sure that Git is installed:

sudo apt-get update
sudo apt-get install -y git dialog

Then you can download the latest OwncloudPie setup script with

git clone git://

The script is executed with

cd OwncloudPie
chmod +x
sudo ./

For more information visit the blog at or the repository at

Have fun!