Update your Instance
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.
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:
Your Bitwarden installation should now be fully up to date and running.
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:
In the above example,
updatebw.sh is a script you must save manually that contains: