Updating sovereign executors
WARNING
Updating to executor 5.12 or later is mandatory to use the data security settings introduced in that release, in addition to updating the executor agent. Download the updated executor release using the standard installation workflow.
How you update a sovereign executor depends on whether you installed additional extensions on it:
- If you didn't install additional extensions, reinstall the executor and the agent.
- If you installed additional extensions, update the executor with the update script. This keeps and updates the extensions that you installed.
Updating an executor without additional extensions
Before updating the executor and executor agent, navigate to the sovereign executor installation directory. Rename the knime folder (which contains the executor) and the knime-agent binary to keep the previous installation available.
Before starting the replacement executor, restore any installation customizations from the renamed folder:
- Reapply custom
knime.iniarguments to the new file instead of replacing it, including any Kerberos profile settings - Restore permanent Python environment folders to their original paths under
knime/bundling/, including hidden files, and apply the required ownership and read-only permissions
Keep the renamed folder until you have verified that workflows using these customizations run successfully.
Update the executor and executor agent by following the same steps as for Setting up sovereign executors. The commands download the latest available version by default.
Re-registration is not required: the updated agent automatically detects and loads the existing configuration.
After you confirm that the system runs as expected, remove the renamed knime folder and the knime-agent binary.
Updating an executor with additional extensions
A new installation doesn't contain the extensions that you installed yourself. To keep them, update the executor in place and replace only the agent:
Stop the agent, or the agent service if you configured one. The executor must restart for the update to take effect.
To stop the agent service on Linux:
shellsudo systemctl stop knime-agentTo stop the agent service on Windows, run the following command from the sovereign executor installation directory:
powershell.\knime\nssm stop KNIMEAgentIn the executor installation folder, run
update-executor.shon Linux orupdate-executor.baton Windows. The script updates the executor and its installed extensions. For the command syntax, see Update the executor and installed extensions. To upgrade to a new feature release, replace5.13in the example update-site URLs with the target release and include compatible update sites for all installed extensions.In the sovereign executor installation directory, rename knime-agent on Linux or knime-agent.exe on Windows to keep the previous version available.
Download and extract the latest executor agent, as described in step 2 of the installation steps for Linux or Windows.
Start the agent, or the agent service if you configured one.
To start the agent service on Linux:
shellsudo systemctl start knime-agentTo start the agent service on Windows, run the following command from the sovereign executor installation directory:
powershell.\knime\nssm start KNIMEAgent
Re-registration is not required: the updated agent automatically detects and loads the existing configuration.
After you confirm that the system runs as expected, remove the renamed knime-agent binary.