Wednesday, August 06, 2014

ownCloud - Upgrade from 6.x to 7.0.1 Ubuntu 14.04

This blog shows you how to upgrade ownCloud from 6.x to 7.0.1.

Backup old version:
backup mysql database:
# mysqldump --opt -u root -p"yourpasswd" owncloud > ./owncloud.sql-`date +"%y-%m-%d"`

backup ownCloud files:
# tar -czvf usr-share-owncloud-`date +"%y-%m-%d"`.tar /usr/share/owncloud/
# tar -czvf lib-owncloud-`date +"%y-%m-%d"`.tar /var/lib/owncloud

For xUbuntu 14.04 run the following:
# sh -c "echo 'deb /' >> /etc/apt/sources.list.d/owncloud.list"
# sudo apt-get update
# apt-get install owncloud

Go to your ownCloud admin page, you should see the following picture:

No comments: