Skip to content

database_unreachable

A deedglass command stopped with this code. It comes from the CLI, not the API.

CLI · exit 1 (a failure) or exit 2 (could not run, or a usage error)

The command printed one sentence that says what happened. With --json, the same sentence is error.message and this page is error.doc_url.

What it says, for example:

  • Can’t reach the database in DEEDGLASS_DATABASE_URL.

Run the command in the next line under the message, for example:

  • Check that Postgres is running and that migrations ran (deedglass migrate up).
  • Is Postgres running? Try make dev.

Add -v for more detail. If the message names a setting, Configuration explains it; deedglass doctor checks the whole setup.