autoupdate.rst 4.0 KB

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