Coder.com

C

Coder.com

Community server for Coder.com, an open-source platform for cloud development environments.

Join

help

📢︱announcements

Merging accounts

We originally deployed Coder on K8s using Keycloak as our OIDC. We have been tasked to migrate to using Entra ID as our OIDC. However, we've had users using Coder for over a year and our email domain is going to be different now that we migrate to Entra ID. Is there a feature or script that we can use to merge user accounts with the old and new email domain?

Reconnections to VSCode fail after upgrading

Hi there 😊 We were previously running Coder 2.20.2, and have upgraded to 2.22.1. Ever since this we have had some random disconnections throughout the week where VSCode won't automatically reconnect back and presents an error "Cannot reconnect. Please reload the window" - reloading here seems to fix things but previously if there was a disconnection Coder seemed to automatically reconnect. I'm able to reproduce this pretty easily by just reloading my VSCode window. The indicator shows I am directly connected to my machine, but my vscode terminal will only work for 15-30 seconds after a reload before the error appears again & I have to reconnect. Not 100% sure where I should be looking for logs but tailing coder agent logs shows my initial "reconnect" as a new connection (action:CONNECT). But then shortly later it seems like something is terminating the connection as it shows the ssh connection as complete & logs a disconnect (action:DISCONNECT)...
No description

Azure DevOps Entra

We have followed the documented guidance in terms of setting up the external provider and including it in our template. https://coder.com/docs/admin/external-auth ...

Get subdomain access url

Is there a var to get the generated subdomain access url? I need to add docker labels for traefik auto config. It was mentioned it looks like this: <app>--<agent>--<workspace>--<username>.example.com...
Solution:
Thanks, i just tried it without traefik auto config for workspaces, and it just worked 🤣

Docker version 17.12.0 or later required on remote host

I am using the default https://github.com/coder/coder/tree/main/examples/templates/aws-devcontainer but getting Docker version 17.12.0 or later required on remote host when trying to access from vscode. what's going on? related issue: https://github.com/microsoft/vscode-remote-release/issues/9105 but this does not get to the root cause nor does it solve my problem...

docker version of code-server does not actually create the file for the password

hey all. so i have been trying to set up code server and so far everything is going great. the only thing that bothers me is that i cannot get past the login screen. in the logs it tells me that its using password from /root/.config/code-server/config.yaml but there is no such file. my folders only go as far as /root/.config and there is no code-serverfolder. is there anyone who could help me with this issue?...

Can't clone Enterprise Server GitHub repo inside of workspace

Hello, I have setup external authentication to an Enterprise Server GitHub. I was successfully able to authenticate and clone the repo during the workspace creation using the git clone module. However, when I open the workspace (code-server) and try any git operations like git pull or git clone I still receive a username/password from from VSCode. ...

Envbuilder Fails to Clone Repo from (Microsoft Team Foundation Server) TFS

I am having an issue cloning a repo from TFS into my workspace. Because I can't clone the repo, envbuilder won't find my .devcontainer/ directory and the DockerFile and json config in there to build out the environment for the workspace. When using the docker run command, to test locally, I'm faced with the following errors: The base of my command: ```bash...

Trying to get Git Auth to work for orgs.

Hi all, Sorry for the basic question, but I'm trying to set up GitHub OAuth using the default Coder OAuth app (just for testing purposes) to allow others to join. I followed the instructions here: https://coder.com/docs/admin/users/github-auth#default-configuration ...

AWS ECS

Hi, is it possible to run the Coder application, provisioners and workspaces on AWS ECS. The documents appear to be relatively focused on ec2 and eks (kubenetes). We are evaluating at using coder on AWS ECS to reduce maintenance requirements....

GitOps

Anyone who has experience with managing templates in git?

Cant' build terraform images anymore

Hi there, Since the update to the terraform docker provider 3.5.0 I got this error: ``` Error: the --chmod option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled...
Solution:
Ok update: It seems I was able to fix this issue with these commands: ``` coder state pull <workspace> terraform.tfstate coder state push <workspace> terraform.tfstate...

Error: Failed to query available provider packages

Hello, I can't start any workspaces anymore. ``` Initializing the backend......

Blocking extensions for shared environment

We're currently running code-server in an HPC environment and would like to prevent users from installing specific extensions. Is there a way to do that? If so, how?
Solution:
It looks like having files.watcherExclude may be the thing that blocks extensions.allowed from working. Removed that and everything looks to be working now!

`2.23.0` not yet available with brew

Using either curl or brew upgrade coder does not get mainline 2.23.0 curl does initially show 2.23.0 but it's apparent that brew hasn't been updated with it, since it just says the previous release is the latest....

Whats a free AMI with nodejs on AWS to run the Claude module on?

I keep getting the error the npm is not installed when installing Claude. I am trying to run on AWS with ubuntu base image. Installing nodejs from the startup_script does not work causign a race condition. Are there any AWS AMI that are free with nodejs installed?...

Coder code-server port forwarding issue.

For some reason when I am forwading my development ports coder seems to inject some code into the dom that is causing some issues when I am trying to view my react development environment. I was lurking around to see if anyone else has had any issues similar but I don't see anything similar. I am using the docker deployed version of coder that is behind a reverse proxy. I my health checks are returning back ok access url, database, derp, provisioner, websockets, and workspace proxy. Not sure if there is something I have misconfigured....

Migrate from docker to k8s deployment

Hello, We are currently running our deployment using docker container and we would like to migrate it to a Kubernetes deployment. What data should we migrate to make it successful?...
Solution:
You only need a database backup that you can restore to the new deployment. If you are a customer you may need a license too if your existing license is tied to your deployment I'd....

SOC 2

Does anyone know how i could obtain a copy of the SOC 2 report? Thanks

Error running install scripts after deployment.

Workspace Template: Custom (based on deeplearning template https://github.com/matifali/coder-templates/tree/main/deeplearning) Issue : - Deployment failed for a workspace using my custom template derived from the standard deeplearning template. This issue started only today after restarting an existing deployment. Previously, new deployments and restarts worked without issues. - This workspace had been restarted as I want to mount another location in the user_data folder. After restarting, the workspace failed to install extension and unable to connect to coder-server on web. Terminal and VS Code Desktop work fine. Any new deploy/restart to the other workspace also failed in connecting to coder-server. - Maybe not related, but still worth mentioning: This workspace had been restarted repeatedly to resolve NVIDIA driver-related problems (note: this is a separate bug and also haven't found any thing to solve it). Normally after the restart, the workspace will be able to see the gpu again. The issue has been mention on these https://github.com/coder/coder/issues/4037 and these https://github.com/coder/coder/discussions/4038 but the solution cant seem to fix it. Help is appreciated....
No description