There is a build into Owncloud updater, which for whatever reason didn’t work for me.
There is also a guide on how to update a self hosted Owncloud under http://doc.owncloud.org/server/6.0/admin_manual/maintenance/update.html
However I find it lacks a few things, so I wrote up my own steps since I use a self hosted Owncloud instance on a server.
This applies to the current version 6.0.0 to 6.0.1 upgrade
1. It is recommended to deactivate all 3rd party applications in Owncloud.
2. To Upgrade I performed the following steps as root in the web servers root directory above the “owncloud” home directory.
3. Make a backup of the ownCloud folder.
rsync -a owncloud/ owncloud_bkp`date +"%Y%m%d"`/
4. Download the latest version to the root directory above owncloud:
5. Delete everything from your ownCloud installation directory, except data and config. (Your data directory should be a separate “external” directory unless you have it configured it differently.
ls | grep -v ‘data\|config’ | xargs rm -r
6. Unpack the release tarball. Assuming that your installation directory is called ‘owncloud’ and that you are above the owncloud directory. The tarball contains the directory owncloud
tar xfj owncloud-6.0.1.tar.bz2
7. Use your browser and go to http://servername/owncloud (or https://) to finish the upgrade
If you get the following error when going to /owncloud:
Magic Quotes is enabled. ownCloud requires that it is disabled to work properly. Magic Quotes is a deprecated and mostly useless setting that should be disabled. Please ask your server administrator to disable it in php.ini or in your webserver config.
PHP modules have been installed, but they are still listed as missing? Please ask your server administrator to restart the web server.
There are a few solutions but I go for th4 fastest and the one that works when you are on a shared host when you can’t easily change to much.
cd owncloud vi .htaccess
insert at the end
php_flag magic_quotes_gpc off