[GH-ISSUE #853] Bitwarden HA setup problems #603

Closed
opened 2026-03-03 02:01:13 +03:00 by kerem · 4 comments
Owner

Originally created by @fr-ashvini on GitHub (Feb 6, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/853

Subject of the issue

Hi I have two bitwarden server connected to external database. Basically objective is to achieve high availability. So the issue was to replicate the databases, so cameup with an idea to share the efs volume among the database and put the databases in docker swarm network.

Your environment

  • Bitwarden_rs version:
  • Install method:
  • Clients used:
  • Reverse proxy and version:
  • Version of mysql/postgresql:
  • Other relevant information:

Steps to reproduce

Expected behaviour

Actual behaviour

Relevant logs

Originally created by @fr-ashvini on GitHub (Feb 6, 2020). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/853 <!-- Please fill out the following template to make solving your problem easier and faster for us. This is only a guideline. If you think that parts are unneccessary for your issue, feel free to remove them. Remember to hide/obfuscate personal and confidential information, such as names, global IP/DNS adresses and especially passwords, if neccessary. --> ### Subject of the issue <!-- Describe your issue here.--> Hi I have two bitwarden server connected to external database. Basically objective is to achieve high availability. So the issue was to replicate the databases, so cameup with an idea to share the efs volume among the database and put the databases in docker swarm network. ### Your environment <!-- The version number, obtained from the logs or the admin page --> * Bitwarden_rs version: <!-- How the server was installed: Docker image / package / built from source --> * Install method: * Clients used: <!-- if applicable --> * Reverse proxy and version: <!-- if applicable --> * Version of mysql/postgresql: <!-- if applicable --> * Other relevant information: ### Steps to reproduce <!-- Tell us how to reproduce this issue. What parameters did you set (differently from the defaults) and how did you start bitwarden_rs? --> ### Expected behaviour <!-- Tell us what should happen --> ### Actual behaviour <!-- Tell us what happens instead --> ### Relevant logs <!-- Share some logfiles, screenshots or output of relevant programs with us. -->
kerem closed this issue 2026-03-03 02:01:14 +03:00
Author
Owner

@fr-ashvini commented on GitHub (Feb 6, 2020):

command used is
docker service create -v /home/ec2-user/efs -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=password123" -p 1433:1433 --name sql1 -d mcr.microsoft.com/mssql/server:2019-GA-ubuntu-16.04

and then updatedb on bitwarden servers.

but its not as required.

<!-- gh-comment-id:582776062 --> @fr-ashvini commented on GitHub (Feb 6, 2020): command used is docker service create -v /home/ec2-user/efs -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=password123" -p 1433:1433 --name sql1 -d mcr.microsoft.com/mssql/server:2019-GA-ubuntu-16.04 and then updatedb on bitwarden servers. but its not as required.
Author
Owner

@mprasil commented on GitHub (Feb 6, 2020):

I'm kinda confused what documentation you follow. You're using mssql, which is not supported by bitwarden_rs and the is no updatedb command either.

Are you using the official bitwarden server? If yes, you need to ask for help there.

If you actually want to use bitwarden_rs, read the documentation here.

<!-- gh-comment-id:582782263 --> @mprasil commented on GitHub (Feb 6, 2020): I'm kinda confused what documentation you follow. You're using mssql, which is not supported by bitwarden_rs and the is no updatedb command either. Are you using the official bitwarden server? If yes, you need to ask for help there. If you actually want to use bitwarden_rs, read the [documentation here](https://github.com/dani-garcia/bitwarden_rs/wiki).
Author
Owner

@mprasil commented on GitHub (Feb 6, 2020):

Also please fill in the information about your environment in the issue template, that might clear some confusion.

<!-- gh-comment-id:582784276 --> @mprasil commented on GitHub (Feb 6, 2020): Also please fill in the information about your environment in the issue template, that might clear some confusion.
Author
Owner

@fr-ashvini commented on GitHub (Feb 10, 2020):

Hi Thanks for reply.
Iam using Offical Bitwarden server. Thank you for your time.

<!-- gh-comment-id:583918155 --> @fr-ashvini commented on GitHub (Feb 10, 2020): Hi Thanks for reply. Iam using Offical Bitwarden server. Thank you for your time.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#603
No description provided.