autoupdate.rst 4.1 KB

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