2015-04-21 20:10:16 +03:00
|
|
|
=====================
|
2014-02-13 00:08:28 +04:00
|
|
|
The Automatic Updater
|
|
|
|
=====================
|
|
|
|
|
2018-06-04 12:44:03 +03:00
|
|
|
The Automatic Updater ensures that you always have the
|
2018-01-29 03:15:00 +03:00
|
|
|
latest features and bug fixes for your Nextcloud synchronization client.
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2018-06-04 12:44:03 +03:00
|
|
|
The Automatic Updater updates only on macOS and Windows computers; Linux
|
|
|
|
users only need to use their normal package managers. However, on Linux systems
|
|
|
|
the Updater will check for updates and notify you when a new version is
|
2014-10-28 21:52:58 +03:00
|
|
|
available.
|
2014-02-13 00:08:28 +04:00
|
|
|
|
|
|
|
Basic Workflow
|
|
|
|
--------------
|
|
|
|
|
2018-06-04 12:44:03 +03:00
|
|
|
The following sections describe how to use the Automatic Updater on different
|
2015-04-21 20:10:16 +03:00
|
|
|
operating systems.
|
2014-06-26 00:04:33 +04:00
|
|
|
|
2014-02-13 00:08:28 +04:00
|
|
|
Windows
|
|
|
|
^^^^^^^
|
2014-10-29 00:57:18 +03:00
|
|
|
|
2018-01-29 03:15:00 +03:00
|
|
|
The Nextcloud client checks for updates and downloads them when available. You
|
2014-06-26 00:04:33 +04:00
|
|
|
can view the update status under ``Settings -> General -> Updates`` in the
|
2018-01-29 03:15:00 +03:00
|
|
|
Nextcloud client.
|
2014-06-26 00:04:33 +04:00
|
|
|
|
2018-01-29 03:15:00 +03:00
|
|
|
If an update is available, and has been successfully downloaded, the Nextcloud
|
2014-06-26 00:04:33 +04:00
|
|
|
client starts a silent update prior to its next launch and then restarts
|
|
|
|
itself. Should the silent update fail, the client offers a manual download.
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2014-06-26 00:04:33 +04:00
|
|
|
.. note:: Administrative privileges are required to perform the update.
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2018-06-04 12:44:03 +03:00
|
|
|
macOS
|
|
|
|
^^^^^
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2022-05-22 19:25:35 +03:00
|
|
|
The macOS client has an autoupdater which uses the Sparkle framework.
|
|
|
|
This autoupdater is bundled into the client App Bundle and checks for updates
|
|
|
|
on launch, notifying you if an update is available. This will present a pop-up
|
|
|
|
that can let you automatically download and install the latest client update
|
|
|
|
with one click.
|
|
|
|
|
|
|
|
In versions of the client where the Sparkle-based autoupdater is not bundled,
|
|
|
|
a clickable notification will appear informing of an update being available.
|
|
|
|
Upon clicking on said notification, the download page for the latest version
|
|
|
|
of the client will be opened in the system's web browser.
|
|
|
|
|
|
|
|
Like on other systems, you can view the update status under
|
|
|
|
``Settings -> General -> Updates`` in the Nextcloud client.
|
2014-02-13 00:08:28 +04:00
|
|
|
|
|
|
|
Linux
|
|
|
|
^^^^^
|
|
|
|
|
2018-01-29 03:15:00 +03:00
|
|
|
Linux distributions provide their own update tools, so Nextcloud clients that use
|
2018-06-04 12:44:03 +03:00
|
|
|
the Linux operating system do not perform any updates on their own. The client
|
|
|
|
will inform you (``Settings -> General -> Updates``) when an update is
|
2014-12-31 22:27:52 +03:00
|
|
|
available.
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2014-06-26 00:04:33 +04:00
|
|
|
Preventing Automatic Updates
|
|
|
|
----------------------------
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2014-06-26 00:04:33 +04:00
|
|
|
In controlled environments, such as companies or universities, you might not
|
|
|
|
want to enable the auto-update mechanism, as it interferes with controlled
|
|
|
|
deployment tools and policies. To address this case, it is possible to disable
|
|
|
|
the auto-updater entirely. The following sections describe how to disable the
|
|
|
|
auto-update mechanism for different operating systems.
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2014-10-28 22:19:05 +03:00
|
|
|
Preventing Automatic Updates in Windows Environments
|
2017-02-20 12:52:22 +03:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2018-06-04 12:44:03 +03:00
|
|
|
Users may disable automatic updates by adding this line to the [General]
|
2018-01-29 03:15:00 +03:00
|
|
|
section of their ``nextcloud.cfg`` files::
|
2015-12-02 22:52:42 +03:00
|
|
|
|
|
|
|
skipUpdateCheck=true
|
|
|
|
|
2018-06-04 12:44:03 +03:00
|
|
|
Windows administrators have more options for preventing automatic updates in
|
|
|
|
Windows environments by using one of two methods. The first method allows users
|
|
|
|
to override the automatic update check mechanism, whereas the second method
|
2015-12-02 22:52:42 +03:00
|
|
|
prevents any manual overrides.
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2014-06-26 00:04:33 +04:00
|
|
|
To prevent automatic updates, but allow manual overrides:
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2014-12-31 22:27:52 +03:00
|
|
|
1. Edit these Registry keys:
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2018-01-29 03:15:00 +03:00
|
|
|
a. (32-bit-Windows) ``HKEY_LOCAL_MACHINE\Software\Nextcloud\Nextcloud``
|
|
|
|
b. (64-bit-Windows) ``HKEY_LOCAL_MACHINE\Software\Wow6432Node\Nextcloud\Nextcloud``
|
2014-06-26 00:04:33 +04:00
|
|
|
|
|
|
|
2. Add the key ``skipUpdateCheck`` (of type DWORD).
|
|
|
|
|
|
|
|
3. Specify a value of ``1`` to the machine.
|
|
|
|
|
|
|
|
To manually override this key, use the same value in ``HKEY_CURRENT_USER``.
|
|
|
|
|
|
|
|
To prevent automatic updates and disallow manual overrides:
|
|
|
|
|
2018-06-04 12:44:03 +03:00
|
|
|
.. note:: This is the preferred method of controlling the updater behavior using
|
2014-10-28 21:52:58 +03:00
|
|
|
Group Policies.
|
2014-06-26 00:04:33 +04:00
|
|
|
|
2015-09-09 13:33:25 +03:00
|
|
|
1. Edit this Registry key:
|
2014-06-26 00:04:33 +04:00
|
|
|
|
2020-01-30 12:12:56 +03:00
|
|
|
``HKEY_LOCAL_MACHINE\Software\Policies\Nextcloud GmbH\Nextcloud``
|
2014-06-26 00:04:33 +04:00
|
|
|
|
|
|
|
2. Add the key ``skipUpdateCheck`` (of type DWORD).
|
|
|
|
|
|
|
|
3. Specify a value of ``1`` to the machine.
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2018-01-29 03:15:00 +03:00
|
|
|
.. note:: branded clients have different key names
|
2016-02-23 20:42:40 +03:00
|
|
|
|
2014-06-26 00:04:33 +04:00
|
|
|
|
|
|
|
Preventing Automatic Updates in Linux Environments
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2014-10-29 00:57:18 +03:00
|
|
|
Because the Linux client does not provide automatic updating functionality, there is no
|
2014-10-29 19:56:17 +03:00
|
|
|
need to remove the automatic-update check. However, if you want to disable it edit your desktop
|
2018-01-29 03:15:00 +03:00
|
|
|
client configuration file, ``$HOME/.config/Nextcloud/nextcloud.cfg``.
|
2015-12-03 21:29:44 +03:00
|
|
|
Add this line to the [General] section::
|
2014-10-29 00:57:18 +03:00
|
|
|
|
|
|
|
skipUpdateCheck=true
|