nVitius
nVitius
CCoder.com
Created by nVitius on 11/9/2024 in #help
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.
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.
12 replies