Facing error on `coder server` command
can someone help me to fix this
==> Logs will stream in below (press ctrl+c to gracefully exit):
2025-03-05 16:37:33.180 [info] provisionerd-desktop-pmnsjdm-2: terraform installation is taking longer than 15 seconds, still in progress prev_version=1.9.8 dir="C:\Users\abc\AppData\Local\coder\provisioner-2\tf" version=1.10.5
2025-03-05 16:37:33.180 [info] provisionerd-desktop-pmnsjdm-0: terraform installation is taking longer than 15 seconds, still in progress prev_version=1.9.8 dir="C:\Users\abc\AppData\Local\coder\provisioner-0\tf" version=1.10.5
2025-03-05 16:37:33.180 [info] provisionerd-desktop-pmnsjdm-1: terraform installation is taking longer than 15 seconds, still in progress prev_version=1.9.8 dir="C:\Users\abc\AppData\Local\coder\provisioner-1\tf" version=1.10.5
ERROR: Unexpected error, shutting down server: install terraform: install: context deadline exceeded
Shutting down API server...
Gracefully shut down API server
2025-03-05 16:37:48.199 [info] provisionerd-desktop-pmnsjdm-2: attempting graceful shutdown
2025-03-05 16:37:48.199 [info] provisionerd-desktop-pmnsjdm-0: attempting graceful shutdown
2025-03-05 16:37:48.199 [info] provisionerd-desktop-pmnsjdm-1: attempting graceful shutdown
2025-03-05 16:37:48.226 [info] provisionerd-desktop-pmnsjdm-1: gracefully shutdown
2025-03-05 16:37:48.226 [info] provisionerd-desktop-pmnsjdm-0: gracefully shutdown
2025-03-05 16:37:48.227 [info] provisionerd-desktop-pmnsjdm-2: gracefully shutdown
2025-03-05 16:37:48.228 [info] provisionerd-desktop-pmnsjdm-1: closing provisionerd
2025-03-05 16:37:48.231 [info] provisionerd-desktop-pmnsjdm-0: closing provisionerd
2025-03-05 16:37:48.232 [info] provisionerd-desktop-pmnsjdm-2: closing provisionerd
Waiting for WebSocket connections to close...
22 Replies
<#1346886226422009907>
Category
Help needed
Product
Coder (v2)
Platform
Windows
Logs
Please post any relevant logs/error messages.
hey, are these the full logs?
this file has full logs
is your environment behind a proxy/vpn or something similar? does it have access to the internet?
yes it has internet connect , using discord from same laptop 😄
try installing Terraform manually from https://developer.hashicorp.com/terraform/install#windows by unzipping the
terraform.exe
binary into a folder that is available in your PATH
then restart codercan u explain a bit your sentence -
the terraform.exe binary into a folder that is available in your PATH
which folder and which PATH , sorry i didnt get about thatthe
PATH
is the environment variable that stores every folder where your system looks for binaries
so you'll want to e.g create a
terraform
folder somewhere on your system and put the terraform.exe
binary inside of it, then add that folder's full path to the PATH
environment variablenow again got next error
when i try to create template for docker
it says terraform version is newer than expected
oh yeah that makes sense, should be okay though
have you downloaded the AMD64 (64bits) version?
yes i think that i downloaded
it seems you are running a 32bit version, could you check?
no i think i did 386
sure
yeah you should download the amd64 version and replace the current exe with that
ok
it works thanks @Phorcys
now pls guide me - how my other team mates work on coder remotely
@Phorcys now getting this error -
2025-03-06 03:11:55.966 [info] coderd.agentrpc.yamux.stdlib: [ERR] yamux: Failed to read header: failed to get reader: context canceled owner=user1 workspace_name=User1 agent_name=main request_id=4fde0438-1ffe-4644-a743-22886a2e3678
hey, following up, have you figured it out?
yes it works now
good, what caused the issue?
@Phorcys closed the thread.