docs: add psql URL for built-in db and repair workspace CLI (#4864)

This commit is contained in:
sharkymark
2022-11-02 18:56:24 -05:00
committed by GitHub
parent f76e7b1dbd
commit 3fc3b9f89f
2 changed files with 18 additions and 0 deletions

View File

@ -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

View File

@ -70,6 +70,16 @@ The workspace will be stopped and started:
coder update <workspace-name>
```
## 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 <your workspace name> --always-prompt
```
## Logging
Coder stores macOS and Linux logs at the following locations: