What you need to know about automatic updates

Added on: 2017-11-15 Last Modified: 2017-12-01
Table of Contents
Introduction
1. Automatic and Manual Updates from NoMachine Repositories
Configurations
2. Disabling or Enabling the Automatic Check for Updates
2.1. From the Server GUI
2.2. From the Client GUI
2.3. In the Server Configuration File
3. How to Check for Updates
3.1. Setting Frequency of Automatic Checks
3.2. Checking Manually


Introduction
1. Automatic and Manual Updates from NoMachine Repositories

NoMachine client and server side software has the automatic check for updates enabled by default. This means that the program will periodically check our repositories to verify if updates have been released. In this case, it will prompt a dialog informing that a new version is available. NoMachine may download updates in background in accordance with the fetch of repositories, but the current installation will never be updated automatically. The installation of software updates must be always approved.

Automatic updates require that the client or server host has access to the NoMachine Update Server on TCP port 4000. This port value cannot be changed. If port 4000 is not open in the router or firewall, automatic updates are not possible and the installation has to be upgraded by means of NoMachine packages.



2. Disabling or Enabling the Automatic Check for Updates

Checking for updates can be disabled/enabled at any moment and can be also performed manually.



2.1. From the Server GUI

Launch the server GUI: right click on the !M icon in the system tray and select 'Show the service status'. Click on the 'Updates' tab to open the panel.

Unselect the 'Automatic check for updates' option if you want to disable it.

If 'Automatic check for updates' is enabled, you can select to 'Install updates in background'. This means that software updates will be downloaded but not installed. Your approval is necessary to install them.

Disabling/enabling the automatic updates requires to authenticate with an account having administrator's privileges.



2.2. From the Client GUI

Launch the client GUI from the Application or Programs menu. Click on 'Settings' and open the 'Updates' panel. As for the server's Updates panel, you can manage the 'Automatic check for updates' and 'Install updates in background' option.

Enabling/disabling automatic updates in the client doesn't require administrator's privileges.



2.3. In the Server Configuration File

In case of a NoMachine server installation or the Terminal Server Node, the automatic check for updates can be disabled also via configuration file.

To disable it, edit the server.cfg file in the NoMachineInstallationDirectory/etc directory, uncomment and set the following key to '0':
UpdateFrequency 0

Then restart NoMachine:

nxserver --restart


3. How to Check for Updates

NoMachine programs check our repositories every two days to verify if updates are available, the periodic interval is configurable for server side software. It's also possible to launch a check manually via GUI.



3.1. Setting Frequency of Automatic Checks

In case of a NoMachine server installation or the Terminal Server Node, it's possible to change the periodic interval for automatic checks.

To do that, edit the server.cfg file in the NoMachineInstallationDirectory/etc directory, uncomment and set a different value for this key (frequency is in seconds):
UpdateFrequency 172800

Then restart NoMachine:

nxserver --restart


3.2. Checking Manually

It's always possible to check for updates on our repositories, even when the automatic check is disabled. To do that, access the 'Updates' panel in the server or client GUI and click on the 'Check now' button.