Passos per actualitzar l’owncloud.

./occ maintenance:mode --on
mysqldump --lock-tables -u [user] [dbname] > owncloud-dbbackup_`date +"%Y%m%d"`.bak
rsync -Aax config data ../year-month-backup/
wget https://download.owncloud.org/community/owncloud-9.1.0.tar.bz2
tar xjf owncloud-[version].tar.bz2
mv htdocs htdocsOld
mv owncloud htdocs
cp htdocsOld/config/config.php htdocs
mv htdocsOld/data htdocs
./occ upgrade
./occ maintenance:mode --off