Can't start built-in postgres
I'm getting an error saying that i can't start postgres when i try to start coder
15 Replies
<#1242065583269482526>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
From https://discord.com/channels/747933592273027093/1242005685169029141/1242065417732620289
@TWA could you run the command that's inbetween quotation marks manually?
yeah that one
but you might want to run
/home/anirudh/.config/coderv2/postgres/bin/bin/pg_ctl start -w -D /home/anirudh/.config/coderv2/postgres/data -o -p 33597
firstyup
can you check if the postgres data folder and the pwfile exists ?
maybe try to create that data folder and retry
try moving the postgres folder like so
mv /home/anirudh/.config/coderv2/postgres /home/anirudh/.config/coderv2/postgres.old
and try to start coder server
sorry for the ping, i tried the above but it still didn't work
no worries
you should open up a GH issue over @ https://github.com/coder/coder with all the info since this is a bug
GitHub
GitHub - coder/coder: Provision remote development environments via...
Provision remote development environments via Terraform - coder/coder
the Coder team checks GH issues more for this type of stuff
Please link the GH issue here so that we can close this thread.