autoupdate.rst 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. There is no automatic updater on macOS. If a new update is available,
  26. the Nextcloud client initializes a pop-up dialog to alert you of the
  27. update and requesting that you update to the latest version manually.
  28. Linux
  29. ^^^^^
  30. Linux distributions provide their own update tools, so Nextcloud 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. Users may disable automatic updates by adding this line to the [General]
  44. section of their ``nextcloud.cfg`` files::
  45. skipUpdateCheck=true
  46. Windows administrators have more options for preventing automatic updates in
  47. Windows environments by using one of two methods. The first method allows users
  48. to override the automatic update check mechanism, whereas the second method
  49. prevents any manual overrides.
  50. To prevent automatic updates, but allow manual overrides:
  51. 1. Edit these Registry keys:
  52. a. (32-bit-Windows) ``HKEY_LOCAL_MACHINE\Software\Nextcloud\Nextcloud``
  53. b. (64-bit-Windows) ``HKEY_LOCAL_MACHINE\Software\Wow6432Node\Nextcloud\Nextcloud``
  54. 2. Add the key ``skipUpdateCheck`` (of type DWORD).
  55. 3. Specify a value of ``1`` to the machine.
  56. To manually override this key, use the same value in ``HKEY_CURRENT_USER``.
  57. To prevent automatic updates and disallow manual overrides:
  58. .. note:: This is the preferred method of controlling the updater behavior using
  59. Group Policies.
  60. 1. Edit this Registry key:
  61. ``HKEY_LOCAL_MACHINE\Software\Policies\Nextcloud GmbH\Nextcloud``
  62. 2. Add the key ``skipUpdateCheck`` (of type DWORD).
  63. 3. Specify a value of ``1`` to the machine.
  64. .. note:: branded clients have different key names
  65. Preventing Automatic Updates in Linux Environments
  66. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  67. Because the Linux client does not provide automatic updating functionality, there is no
  68. need to remove the automatic-update check. However, if you want to disable it edit your desktop
  69. client configuration file, ``$HOME/.config/Nextcloud/nextcloud.cfg``.
  70. Add this line to the [General] section::
  71. skipUpdateCheck=true