Owncloud install tips

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
dimi3
Posts: 15
Joined: Sun May 08, 2016 7:35 pm

Owncloud install tips

Post by dimi3 »

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.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Owncloud install tips

Post by Fourdee »

dimi3 wrote: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:

Code: Select all

DataFolder = /mnt/dietpi_userdata/owncloud_data
http://dietpi.com/phpbb/viewtopic.php?f=8&t=5#p47

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/repositori ... ebian_8.0/.

I'll take a look and see if we can get v9 https://github.com/Fourdee/DietPi/issues/468
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
dimi3
Posts: 15
Joined: Sun May 08, 2016 7:35 pm

Re: Owncloud install tips

Post by dimi3 »

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

Regards,
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Owncloud install tips

Post by johnvick »

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.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Owncloud install tips

Post by Fourdee »

johnvick wrote:I have devised this way of upgrading owncloud which I installed manually on DietPi Odroid XU4.
Hi John,

Excellent and thanks for sharing. I'll give this a spin :)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply