Coder.comC
Coder.com15mo ago
12 replies
nVitius

Coder on Windows

Running
coder server
on Windows results in Postgres errors:
2024-11-09 20:58:52.203 [erro]  coderd.dbrollup: failed to rollup data ...
    error= execute transaction:
               github.com/coder/coder/v2/coderd/database.(*sqlQuerier).runTx
                   /home/runner/work/coder/coder/coderd/database/db.go:214
             - pq: character with byte sequence 0xce 0xbc in encoding "UTF8" has no equivalent in encoding "WIN1252"
failed to sync sloghuman: sync /dev/stderr: The handle is invalid.


Researching it online, it looks like the postgres db encoding is set incorrectly.

Not sure how to connect to the instance in order to change it.
Was this page helpful?