tsa
tsa
CCoder.com
Created by tsa on 10/3/2024 in #help
Clicking 'Restart' on Unhealthy Coder Agent Stops Workspace Instead of Restarting
When the 'Restart' button is clicked while the Coder agent is marked as unhealthy, the workspace is stopped instead of restarting as expected.
7 replies
CCoder.com
Created by tsa on 10/2/2024 in #help
Can't delete a workspace which uses devcontainers
I created a new workspace using Docker DevContainers, but I'm unable to delete the workspace. It's throwing an error that says: Error: Unable to remove Docker image: Error response from daemon: conflict: unable to remove repository reference "ghcr.io/coder/envbuilder:latest" (must force) - container d5711f770661 is using its referenced image 6d1d6302ce48.
7 replies
CCoder.com
Created by tsa on 10/2/2024 in #help
I am trying to setup Git Auth with Coder Envbuilder
I'm trying to set up GitHub authentication with Coder's Envbuilder, but I'm a bit lost when it comes to configuring Terraform. Here's what I've done so far:
I briefly looked at the .tf file and placed the coder_external_auth block below the coder_workspace_owner.
data "coder_workspace_owner" "me" {}

data "coder_external_auth" "github" {
id = "github"
}
data "coder_workspace_owner" "me" {}

data "coder_external_auth" "github" {
id = "github"
}
I then added this:
locals {
envbuilder_env = {
# ENVBUILDER_GIT_URL and ENVBUILDER_CACHE_REPO will be overridden by the provider
# if the cache repo is enabled.
"ENVBUILDER_GIT_USERNAME" : data.coder_external_auth.github.access_token,
"ENVBUILDER_GIT_URL" : local.repo_url,
}
# ...
}
locals {
envbuilder_env = {
# ENVBUILDER_GIT_URL and ENVBUILDER_CACHE_REPO will be overridden by the provider
# if the cache repo is enabled.
"ENVBUILDER_GIT_USERNAME" : data.coder_external_auth.github.access_token,
"ENVBUILDER_GIT_URL" : local.repo_url,
}
# ...
}
before ENVBUILDER_GIT_URL. Thanks in advance for your help!
43 replies
CCoder.com
Created by tsa on 8/8/2024 in #help
Coder Unhealthy: Websocket Error
I'm getting this error EWS01: websocket dial: failed to WebSocket dial: expected handshake response status code 101 but got 530 in the health tab of coder, after updating to coder v2.14.1
4 replies
CCoder.com
Created by tsa on 5/20/2024 in #help
Can't start built-in postgres
I'm getting an error saying that i can't start postgres when i try to start coder
20 replies