Owncloud install tips

Hi,

In last days I’m playing with cloud solutions, but still have problems with owncloud install since Im not really an expert on linux.

My observations:
Owncloud version installed trough dietpi-software is 8.1.9, latest stable community version 9.1.0 and production ver. 9.0.4 is it possible to upgrade the version somehow?

Diet-Pi setup guide for opencloud specifies to change data folder;DataFolder = /var/lib/owncloud/data

but this gives error:
Error
Can’t create or write into the data directory /var/lib/owncloud/data

Any tips for successful setup?

Thanks for the help.

Hi Dimi3,

The current online docs for DietPi owncloud installation specifies:

DataFolder = /mnt/dietpi_userdata/owncloud_data

https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/1

We currently use the OpenSuse repo to install Owncloud via apt-get. The downside is only v8.x is currently available: http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_8.0/.

I’ll take a look and see if we can get v9 https://github.com/Fourdee/DietPi/issues/468

Thanks Fourdee, I was checking wrong post with install instructions. Will try again…fingers crossed for 9.X version.

Regards,

I have devised this way of upgrading owncloud which I installed manually on DietPi Odroid XU4.

I am a single user and the application is not critical for me so try at your own risk!

Download latest version to /var/www/html and rename to owncloud zip.

You may need to install 7z.

Run this script:

#!/bin/sh
cd /var/www/html
mv owncloud owncloud.old
7z x owncloud.zip owncloud
cp /var/www/html/owncloud.old/config/config.php /var/www/html/owncloud/config/config.php
chown -R www-data:www-data owncloud
echo done

Then when you login it runs the update. Depending on where you keep your data you may have to move it.

Hi John,

Excellent and thanks for sharing. I’ll give this a spin :slight_smile: