So am pretty new to my Owncloud installation but I wanted to know how to upgrade.
I have tried the occ upgrade but only got an update to latest 9.1 version but no luck. I don't want to completely reinstall if I can help it! Any help would be appreciated
I assume you upgraded your ownCloud server by using your Linux package manager. It looks like the Open Build Service repository is still pointing to 9.1.6 as latest stable release.
When I tried this method on Debian 8, the 'owncloud' package was not upgradable and when I tried to upgrade 'owncloud-files' it wanted to remove 'owncloud' along with all of its dependencies:
# aptitude install owncloud-files
The following packages will be upgraded:
owncloud-files{b}
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.1 MB of archives. After unpacking 11.5 MB will be used.
The following packages have unmet dependencies:
owncloud-files : Conflicts: owncloud (<= 9.01.99) but 9.1.6-1.1 is installed.
The following actions will resolve these dependencies:
Remove the following packages:
1) owncloud
Accept this solution? [Y/n/q/?] Y
The following packages will be REMOVED:
apache2{u} apache2-bin{u} apache2-data{u} apache2-utils{u} libaio1{u} libapache2-mod-php5{u} libapr1{u} libaprutil1{u} libaprutil1-dbd-sqlite3{u} libaprutil1-ldap{u} libdbd-mysql-perl{u} libdbi-perl{u} libgd3{u} liblua5.1-0{u} libmcrypt4{u}
libmysqlclient18{u} libonig2{u} libpq5{u} libqdbm14{u} libterm-readkey-perl{u} libvpx1{u} libxpm4{u} mysql-client-5.5{u} mysql-common{u} mysql-server{u} mysql-server-5.5{u} mysql-server-core-5.5{u} owncloud{a} owncloud-deps-php5{u}
owncloud-files{u} php-pear{u} php-xml-parser{u} php5{u} php5-cli{u} php5-common{u} php5-curl{u} php5-gd{u} php5-intl{u} php5-json{u} php5-mcrypt{u} php5-mysqlnd{u} php5-pgsql{u} php5-readline{u} php5-sqlite{u}
0 packages upgraded, 0 newly installed, 44 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 224 MB will be freed.
Do you want to continue? [Y/n/?] n
So I had to first remove 'owncloud' (keeping dependencies intact) and then I was able to proceed:
# dpkg -r --force-all owncloud
(Reading database ... 52653 files and directories currently installed.)
Removing owncloud (9.1.6-1.1) ...
# aptitude install owncloud-files
The following packages will be REMOVED:
owncloud-deps-php5{u}
The following packages will be upgraded:
owncloud-files
1 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 31.1 MB of archives. After unpacking 11.5 MB will be used.
Do you want to continue? [Y/n/?]
Get: 1 http://download.owncloud.org/download/repositories/stable/Debian_8.0/ owncloud-files 10.0.3-1.1 [31.1 MB]
Fetched 31.1 MB in 3s (8,052 kB/s)
Reading changelogs... Done
(Reading database ... 52650 files and directories currently installed.)
Removing owncloud-deps-php5 (9.1.6-1.1) ...
Conf owncloud disabled.
To activate the new configuration, you need to run:
service apache2 reload
(Reading database ... 52648 files and directories currently installed.)
Preparing to unpack .../owncloud-files_10.0.3-1.1_all.deb ...
Unpacking owncloud-files (10.0.3-1.1) over (9.1.6-1.1) ...
Setting up owncloud-files (10.0.3-1.1) ...
Current status: 0 updates [-1].