I'm using ownCloud as a personal, self-hosted cloud drive and platform for contacts and calendars. Recently, ownCloud released a major update, bringing it from version 8.2 to 9. As a host, I'm using uberspace.
Every time a new update for ownCloud was released, it would notify me and I would do a manual upgrade using this tutorial (in German!). This was fine for minor updates (X.X.X > X.X.Y), but for this major update, it left me with a blank browser window. Fortunately, I created a backup, so I could restore my old version 8.2.
Here is how I did a manual upgrade:
First of all, remember to create a backup of your ownCloud-installation. Switch to your folder:
$ cd /var/virtual/www/$USER/html
and create a complete copy of your current ownCloud folder.
$ rsync -a owncloud/ owncloud_backup/
Now get the latest version of ownCloud and download it to your current location. Change the version number according to the most recent release:
$ wget http://download.owncloud.org/community/owncloud-9.0.2.tar.bz2
Rename your old ownCloud folder to something indicating that it is old:
$ mv owncloud owncloud-old
Next, extract the previously downloaded file. You'll get a new ownCloud folder containing the most recent version:
$ tar -xfj owncloud-9.0.2.tar.bz2
Now copy your old configuration file to your new ownCloud folder
$ cp owncloud-old/config/config.php owncloud/config/
That should do the trick. Access your ownCloud-installation through your browser. It should tell you, that an update will be processed. Once the update process has finished, reactivate your apps and you are good to go!
Something went wrong?
If something doesn't work, you can still revert to your old installation. Simply remove the new folder and rename your backup:
$ rm -R owncloud/ $ mv owncloud_backup/ owncloud/