Help needed upgrading


#1

Hello OwnCloud Community,

we´ve been trying to update OwnCloud Vesion 5.0.8 to actual Version 9.0.1, but we got stuck updating from 7.0.7 to 7.0.8. Though we know that only major versions are needed to upgrade, we failed with doing so, so that we even tried jumping from minor release to next minor release (x.x.x to x.x.z).

Can someone tell me the best possible workflow restarting at Version
->> {"installed":"true","version":"5.0.8","versionstring":"5.0.6","edition":""}
to actual Version.

We've been using the available tarballs on the command line with the following upgrade procedure:
1. download tarball/bzip2
2. extract
3. renaming the directory to the webservers document root directory where owncloud is served from (backing up old one)
4. copying the old config.php file to the new config directory
5. applying same permissions and ownerships as the old installation
6. cd inside the new source and doing 'sudo -u apache php occ upgrade'

The first few upgrades did succeed, but now beeing stuck with going from 7.0.7 to 7.0.8 with the attached error message:

Help much appreciated!

Thanks!
Hoksn


#2

Hi,

a correct upgrade path from 5.0.8 to the latest 9.1.4 would be:

5.0.8 -> latest 5.0.x -> latest 6.0.x -> latest 7.0.x -> latest 8.0.x -> latest 8.1.x -> latest 8.2.x -> latest 9.0.x -> latest 9.1.x

with the following steps:

  1. Delete all files and folders in your ownCloud installation dir except /data and /config
  2. Extract the archive of the version you want to upgrade to
  3. Run the upgrade routine (occ upgrade)

Repeat those steps for each listed version above. As this a quite huge upgrade path no one can gurantee that this is even working you also might want to install directly 9.1.4 and then migrate your data over.