autoupdate.rst 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. The macOS client has an autoupdater which uses the Sparkle framework.
  26. This autoupdater is bundled into the client App Bundle and checks for updates
  27. on launch, notifying you if an update is available. This will present a pop-up
  28. that can let you automatically download and install the latest client update
  29. with one click.
  30. In versions of the client where the Sparkle-based autoupdater is not bundled,
  31. a clickable notification will appear informing of an update being available.
  32. Upon clicking on said notification, the download page for the latest version
  33. of the client will be opened in the system's web browser.
  34. Like on other systems, you can view the update status under
  35. ``Settings -> General -> Updates`` in the Nextcloud client.
  36. Linux
  37. ^^^^^
  38. Linux distributions provide their own update tools, so Nextcloud clients that use
  39. the Linux operating system do not perform any updates on their own. The client
  40. will inform you (``Settings -> General -> Updates``) when an update is
  41. available.
  42. Preventing Automatic Updates
  43. ----------------------------
  44. In controlled environments, such as companies or universities, you might not
  45. want to enable the auto-update mechanism, as it interferes with controlled
  46. deployment tools and policies. To address this case, it is possible to disable
  47. the auto-updater entirely. The following sections describe how to disable the
  48. auto-update mechanism for different operating systems.
  49. Preventing Automatic Updates in Windows Environments
  50. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  51. Users may disable automatic updates by adding this line to the [General]
  52. section of their ``nextcloud.cfg`` files::
  53. skipUpdateCheck=true
  54. Windows administrators have more options for preventing automatic updates in
  55. Windows environments by using one of two methods. The first method allows users
  56. to override the automatic update check mechanism, whereas the second method
  57. prevents any manual overrides.
  58. To prevent automatic updates, but allow manual overrides:
  59. 1. Edit these Registry keys:
  60. a. (32-bit-Windows) ``HKEY_LOCAL_MACHINE\Software\Nextcloud\Nextcloud``
  61. b. (64-bit-Windows) ``HKEY_LOCAL_MACHINE\Software\Wow6432Node\Nextcloud\Nextcloud``
  62. 2. Add the key ``skipUpdateCheck`` (of type DWORD).
  63. 3. Specify a value of ``1`` to the machine.
  64. To manually override this key, use the same value in ``HKEY_CURRENT_USER``.
  65. To prevent automatic updates and disallow manual overrides:
  66. .. note:: This is the preferred method of controlling the updater behavior using
  67. Group Policies.
  68. 1. Edit this Registry key:
  69. ``HKEY_LOCAL_MACHINE\Software\Policies\Nextcloud GmbH\Nextcloud``
  70. 2. Add the key ``skipUpdateCheck`` (of type DWORD).
  71. 3. Specify a value of ``1`` to the machine.
  72. .. note:: branded clients have different key names
  73. Preventing Automatic Updates in Linux Environments
  74. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  75. Because the Linux client does not provide automatic updating functionality, there is no
  76. need to remove the automatic-update check. However, if you want to disable it edit your desktop
  77. client configuration file, ``$HOME/.config/Nextcloud/nextcloud.cfg``.
  78. Add this line to the [General] section::
  79. skipUpdateCheck=true