bitwarden / server

Bitwarden infrastructure/backend (API, database, Docker, etc).
https://bitwarden.com
Other
15.16k stars 1.26k forks source link

Bitwarden unified self-host Issues #2480

Open justindbaur opened 1 year ago

justindbaur commented 1 year ago

Bitwarden unified community beta

We recently announced a beta offering of the Bitwarden unified self-host deployment option, a lighter and flexible method for self-hosting Bitwarden. You can read more about the offering here: https://bitwarden.com/help/install-and-deploy-unified-beta/.

Warning: This is a beta release, which means that this deployment option may be unstable and have issues. If you manage a Bitwarden organization vault, we recommend using the officially-supported, standard deployment option.

With Bitwarden unified, you can now self-host with 2 new database options, Postgres and MySQL. This was achieved by using Entity Framework Core providers with a new written Repository layer to support EF Core which can be found here. The team has done initial QA but the offering is still unstable at this time. If you are using one of these database options, please report any issues you discover. We will update this PR as new issues are discovered. Before reporting an issue, please review the below list to ensure it is not already known. New issues should be reporting using the Bitwarden unified issue template.

Known Issues

Helping

If you want to help fix these issues, we have written documentation for getting set up to develop Bitwarden against these new database options. Before developing, we recommend reading the Entity Framework Core documentation. We will also be requiring tests for any changes to the EF Repository layer because even though a query compiles and may even work against MySQL that is not a guarantee that it will work against Postgres. An example of that happening is #2459 where Postgres does not support using Min on boolean values while MySQL does. We also want to make sure that permissions work the same across all database options.

mattcen commented 1 year ago

we have written documentation

That link is a 404; I think it is supposed to point at https://contributing.bitwarden.com/getting-started/server/ef/ ?

djsmith85 commented 1 year ago

we have written documentation

That link is a 404; I think it is supposed to point at https://contributing.bitwarden.com/getting-started/server/ef/ ?

@mattcen: Thank you. I have updated the link.

coreyhines commented 1 year ago

It looks like the dev tag has been updated a few times and the version now reads 2023.1.1, is there any place to look for what is changing in the selfhosted :dev tag builds and what issues are addressed and should be tested? I am hoping to resolve the items not appearing in vault issue #2561 when using Organization (Families), but I am not sure if the issue has been pinpointed yet.

ghost commented 11 months ago

Please provide a Synology docker deployment tutorial. I have been unable to connect to the database when deploying on Synology Docker. The same configuration file can be run on the debian server.

GieltjE commented 9 months ago

Is it possible to get an update on the status? The original post hasn't been updated in a while it seems.

baek-sang commented 8 months ago

It's been a year since started beta testing, when is the official launch planned?

GieltjE commented 7 months ago

Kernel 6.7.x is incompatible with the mssql docker container (known bug), being able to move away from that proprietary stuff would be a good thing.

douglasparker commented 7 months ago

This beta has been going on for a really long time and it still seems like stability issues keep popping up and go unresolved.

Has development stagnated? Is there an ETA on when this will get fixed up and rolled out?

Looking at alternatives right now.