Update a Server

[!TIP] Self-hosted Server Release Lag Self-hosted server releases lag several days behind cloud server releases. Please note that the System Administrator Portal may report an available update before it is available for self-hosted servers.

Additionally, please review Bitwarden software release support documentation.

It is critically important to keep your self-hosted Bitwarden instance up to date. Updates may include fixes that are important for the security of your Bitwarden instance, including patches to any vulnerabilities. Data stored in your Bitwarden vault, including passwords, should be considered critical data and therefore protected with up-to-date software.

Additionally, newer versions of client applications may not support older versions of your self-hosted instance.

You can subscribe to email notifications for self-hosted server releases by navigating to this repository and selecting Watch → Custom → Releases.

[!NOTE] We highly recommend backing up your data before updating your self-hosted instance. For more information, see Backup your Hosted Data.

Update Docker

Update standard deployment

If you're running a standard installation, update your Bitwarden instance using the same Bash (Linux or macOS) or PowerShell (Windows) script (bitwarden.sh) used to install Bitwarden. Run the following sequence of commands:

🐧 🍎 Bash

./bitwarden.sh updateself
./bitwarden.sh update

🪟 PowerShell

.\bitwarden.ps1 -updateself
.\bitwarden.ps1 -update

Update offline deployment

If you're running a manually-installed or an offline Linux or offline Windows installation, follow the procedures in the linked articles.

Your Bitwarden installation should now be fully up to date and running.

Update Helm

If you are running a Helm installation, use the following steps to update your deployment:

  1. Before updating your Helm deployment, pull the latest Bitwarden Helm chart:
helm repo update
  1. Check for changes in the latest version of the chart. Perform a diff between the new-defaults.yaml and your my-values.yaml. Copy-over any updates to your my-values.yaml before proceeding.
helm show values bitwarden/self-host --version <new-version-number> > new-defaults.yaml
  1. Next, update your Bitwarden installation using your my-values.yaml file:
helm upgrade bitwarden bitwarden/self-host --namespace bitwarden --values my-values.yaml