Upgrading
Upgrade instructions for Keeper Connection Manager
Upgrading from 2.20.0
From the Linux command line, update to the latest installer script using the curl command.
curl -O https://keepersecurity.com/kcm/kcm-setup.runTo update all of the underlying software and Docker containers when using the Docker Automated Install method, run the below commands:
sudo ./kcm-setup.run stop
sudo ./kcm-setup.run upgradeSelect "Y" when prompted.
Upgrading from 2.19.3 or Older
If you are migrating from a KCM version 2.19.3 or older, there is a breaking change with Remote Browser Isolation (RBI) documented below.
Required Action: Download the latest version of the kcm-setup.run script:
curl -O https://keepersecurity.com/kcm/kcm-setup.runOption 1: Add the AppArmor profile automatically using kcm-setup.run
kcm-setup.runIf you have not modified your own docker-compose.yml since installing KCM, you can apply these changes automatically by:
Downloading the latest copy of
kcm-setup.runfrom Keeper Security.Running
sudo ./kcm-setup.run upgradeto upgrade to the latest release.Running
sudo ./kcm-setup.run reconfigureto regeneratedocker-compose.yml.
Option 2: Adding the AppArmor profile to a modified docker-compose.yml
docker-compose.ymlIf you have modified your own docker-compose.yml, these changes require some manual editing of docker-compose.yml to point the “guacd” container at the new profile:
Downloading the latest copy of
kcm-setup.runfrom Keeper Security.Running
sudo ./kcm-setup.run upgradeto upgrade to the latest release.Editing
/etc/kcm-setup/docker-compose.yml, adding an additional"apparmor:..."option to thesecurity_optsection of the “guacd” container such that the section now matches the following:
security_opt:
- "seccomp:/etc/kcm-setup/guacd-docker-seccomp.json"
- "apparmor:guacd-apparmor-profile"Running
sudo ./kcm-setup.run applyto apply these latest changes fromdocker-compose.yml.
Manually extracting the AppArmor profile
Only if necessary, the AppArmor profile is bundled in a standard location and can be extracted from the Docker image:
sudo docker run --rm --entrypoint=/bin/cat keeper/guacd /opt/keeper/share/guacd/guacd-apparmor-profile > guacd-apparmor-profileThe profile should then be copied beneath /etc/apparmor.d so that it is automatically loaded on boot:
sudo cp guacd-apparmor-profile /etc/apparmor.d/The new profile can then be loaded either by rebooting or by manually running apparmor_parser:
sudo apparmor_parser -r /etc/apparmor.d/guacd-apparmor-profileImportant notice regarding Ubuntu Docker Installations
Do not use the docker.io package provided by Ubuntu. Testing has suggested that this older Docker package may not function correctly with AppArmor profiles. Containers have been observed to not correctly resume using the configured AppArmor profile after a reboot.
Instead, use the official Docker packages provided by Docker themselves: https://docs.docker.com/engine/install/ubuntu/
As long as Docker isn’t already installed, kcm-setup.run will install the official Docker packages automatically. This can be an easy method to both install KCM and the proper version of Docker.
Last updated
Was this helpful?

