2014-02-13 00:08:28 +04:00
|
|
|
The Automatic Updater
|
|
|
|
=====================
|
|
|
|
|
2014-10-28 21:56:49 +03:00
|
|
|
The Automatic Updater ensures that you always have the
|
|
|
|
latest features and bugfixes for your ownCloud synchronization client.
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2014-10-28 21:56:49 +03:00
|
|
|
The Automatic Updater updates only on Mac OS X and Windows computers; Linux
|
2014-10-28 21:52:58 +03:00
|
|
|
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
|
|
|
|
available.
|
2014-02-13 00:08:28 +04:00
|
|
|
|
|
|
|
Basic Workflow
|
|
|
|
--------------
|
|
|
|
|
2014-10-28 21:52:58 +03:00
|
|
|
The following sections describe how to use the Automatic Updater on different
|
|
|
|
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
|
|
|
|
2014-06-26 00:04:33 +04:00
|
|
|
The ownCloud client checks for updates and downloads them when available. You
|
|
|
|
can view the update status under ``Settings -> General -> Updates`` in the
|
|
|
|
ownCloud client.
|
|
|
|
|
|
|
|
If an update is available, and has been successfully downloaded, the ownCloud
|
|
|
|
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
|
|
|
|
|
|
|
Mac OS X
|
|
|
|
^^^^^^^^
|
|
|
|
|
2014-06-26 00:04:33 +04:00
|
|
|
If a new update is available, the ownCloud client initializes a pop-up dialog
|
|
|
|
to alert you of the update and requesting that you update to the latest
|
|
|
|
version. Due to their use of the Sparkle frameworks, this is the default
|
|
|
|
process for Mac OS X applications.
|
2014-02-13 00:08:28 +04:00
|
|
|
|
|
|
|
Linux
|
|
|
|
^^^^^
|
|
|
|
|
2014-10-28 21:52:58 +03:00
|
|
|
Linux distributions provide their own update tools, so ownCloud clients that use
|
2014-12-31 22:27:52 +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
|
|
|
|
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
|
2014-06-26 00:04:33 +04:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2014-02-13 00:08:28 +04:00
|
|
|
|
2014-06-26 00:04:33 +04:00
|
|
|
You can prevent automatic updates from occuring in Windows environments using
|
|
|
|
one of two methods. The first method allows users to override the automatic
|
|
|
|
update check mechanism whereas the second method 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
|
|
|
|
2014-10-25 18:25:18 +04:00
|
|
|
a. (32-bit) ``HKEY_LOCAL_MACHINE\Software\ownCloud\ownCloud``
|
|
|
|
b. (64-bit) ``HKEY_LOCAL_MACHINE\Software\Wow6432Node\ownCloud\ownCloud``
|
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:
|
|
|
|
|
2014-10-28 21:52:58 +03:00
|
|
|
.. note::This is the preferred method of controlling the updater behavior using
|
|
|
|
Group Policies.
|
2014-06-26 00:04:33 +04:00
|
|
|
|
|
|
|
1. Migrate to the following directory::
|
|
|
|
|
|
|
|
HKEY_LOCAL_MACHINE\Software\Policies\ownCloud\ownCloud
|
|
|
|
|
|
|
|
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
|
|
|
|
2014-06-26 00:04:33 +04:00
|
|
|
|
|
|
|
Preventing Automatic Updates in Mac OS X Environments
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2014-12-31 22:27:52 +03:00
|
|
|
You can disable the automatic update mechanism in Mac OS X operating systems
|
2014-06-26 00:04:33 +04:00
|
|
|
using the system-wide ``.plist`` file. To access this file:
|
|
|
|
|
2014-12-31 22:27:52 +03:00
|
|
|
1. Go to this directory::
|
2014-06-26 00:04:33 +04:00
|
|
|
|
|
|
|
/Library/Preferences/
|
|
|
|
|
|
|
|
2. Locate and open the following file::
|
|
|
|
|
|
|
|
com.owncloud.desktopclient.plist
|
|
|
|
|
|
|
|
3. Add a new root level item of type ``bool``.
|
|
|
|
|
|
|
|
4. Name the item ``skipUpdateCheck``.
|
|
|
|
|
|
|
|
5. Set the item to ``true``.
|
|
|
|
|
|
|
|
Alternatively, you can copy the file
|
2014-10-29 00:57:18 +03:00
|
|
|
``owncloud.app/Contents/Resources/deny_autoupdate_com.owncloud.desktopclient.plist``
|
2014-02-13 17:11:04 +04:00
|
|
|
to ``/Library/Preferences/com.owncloud.desktopclient.plist``.
|
2014-02-13 00:08:28 +04: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
|
|
|
|
client configuration file, ``$HOME/.local/share/data/ownCloud/owncloud.cfg``. Add these lines:
|
2014-10-29 00:57:18 +03:00
|
|
|
|
|
|
|
[General]
|
|
|
|
skipUpdateCheck=true
|
|
|
|
|