[solved ]'postgresql' feature is not enabled

Hey,
First message here. I’m trying to run the 1.17-alpine image on my Synology NAS (x64). As I’ve read the official image is now multidb compliant, I took it to store the data on my postgres instance.

When I run the container, I get this in the log:

DATABASE_URL is a PostgreSQL URL, but the ‘postgresql’ feature is not enabled

So, what should I do? Because the Using the PostgreSQL Backend doesn’t described how to enable the Postgres backend AFAIK.

Thanks.

Just use a postgresql link like this.

It will automatically use postgresql.

Ok thanks. But read carefully the error message. It correctly detects it’s a Postgres URL. And the URL is exactly copied/pasted from the documentation, so I assume it’s correct.

The error message says “Postgresql feature is not enabled”.

But maybe the problem is the way I set the DATABASE_URL variable. I didn’t change the settings file, I just passed an environment variable in my docker run command, like this:

docker run -d --name blabla ... -e DATABASE_URL='postgresql://bitwarden:blablabla@myip:myport/bitwarden'

Could this be the problem?

Ah sorry, i just see that you are using the alpine image. For that we do not have postgresql enabled yet. Best is to use the non alpine version for now

1 Like

Perfect, thanks a lot.