Changes

From Amahi Wiki
Jump to: navigation, search
Use the following steps for upgrading ownCloud:
* It is '''extremelyhighly''' important desirable that your current ownCloud instance is at the latest release number before the next major version release. This is important as there may have been some important meta data fixes (or other fixes) that the new major release is dependent on. If you skip this step the upgrade for ownCloud may have some problems at a future time.* Catalogue all applications active in the current ownCloud instance. Take special care to identify the "core" applications that were activated and third party applications that were installed. There is no guarantee that third party applications will work on a new ownCloud release.
* Review and document all ownCloud sharing techniques used in the current ownCloud instance.
* Disable all third party applications ('''not''' the "core" applications).
* Do backups of the ownCloud database, binaries and stored files.
* Go to the Amahi Dashboard, Apps => Installed, and uninstall the current ownCloud instance. This will remove the ownCloud binaries and ownCloud database.
* Go to the Amahi Dashboard, Apps => Available, and install the new ownCloud release.
* Using a "terminal" connection, "cd" in to the ownCloud directory containing the binaries.
cd /var/hda/web-apps/owncloudowncloudx/html - where "x" is an ownCloud major release number* Restore the ownCloud "config.php" directory file from backups. Remember that this restore '''must should be''' from the last major point release (i.e. 6.0.6) versus the new major release (i.e. 7.0.3) that will be the upgrade (not update).
* The following sub-steps must be done for ownCloud releases from version 6.0.5 and beyond. Refer to the ''"ownCloud 7.0 and Future Updates/Upgrades on Amahi"'' section on this page for more information. The following sub-steps use an upgrade from ownCloud 6.0.6 to 7.0.3 as an example.
::Navigate to the ownCloud "config " directory:
cd /var/hda/web-apps/owncloud7/html/config/
* '''DO NOT''' turn the system over to users yet!
* Navigate to the Apps page.
* Activate Enable "core" applications that were used in the previous ownCloud instance"one-at-time". Testing each after enabling.* Compare Enable any additional applications available from the list of third party applications new release that were used in the previous prior ownCloud instance with the third party applications available in the newly installed release. Testing each after enabling.* Enable the Download, install, and enable any required third party applications that are available. Testing each after enabling. Please remember third party applications that do not available work will take time for the third party authors to update for the new release version.
* Login to a normal user ID and test ownCloud functionality (i.e. sharing) and applications.
* If the prior testing was successful have other users test their ownCloud IDs.