key :database not found.
Environment
- Installation type:
-
OTP -
From source
-
- Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE):
pleroma 2.0.5-stable
- Elixir version (
elixir -v
for from source installations, N/A for OTP): N/A - Operating system: Debian (Docker image)
- PostgreSQL version (
postgres -V
):psql (PostgreSQL) 11.7 (Debian 11.7-0+deb10u1)
Bug description
I'm trying to make a Docker image for Pleroma's OTP releases but this error comes up 5 times:
[error] GenServer #PID<0.208.0> terminating
** (RuntimeError) connect raised KeyError exception: key :database not found. The exception details are hidden, as they may contain sensitive data such as database credentials. You may set :show_sensitive_data_on_connection_error to true when starting your connection if you wish to see all of the details
(elixir) lib/keyword.ex:393: Keyword.fetch!/2
(postgrex) lib/postgrex/protocol.ex:92: Postgrex.Protocol.connect/1
(db_connection) lib/db_connection/connection.ex:69: DBConnection.Connection.connect/2
(connection) lib/connection.ex:622: Connection.enter_connect/5
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: nil
Postgres is running and nothing was logged since it started.