C
Coder.com•3y ago
nyxalis.

Just need some help as coder is failing to start.

I need some help setting up coder. It has been a long time since I have done this.
No description
23 Replies
Phorcys
Phorcys•3y ago
I'm gonna go to sleep but here's some tips
nyxalis.
nyxalis.OP•3y ago
it is the postgres
Phorcys
Phorcys•3y ago
1. postgres is not running, check with lsof -i :38859 2. you can use built-in postgres using a CLI flag, forgot which one it is yeh
nyxalis.
nyxalis.OP•3y ago
postgress not connecting
nyxalis.
nyxalis.OP•3y ago
No description
Phorcys
Phorcys•3y ago
do you intend to run a separate postgres server?
nyxalis.
nyxalis.OP•3y ago
no use default u should go to sleep gn
Phorcys
Phorcys•3y ago
yeh so you want to edit the service file, the one that ends with .service, probably something like /lib/systemd/system/coder.service, but you can get the real path from systemctl status coder
nyxalis.
nyxalis.OP•3y ago
ok
Phorcys
Phorcys•3y ago
you'll want to replace coder server with coder server postgres-builtin-serve
nyxalis.
nyxalis.OP•3y ago
ahh ok oops Am i right
nyxalis.
nyxalis.OP•3y ago
No description
Phorcys
Phorcys•3y ago
yeh
Geoff
Geoff•3y ago
@Snyder out of interested where are you installing coder onto? Is this a homelab scenario on a nas per chance. I've been pondering about creating packages for truenas/synology/umbrel to make it easier for folks.
nyxalis.
nyxalis.OP•3y ago
I am doing this in a vps U could create an app for truenas and synology as have a appstore
Geoff
Geoff•3y ago
re: truenas/synology yeah thats what have been pondering 🙂 Potentially put out a community swag bounty for it. Get folks with the knowledge to help with the original unit of work then Coder takes over maintenance.
nyxalis.
nyxalis.OP•3y ago
Smart Just wondering. Could you guys make something like gitppd for the next update. So when a users logins with githu b In a page it could show the repos And the users can pick and edit then push to the repo
Geoff
Geoff•3y ago
I joined Coder from Gitpod recently btw. Will be shipping a blog post shortly that goes into particulars. I think it would be possible to implement the GitHub Codespaces and Gitpod workflow of https://gitpod.io#https://github.com/org/repo or https://github.dev/org/repo pattern via devcontainer.
nyxalis.
nyxalis.OP•3y ago
Possibly
Geoff
Geoff•3y ago
Chewing over the possibilities but if done it would allow an easy way to open up any open-source project via the Coder control plane via a URL convention similar to above. That would be really rad.
nyxalis.
nyxalis.OP•3y ago
Yep Could it also be possible when users do they can PRs That would be neat
Geoff
Geoff•3y ago
I find myself hoping between pull-requests and doing reviews all the time so any type of porcelain over the top of "not having to run git clone && git checkout branch" is very appealing personally.
nyxalis.
nyxalis.OP•3y ago
Maybe like a button. When clicked it gives a promt and the user can fill it in. For e.g. the update they are pushing. Then the clicking the button could push it.

Did you find this page helpful?