diff --git a/docs/admin/configure.md b/docs/admin/configure.md index 46de50192b448..9acf0ad9433fa 100644 --- a/docs/admin/configure.md +++ b/docs/admin/configure.md @@ -37,6 +37,14 @@ downloaded from Maven (https://repo1.maven.org/maven2) and store all data in the > Postgres 13 is the minimum supported version. +If you are using the built-in PostgreSQL deployment and need to use `psql` (aka +the PostgreSQL interactive terminal), output the connection URL with the following command: + +```console +$ coder server postgres-builtin-url +$ psql "postgres://coder@localhost:49627/coder?sslmode=disable&password=feU...yI1" +``` + ## System packages If you've installed Coder via a [system package](../install/packages.md) Coder, you can diff --git a/docs/workspaces.md b/docs/workspaces.md index 2aef3a4d54a68..8aa0fdfb6c8af 100644 --- a/docs/workspaces.md +++ b/docs/workspaces.md @@ -70,6 +70,16 @@ The workspace will be stopped and started: coder update ``` +## Repairing workspaces + +Use the following command to re-enter template input +variables in an existing workspace. This command is useful when a workspace fails +to build because its state is out of sync with the template. + +```console +coder update --always-prompt +``` + ## Logging Coder stores macOS and Linux logs at the following locations: