Upgrading
Upgrading Self-Managed Keeper with the Auto Docker Install method
Read Before Upgrading to New Version of SMK
Upgrading Self-Managed Keeper is a planned-downtime operation, not an in-place update. You prepare a separate, clean target installation, import a verified backup from your current installation into it, validate the result, then switch inbound traffic over to it. Your original installation stays protected and available, and you can switch back to it until you authorize writes on the new installation.
Update Instructions
(1) Prepare the new bundle as a separate, unstarted installation
Extract the new bundle version provided by Keeper into its own directory, separate from your current installation. From that new directory, run:
./smk --instance <new-instance> install --no-startThis prepares the new version without touching your current, running installation. A named instance needs its own bind address (SMK_BIND_ADDRESS) so it does not conflict with the current installation.
(2) Run the guided administrator wizard
For the normal interactive workflow, run this from the new bundle's directory:
./smk wizardChoose Upgrade at the prompt. The same menu also offers Backup and Restore directly, and you can jump straight to any one of the three with ./smk backup wizard, ./smk restore wizard, or ./smk upgrade wizard.
The wizard shows the selected source and target installation, the Backup it will use, and the public-instance context before doing any protected work. If you don't already have a current backup, it offers to create one from your running installation first. It then imports that backup into the new installation, validates the result, and only switches public traffic over to it after you confirm. Active sessions can end during the switch.
(3) Verify before enabling writes and accepting
After the switch, the new installation stays read-only until you authorize writes. Switching back to the original installation is possible only up to this point. After you authorize writes, sign in to the Vault and Admin Console with an existing account, confirm a record decrypts correctly, and, if the PAM routing tier is enabled, confirm a PAM session actually connects. Only then accept the upgrade through the wizard.
Rollback protection
Your original installation is never removed by the upgrade, so an interrupted or failed upgrade does not take your deployment offline. Keep the original installation and the backup until you're satisfied with the new one. Check:
and follow the recovery action each one reports, rather than deleting anything or retrying blindly. See Troubleshooting if you need further help.
Last updated

