autoupdate.rst 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. The Automatic Updater
  2. =====================
  3. To ensure that you are always using the latest version of the ownCloud client,
  4. an auto-update mechanism has been added in Version 1.5.1. The Automatic Updater
  5. ensures that you automatically profit from the latest features and bugfixes.
  6. .. note:: The Automatic Updater functions differently, depending on the operating system.
  7. Basic Workflow
  8. --------------
  9. The following sections describe how to use the Automatic Updater on different operating systems:
  10. Windows
  11. ^^^^^^^
  12. The ownCloud client checks for updates and downloads them when available. You
  13. can view the update status under ``Settings -> General -> Updates`` in the
  14. ownCloud client.
  15. If an update is available, and has been successfully downloaded, the ownCloud
  16. client starts a silent update prior to its next launch and then restarts
  17. itself. Should the silent update fail, the client offers a manual download.
  18. .. note:: Administrative privileges are required to perform the update.
  19. Mac OS X
  20. ^^^^^^^^
  21. If a new update is available, the ownCloud client initializes a pop-up dialog
  22. to alert you of the update and requesting that you update to the latest
  23. version. Due to their use of the Sparkle frameworks, this is the default
  24. process for Mac OS X applications.
  25. Linux
  26. ^^^^^
  27. Linux distributions provide their own update tool, so ownCloud clients that use
  28. the Linux operating system do not perform any updates on their own. Linux
  29. operating systems do, however, check for the latest version of the ownCloud
  30. client and passively notify the user (``Settings -> General -> Updates``) when
  31. an update is available.
  32. Preventing Automatic Updates
  33. ----------------------------
  34. In controlled environments, such as companies or universities, you might not
  35. want to enable the auto-update mechanism, as it interferes with controlled
  36. deployment tools and policies. To address this case, it is possible to disable
  37. the auto-updater entirely. The following sections describe how to disable the
  38. auto-update mechanism for different operating systems.
  39. Preventing Automatic Updates in Windows Environents
  40. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  41. You can prevent automatic updates from occuring in Windows environments using
  42. one of two methods. The first method allows users to override the automatic
  43. update check mechanism whereas the second method prevents any manual overrides.
  44. To prevent automatic updates, but allow manual overrides:
  45. 1. Migrate to the following directory:
  46. a. (32-bit) ``HKEY_LOCAL_MACHINE\Software\ownCloud\ownCloud``
  47. b. (64-bit) ``HKEY_LOCAL_MACHINE\Software\Wow6432Node\ownCloud\ownCloud``
  48. 2. Add the key ``skipUpdateCheck`` (of type DWORD).
  49. 3. Specify a value of ``1`` to the machine.
  50. To manually override this key, use the same value in ``HKEY_CURRENT_USER``.
  51. To prevent automatic updates and disallow manual overrides:
  52. .. note::This is the preferred method of controlling the updater behavior using Group Policies.
  53. 1. Migrate to the following directory::
  54. HKEY_LOCAL_MACHINE\Software\Policies\ownCloud\ownCloud
  55. 2. Add the key ``skipUpdateCheck`` (of type DWORD).
  56. 3. Specify a value of ``1`` to the machine.
  57. Preventing Automatic Updates in Mac OS X Environments
  58. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  59. You can disable the automatic update mechanism in MAC OS X operating systems
  60. using the system-wide ``.plist`` file. To access this file:
  61. 1. Using the Windows explorer, migrate to the following location::
  62. /Library/Preferences/
  63. 2. Locate and open the following file::
  64. com.owncloud.desktopclient.plist
  65. 3. Add a new root level item of type ``bool``.
  66. 4. Name the item ``skipUpdateCheck``.
  67. 5. Set the item to ``true``.
  68. Alternatively, you can copy the file
  69. ``owncloud.app/Contents/Resources/deny_autoupdate_com.owncloud.desktopclient.plist``
  70. to ``/Library/Preferences/com.owncloud.desktopclient.plist``.
  71. Preventing Automatic Updates in Linux Environments
  72. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  73. Because Linux does not provide automatic updating functionality, there is no
  74. need to remove the automatic-update check. However, if you want to disable
  75. this check:
  76. 1. Locate and open the following file::
  77. /etc/ownCloud/ownCloud.conf
  78. 2. Add the following content to the file::
  79. [General]
  80. skipUpdateCheck=true