Skip to content
Discussion options

You must be logged in to vote

The order of commands is off. First create the vaultwarden user, then create the db. Create the database as follows:

CREATE DATABASE vaultwarden WITH OWNER = vaultwarden;

Postgres has changed how the public schema is handled (in version 15 or 16). Unfortunately schema handling in poatgres was always a bit strange. If you connect with a user to postgres and create a table without a schema, this table is automatically put into the public schema. e.g. I would have expected that such a table is created under the schema of the user (same name as the user). Well, not so in Postgres.

Anyway I believe I had a similar issue with another server app and the above fixed my problem back then. Maybe i…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@NxckyBear
Comment options

@stefan0xC
Comment options

@NxckyBear
Comment options

@tessus
Comment options

Answer selected by NxckyBear
@NxckyBear
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants