Cara yang direkomendasikan adalah lewat package Linux. Tetapi sewaktu upgrade selalu muncul
Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: owncloud owncloud-config-apache owncloud-server 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Solusinya
Upgrade ownCloud
Debian 7
sudo apt-get install owncloud
perintah diatas akan otomatis mengupgrade owncloud ke versi 8.2.2.
Debian 8
sudo apt-get upgrade owncloud
Upgrade plugin ownCloud
Setelah menjalankan salah satu perintah diatas, kita juga masih harus mengupgrade plugin secara manual
cd /var/www/owncloud sudo -u www-data php occ upgrade
contoh log perintah diatas
ownCloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade Set log level to debug - current level: 'Debug' Checking whether the database schema can be updated (this can take a long time depending on the database size) Checked database schema update Checking updates of apps Checked database schema update for apps Updating database schema Updated database Disabled 3rd-party app: 168708 Update successful Maintenance mode is kept active Reset log level to 'Debug'
Disable Maintenance Mode
Tahap terakhir adalah menonaktifkan maintenance
cd /var/www/owncloud sudo -u www-data php occ maintenance:mode --off