Skip to main content
Skip table of contents

Updating Remote Agents from Seeq Server

This article explains how Seeq admins can use the Seeq UI to update remote agents' Seeq version.

Prerequisites

  1. The user must have access to the ‘Agents’ tab to perform remote agent updates.

  2. Remote agents must have the following configurations and Seeq must be restarted after changing this configuration.
    seeq config set Features/RemoteAgentUpdates/Enabled True
    seeq config set Installation/ServerType Agent
    seeq config set Installation/RunAsService True

  3. Remote Agents' versions previous to R56 should make sure that the Network/Hostname configuration parameter value is the same as the computer name of the remote agent.
    seeq config get Network
    Check if the value of Network/Hostname is the same as the machine name. If so, no further steps are needed.
    If not, execute the below commands.
    seeq config set Network/Hostname {machine name}
    The above command will modify the Network/Webserver/Url configuration too. Make sure to set it back to the original value (you can get it from the output of the previous command seeq config get Network)
    seeq config set Network/Webserver/Url {url_to_server}

  4. Firewall settings for the remote agent machine must allow HTTP access to the server.

Instructions

  1. Log in to the Seeq as an admin.

  2. From the hamburger menu at the top right of the page, click ‘Administration’.

  3. Select ‘Datasource Administration’ > ‘Agents’ from the list of options at the left of the page.

    image-20250916-180805.png
  4. On this page, you can see the provisioned Remote Agents as well as their status and version information.

  5. Remote Agent version update functionality is available for all remote agents which have Features/RemoteAgentUpdates/Enabled set to true. To update your agents, click the ‘Update Agents’ button at the top right of the page.

    image-20250916-181039.png
  6. The 'Update Agents' window will appear. This window lists all remote agents along with their version number and any in-progress update status reports. It also provides an overall status summary of how up-to-date your collection of agents is and provides the interface for initiating upgrades across all agents.

    image-20250916-184038.png
  7. The dropdown list on the ‘Update Agents’ window displays available Seeq Remote Agent versions that are more recent than your oldest installed version. Select the version you want to upgrade the agents to and then click the ‘Download’ button.

    image-20250916-184306.png
  8. At this point, the Seeq Server will begin downloading this version and then distributing it to your Remote Agents. The status messages will indicate when this download is in progress on your remote agents. You may wait for any downloads to complete before initiating the upgrade or your can click the ‘Update’ button to have the upgrades automatically start as soon as the downloads complete.

    image-20250916-184614.png
    1. Note that the Remote Agents will need to detect that new version Download and Update commands have been issued on the server and that this checking is performed periodically every 10 minutes by default. This can cause a delay between initiating an upgrade step and the process being reflected in the agent status.

    2. If you decide, after downloading a Remote Agent version, that you want to install a different version, you can click the ‘Update to different version instead’ link and select a new version to download.

  9. After clicking ‘Update’, the ‘Update Agents’ window will display the upgrade progress of your Remote Agents.

    image-20250916-185148.png
    1. Note: The ‘Updates Agents’ window can be closed while the upgrade is progress without interrupting it.

  10. The ‘Update Agents' window will update when all upgrades are complete.

    image-20250916-185233.png

 Troubleshooting

  1. Debugging tip: this method of updating the remote agents will install Seeq to a new “Installations” directory within the data folder (i.e. ProgramData\Seeq\Data\Installations\R5X.X.X)

  2. Remote agents send the status message to the server periodically which is logged in appserver.log on the server. Look for “agents/remote-updates/<agent_name>/directives” in appserver.log to find the communication sent by the remote agent to the server. No log found for an agent suggests that either there is a problem in the connection between RAU and server (could be this CRAB) or the update process is not running on the remote agent. Check the configurations suggested in the prerequisites. Seeq on the remote agent should be restarted after the configuration change.

  3. When Features/DatasourceManagement/Enabled is updated from command prompt or from Administration UI User needs manually refresh the browser page in order to see the Agents tab appeared/hidden.

  4. When Features/RemoteAgentUpdates/Enabled set to False on the Agent side and User requests to stage or upgrade agents via Administration - Agents UI Seeq would show a green banner with a confirmation text for the successful request placing. The confirmation is only relevant to the fact that the required setting is performed on the server-side and that it has started asking for staging/update through the API. On the Agent, staging or update won’t be performed unless the configuration parameter Features/RemoteAgentUpdates/Enabled is set to True.

  5. The automated upgrade feature is not preventing users from downgrading the Seeq version on agents' machines. And we do not recommend doing so.

  6. ERROR in version update status column with a tooltip message Please contact Seeq Support. Remote Agent Update Path conflict detected.
    Root Cause: This suggests that customer has moved global data directory. The path in <base_installation>/set-installation-path.bat file is not pointing to <data_folder>/installations.
    Resolution: Open seeq command promopt and run seeq install --data <data-folder> command to correct the path conflict. Example for <data-folder>: D:\ProgramData\Seeq\data

  7.  JVM Agent did not connect to the server after the update

    • RCA: CAcert files were missing in the new install directory

    • Resolution: Manually copy cert files in the <data-folder>/installations/<current-version>. We have a CRAB that may fix it.

  8. Agent did not restart with the new version and looped through a restart.

    • Investigation: Check remote-updates.log. Text ‘Restart to <version>’ is repeating. Compare the text/path in set-installation-path.bat in Seeq base folder with path of the data folder.

    • RCA: Customer had done a couple of manual configurations and tweaks leading to inconsistencies in Seeq config paths. We checked paths using seeq config get Install and a few of the values were referring to the folders in F:\ whereas only one (global data) was pointing to C:  Manual copy and paste of data folders can be the reason for the inconsistencies.

    • Resolution: Running the command seeq install --data should correct the paths. Else update set-installation-path.bat in base install of Seeq to point to the correct folder i.e. /seeq/data/installations/<new version folder>.

  9. Moving the data directory after a remote agent update isn't possible without resetting the base because the installation is actually running from within the data\installations folder already
    In that case, since you're already on the system and can make changes, a suggestion is to run the installer for the same version. That will reset the base version to the current version and allow the command to complete

  10. Remote agent update doesn't connect because of bad proxy settings. Root Cause: By default, the Proxy Auto-Configuration (PAC) script is resolved from the PAC_URL environment variable. If this is not provided, it tries to resolve the PAC URL using the OS settings. If nothing has been provided in the OS settings, the updater attempts to resolve the PAC URL using the WPAD protocol. To disable resolution via the WPAD protocol, set the configuration parameter Network/Http/WpadPacDiscoveryEnabled to False.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.