Coder.com

C

Coder.com

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

Join

Traefik and Apache2 in Code-server

Dear Developers, I am new. Currently I am developing coder-server for the team. I refer to the coder-server setup from docker-compose at https://github.com/coder/coder/blob/main/docker-compose.yaml. In the above setup, apache2 is used. Could I replace apche2 with Traefik? Or use both together? Regards,...

Unhealthy Instance

I am using the https://github.com/uwu/basic-env template. When I create an inatnce it gets created but at the end it takes long time to load and says unhealthy agent. So I tried with docker template and had the same issues....

Fresh instance on Pi 400 using install script (non root). Tried to create new Docker template.

Error: Error pinging Docker server: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied on main.tf line 19, in provider "docker": 19: provider "docker" {...

Examples and applications of PostgreSQL in coder-server

Dear Developers, I am new. Currently I am developing coder-server for the team. I refer to the coder-server setup from docker-compose at https://github.com/coder/coder/blob/main/docker-compose.yaml. Can you share with me about PostgreSQL working, saving and protecting my data? Currently, Coder requires access to an external PostgreSQL database to store user data, workspace state, template files, etc but I want to use PostgreSQL on my Lab PC. Could you share some guidelines/Ideals with me on how to set it up Best regards,...
Solution:
You can set CODER_PG_CONNECRION_URL to the connection url of any postgress database. It can be anywhere. For best performance it should be as close to Coder as possible. Recommended latency is less than 15ms....

how to install docker in aws ec2 (devcontainer) template?

after I created a new workspace based on the default aws ec2 (devcontainer) template, in the vscode > terminal , I tried the following command to install docker, but I could not find my password for coder, pls help $sudo apt install docker [sudo] password for coder...

aks questions - enterprise version

Has anyone used azure blob storage with code-server workspaces, three use cases 1. as an alternative to the default which is disk 2. as a shared read only for large files like the trivy dB in an air gapped environment...

Correct way to pre-install extensions for Coder K8s workspaces?

Hi all, I have tried a couple things to get extensions working but have not been successful: 1. I've tried the code-server docs instructions where I just install them outright after installing the server into the base image https://coder.com/docs/ides/web-ides#code-server 2. I've tried using the use_cached_extensions argument but I can't get the extensions to cache somewhere that isn't the home directory. Basically it seems like when the workspace is created the extensions that were installed to /home/coder/.local/share/code-server/extensions (and CachedExtensionVSIXs etc.) get wiped. Is there a way to keep them when the workspace is created? The workspaces are created in an environment with no access to any extension marketplaces/registries....

Application error: Cannot read properties of undefined (reading 'id')

One of my workspaces shows an error when I try to open its page from the list insice coder. The error is: ```...

coder - server expired

#help . Hi all, I have question when I set up coder - server. I refer from https://github.com/coder/coder/blob/main/examples/web-server/apache to setup my demo. But server down after since of time . Could you share me some Idea to fix it? Best regards, Ben.Ng...

different shell path

I own a different shell path in my system and I can’t normally install staff (node and etc (maximum what’s I find is a 18.x node js). It’s isn’t /bin/sh. What’s do ? (Also I can’t create link to folder)...

Coder server has no extensions gallery

Hi! I just installed coder today to try to use it, only to find extensions don’t seem to work? Connection from: Chromebook, chrome Connecting to:...

I'm trying to setup coder with the aws template, stucked with external auth(github)

I deployed coder on aws ec2 by using aws template, it's up and running, now I want to be able to create workspace from github repo, I tried to setup the external auth, it's not very clear, like where exactly put the config, the env, if I can get a example main.tf file would be really help, and right now I configured as the screenshot, when I click build, it shows: Error during the build external auth provider "primary-github" is not configured how to solve this, I setted up github app, and installed, will this be all? Thank you....
No description

The difference between installing coder server using the command line and using Docker.

Dear all, I have some question. Sequence 1 : When I use command line to install coder in Ubuntu PC , I have Web (refer 1st image) .it is running in localhost : 127.0.0.1:3000 but I can't find the folder setup . And I want to publicize it for my team ( I have created DNS , installed apache2 ). Could you share with me some ideas using apache2 without using Cloudflare, nghix ,ect... Sequence 2: When I stucking in Sequence 1, I install coder server by Docker ...
No description

Got permission denied while trying to connect to the Docker daemon

When trying to create an docker container template i always get this error: ``` Error: Error pinging Docker server: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied on main.tf line 19, in provider "docker":...

What do "Last Used" icon colors indicate

I don't see any difference between instances that have an orange icon and ones that have a gray icon. I'm assuming this is indicating how the workspace was stopped, but which color means what?
No description

Coder docker container works on N4 Google Compute instance but no longer C4

Hello, I have been using coder a ton lately and it's been amazing! I have been using the C4 instance for a few weeks, then recently (within the last few days) used N4 instead. In that time, it appears coder's docker template has become incompatible. To reproduce: 1. Create c4-standard-8 machine 2. Run the following commands...

Cannot create docker template

I have a fresh install of ubuntu 24.04 running with docker. I ran the inital curl command and ran coder server, then went to the url that it specified. I created a account and can access the website fine. I then try to use the docker template, I used all the default info and tried to specify my own info, yet it simply keeps loading. I get this ```...

Coder pod count explodes

When coder runs the pod count explodes and most get evicted immediately, how do I resolve this?
No description

multi-attach error

Running coder on aws / k8s we see the following error : Multi-Attach error for volume "pvc-0ec5004f-842d-4e5f-ad63-c608c21c2455" Volume is already exclusively attached to one node and can't be attached to another Any ideas why that would happen?...