Coder.com

C

Coder.com

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

Join

help

📢︱announcements

britive integration

Has anyone worked with britive for cloud accounts. I am hoping to speed up the setup time for developers to authenticate with coder and then allow for workspace to require access to a specific cloud account via britive...

PATH getting overwritten

Hello, I am trying to setup a Rust dev container. I am using the official image but when I create a workspace it overwrites the PATH and removes /usr/local/cargo/bin from it. If I pull down the image locally, the PATH is as it should but not when using Coder

Envbuilder in Coder not using caches at all despite configuring CACHE_REPO

Hello, I am using coder with envbuilder but I seem to be getting 0 cache hits even when restarting the same workspace with 0 changes. I have configured CACHE_REPO to use an empty AWS ECR image repository and I see evbuilder successfully checking for caches and, supposedly, ``` #1: 📦 Cloned repository! [46.039909689s] #2: Deleting filesystem......

Stop all workspaces using cli

What is the recommended approach to stop all workspaces using coder cli?

How to apply enterprise license without making owner account first?

Hi all, I'm working on a deployment of Coder with Helm and am having trouble figuring out how to setup a license for a new deployment of Coder without needing to login and manually make an admin account first with the web UI. Is there documentation for how to do that?

expo go and code server

Hey all ! I managed to install npm and Node.js on my Docker container of Code Server, but when I run the command 'npm start,' I receive the following error message: Logs for your project will appear below. Press Ctrl+C to exit....

Error: No configuration files

I am new to terraform and coder. I am trying to use this template: https://github.com/coder/coder/tree/main/examples/templates/gcp-windows. I copied the folder and added the line default="projectId"...

Using the golang codersdk

I'd like to use the codersdk to write a simple program for updating my templates. However, when I try to import github.com/coder/coder/codersdk, I get the following error when building my program: ``` github.com/coder/coder/codersdk imports github.com/coder/coder/tailnet imports...

Has anyone encountered this problem before

api/v2/appearance return "API key or workspace agent token required, but none provided" I raised an issue here:https://github.com/coder/coder/issues/12557...
No description

Goroutine dump with Coder V2 on Fly.io

Hey all! I'm deploying Coder to Fly.io, with an external database, following this (https://coder.com/blog/remote-developer-environments-on-fly-io) guide. I'm getting a very long Goroutine dump, and it goes on for around ~40-50 lines....

when logging with entra id, I expect the coder’s name to be set as Display

Not sure if this is a bug or a config error. Currently when user login with Entra Id their “Name” in coder is blank. Even though their Microsoft profile has a Display name value.

does coder templates support a variable with a map of objects or strings?

When i have a lookup against a map of objects locally the terraform plan works fine. But when i do a “coder template push” it fails with an error saying an element in the map is not an object.

docker daemon

Hi, I am learning kubernetes and stuff around it and decided to deploy coder on my home server running microk8s. After like 5 hours, finally got it working with argocd (i am noob with helm yet) but when i try to create a docker template, it throws an error that it cannot connect to docker. any ideas?...

Accessing Self-Hosted Coder Server Through ZeroTier VPN

I have set up a self-hosted Coder server on our internal workstation server machines. Currently, we can access the workspaces through the tunnel https://<GUID>.pit-1.try.coder.app/. However, I would also like to access the Coder server through our ZeroTier VPN. ZeroTier is an encrypted, layer-2-stretch multipoint VPN with integrated firewalling capability. I believe it should be possible to access our self-hosted Coder server using the IP address provided by our ZeroTier network. However, after reading the Coder documentation (https://coder.com/docs/v2/latest/admin/configure), I'm unable to find the necessary information to configure this setup. Has anyone successfully set up a self-hosted Coder server to be accessible through a VPN? If so, could you please provide guidance on how to achieve this configuration?...

when auto running a “open in coder” the required git authentication is not triggered

When I do open in coder and prompt for the parameters. Then the required git authentication is checked and asks the user to login. Auto run skips this....

Cannot upgrade Heroku one click install

See screenshots. How do I fix the sudo problem?
No description

Cannot fix Heroku one click install misconfiguration.

Please see attached. How do I resolve the warnings from Coder. I did one click install. And I’m unsure how to change what they want.
Solution:
It was done a while ago. I will go through this next week to see if we need to update the method
No description

Adding custom nuget package source to template

Hey, I want to add a new nuget package source to my .NET8 template (following this: https://github.com/dotnet/dotnet-docker/blob/main/documentation/scenarios/nuget-credentials.md) but when I try to create a new file in my template, I get the following error (see picture). Is there a way that I can add a private nuget source securely to an image?
No description

What is the best way to keep installed system packages?

I use ubuntu as my base docker image. In a lot of workspaces I install additional system packages via apt. When I use codespaces and install packages there, they stay on even after a restart. What is the best way to keep them? One way would be to use the personalized file right? Any other/better way without user interference?...

Create default Admin user without UI

Looking for a bit of guidance, I am deploying Coder on a Kubernetes cluster with the Helm Chart, and wondered if there was an env variable that sets the default admin user credentials?
Solution:
Try with ```shell coder login \ --first-user-username coder-admin \ --first-user-email coder-admin@example.com ...