Difference between revisions of "Upgrading ownCloud to New Version Releases"

From Amahi Wiki
Jump to: navigation, search
m
m
Line 6: Line 6:
  
 
Please remember to check the “apache:users” ownership on the copied files and directories. If they are not set, use the “chown” command (recursively). The upgrade will happen automatically upon the next user login.
 
Please remember to check the “apache:users” ownership on the copied files and directories. If they are not set, use the “chown” command (recursively). The upgrade will happen automatically upon the next user login.
 +
 +
Update
 +
 +
Update is to bring an ownCloud instance to its latest point release, e.g. ownCloud 4.0.6 → 4.0.7. To update an ownCloud installation manually, follow those steps:
 +
 +
• Do a backup.
 +
• Unpack the release tarball in the owncloud directory, i.e. copy all new files into the ownCloud installation.
 +
• Make sure that the file permissions are correct.
 +
• With the next page request the update procedures will run.
 +
 +
If you installed ownCloud from a repository, your package management should take care of it.
 +
 +
Upgrade
 +
 +
Upgrade is to bring an ownCloud instance to a new major release, e.g. ownCloud 4.0.7 → 4.5.0. Always do backups anyway.To upgrade ownCloud, follow those steps:
 +
 +
• Make sure that you ran the latest point release of the major ownCloud version, e.g. 4.0.7 in the 4.0 series. If not, update to that version first (see above).
 +
• Do a backup.
 +
• Deactivate all third party applications.
 +
• Delete everything from your ownCloud installation directory, except data and config.
 +
• Unpack the release tarball in the owncloud directory (or copy the files thereto).
 +
• Make sure that the file permissions are correct.
 +
• With the next page request the update procedures will run.
 +
• If you had 3rd party applications, check if they provide versions compatible with the new release. If so, install and enable them, update procedures will run if needed.
 +
 +
If you installed ownCloud from a repository, your package management should take care of it. Probably you will need to look for compatible third party applications yourself. Always do backups anyway.
 +
 
<br>
 
<br>
 
__TOC__
 
__TOC__

Revision as of 17:26, 20 January 2013

Msgbox-WOPr.png Work In Progress
This article is currently undergoing major expansion or restructuring. You are welcome to assist by editing it as well. If this article has not been edited in several days, please remove this template.


As stated before there is no "automatic upgrade" facility for new versions of ownCloud. An administration "update" feature is available, but will only work on a LAMP server using ownCloud install defaults. Once the "one click install" Amahi package has been updated to a new version of ownCloud the package will have to be reinstalled.

When reinstalling the ownCloud package make sure all data is backed up. To upgrade to the next version of ownCloud instance, replace the files (copy) with the new set from the download. Leave the "config/" directory intact to preserve your ownCloud configuration data. The upgrade will happen automatically upon the next user login.

Please remember to check the “apache:users” ownership on the copied files and directories. If they are not set, use the “chown” command (recursively). The upgrade will happen automatically upon the next user login.

Update

Update is to bring an ownCloud instance to its latest point release, e.g. ownCloud 4.0.6 → 4.0.7. To update an ownCloud installation manually, follow those steps:

• Do a backup. • Unpack the release tarball in the owncloud directory, i.e. copy all new files into the ownCloud installation. • Make sure that the file permissions are correct. • With the next page request the update procedures will run.

If you installed ownCloud from a repository, your package management should take care of it.

Upgrade

Upgrade is to bring an ownCloud instance to a new major release, e.g. ownCloud 4.0.7 → 4.5.0. Always do backups anyway.To upgrade ownCloud, follow those steps:

• Make sure that you ran the latest point release of the major ownCloud version, e.g. 4.0.7 in the 4.0 series. If not, update to that version first (see above). • Do a backup. • Deactivate all third party applications. • Delete everything from your ownCloud installation directory, except data and config. • Unpack the release tarball in the owncloud directory (or copy the files thereto). • Make sure that the file permissions are correct. • With the next page request the update procedures will run. • If you had 3rd party applications, check if they provide versions compatible with the new release. If so, install and enable them, update procedures will run if needed.

If you installed ownCloud from a repository, your package management should take care of it. Probably you will need to look for compatible third party applications yourself. Always do backups anyway.






Main ownCloud Page