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.
Owncloud install tips
Re: Owncloud install tips
Hi Dimi3,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.
The current online docs for DietPi owncloud installation specifies:
Code: Select all
DataFolder = /mnt/dietpi_userdata/owncloud_data
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.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Owncloud install tips
Thanks Fourdee, I was checking wrong post with install instructions. Will try again..fingers crossed for 9.X version.
Regards,
Regards,
Re: Owncloud install tips
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.
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.
Re: Owncloud install tips
Hi John,johnvick wrote:I have devised this way of upgrading owncloud which I installed manually on DietPi Odroid XU4.
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.
Donating is the easiest – you can use PayPal or become a DietPi patron.