-
Notifications
You must be signed in to change notification settings - Fork 888
Missing steps after installing via script #5564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm sorry you had a bad experience, but thanks for taking time to write this feedback and share it with us. I'm bringing it to the team and we will see what are the next steps to improve the experience. I would love to have you testing it again in a near future to validate the improvements if you are up to it. |
@BrunoQuaresma sure! Just ping me when it's updated. I think most of the issues I had could be avoided by a few changes in the docs:
And this is probably a bug, but coder is working anyway... I set both |
Btw, (in case anyone sees this before the docs are fixed), Here's a summary of what I had to do: Explanation: Coder runs by default binded to the port 3000 on localhost, so it won't answer to outside requests. So you have 2 options. Bind coder to the external IP on ports 80 or 443 (will require setting up certificates), or setup something like an Nginx proxy to forward requests to Coder (there are Let's Encrypt tools that could be very helpful here). To do the easiest one, after Coder is installed:
note: pick a folder to save the workspace templates and I think that's all for now. In the end, I was able to get Coder running but my vscode-docker workspace never finished booting up :/ Bummer. Honestly, I would love to pay you guys a (small) monthly fee to be able to use workspaces on demand. I only need it for Live Sharing when I'm teaching anyways and Gitpod hasn't been handling that well. Let me know when I can test the install again. Cheers! |
Hey @svallory - sorry you ran into trouble here. I've made some changes in #5626 which should clarify the main points around the default access URL. Feel free to take a look and leave comments, if I missed something. Listing all of the -- I think you've already figured this out with a lot of head-banging, but by default, Coder will listen on http://127.0.0.1 as well as on a public tunnel URL, which makes it reachable from external workspaces (e.g. containers, AWS VMs). I can totally see how --
We've added the "create template" experience in the UI in the next version, so you'll be able to set up templates without installing the CLI locally. --
You can do either, honestly, I changed the |
@svallory I ended up using Helm to deploy on Digital Ocean's managed k8s cluster. I found the helm chart much easier than trying to install Coder directly on a droplet: https://github.com/ElliotG/coder-oss-tf/tree/main/digitalocean-k8s |
Here is my experience so far...
journalctl -u coder.service -b
shows no message (btw, why do you ask users to run this after script completion?)systemctl
says it is activesystemctl status
shows:/home/coder/.config/coderv2
/home/coder/.config/coderv2
and the content ishttp://127.0.0.1:3000
(AHA!)https://sub.domain.com
(let's use80
instead of3000
), Started coder againhttp://127.0.0.1:3000
was back!CODER_ACCESS_URL
... no value setcoder server --help
shows two *_URL variables:$CODER_URL
in the docs so let's go with$CODER_ACCESS_URL
/etc/coder.d/coder.env
which has the variable I want \o/:443
and content ofurl
file is stillhttp://127.0.0.1:3000
coder login http://127.0.0.1:3000
YES!!!! I stopped to write this issue and I Goshh I really hope I don't have to come back here hahahaha
⚠ Do not edit this section. It is required for GitHub issue linking.
The text was updated successfully, but these errors were encountered: