mirror of
https://github.com/coder/coder.git
synced 2025-07-23 21:32:07 +00:00
docs: add psql URL for built-in db and repair workspace CLI (#4864)
This commit is contained in:
@ -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
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user