Self-hosting

Update your Instance

tip

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.

warning

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

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

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

PowerShell

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

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.

tip

We recommend creating a cronjob or scheduled task to run these update commands weekly, or even nightly, to keep your instance up to date. For example, the following cron job would check for an update every Sunday at 2:00 and turn off email output for the job:

Bash
0 2 * * 0 /opt/bitwarden/bwdata/scripts/updatebw.sh >/dev/null 2>&1

In the above example, updatebw.sh is a script you must save manually that contains:

Bash
#!/bin/bash ./bitwarden.sh updateself ./bitwarden.sh update

Make a suggestion to this page

Contact Our Support Team

For technical, billing, and product questions.

Name*
Bitwarden account email*
Verify account email*
Product*
Are you self-hosting?*
Subject*
Message...*

Cloud Status

Check status

© 2024 Bitwarden, Inc. Terms Privacy Cookie Settings Sitemap

This site is available in English.
Go to EnglishStay Here