Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support use of Postgresql as the backend DB #207

Open
rob-hills opened this issue Aug 28, 2022 · 1 comment
Open

Support use of Postgresql as the backend DB #207

rob-hills opened this issue Aug 28, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@rob-hills
Copy link

As far as I can tell, the YunoHost Vaultwarden app does not support Postgresql as the backend database.

During installation there is no option to specify the type of database storage.

If you follow the Vaultwarden Instructions for using Postgresql, when you start the Vaultwarden service after modifying the .env file to specify the Postgresql connection URL, it fails to start, giving the error message: `DATABASE_URL` is a PostgreSQL URL, but the 'postgresql' feature is not enabled

Researching this error indicates that Vaultwarden needs to be compiled with Postgresql support enabled for this to work.

Ideally the YunoHost App Installation process would give the user the choice between SQLite and Postgres, and modify the build process accordingly.

Alternatively, the build could include support for Postgresql and those users who wish to use it could follow the instructions I linked above.

@yalh76
Copy link
Member

yalh76 commented Sep 24, 2022

Now the package use the vaulwarden binaries extract from the docker image, it includes postgresl support

For the choice of the database during install, I'm not sure of that, It would increase complexity of the package and a lot of users don't know the difference between sqlite and postgresql

@Tagadda Tagadda added the enhancement New feature or request label Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants