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
Codercord
Codercord•2mo ago
<#1346886226422009907>
Category
Help needed
Product
Coder (v2)
Platform
Windows
Logs
Please post any relevant logs/error messages.
Phorcys
Phorcys•2mo ago
hey, are these the full logs?
Shawinder Jit Singh
Shawinder Jit SinghOP•2mo ago
this file has full logs
Phorcys
Phorcys•2mo ago
is your environment behind a proxy/vpn or something similar? does it have access to the internet?
Shawinder Jit Singh
Shawinder Jit SinghOP•2mo ago
yes it has internet connect , using discord from same laptop 😄
Phorcys
Phorcys•2mo ago
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 coder
Shawinder Jit Singh
Shawinder Jit SinghOP•2mo ago
can 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 that
Phorcys
Phorcys•2mo ago
the PATH is the environment variable that stores every folder where your system looks for binaries
Phorcys
Phorcys•2mo ago
No description
Phorcys
Phorcys•2mo ago
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 variable
Shawinder Jit Singh
Shawinder Jit SinghOP•2mo ago
now again got next error
Shawinder Jit Singh
Shawinder Jit SinghOP•2mo ago
when i try to create template for docker it says terraform version is newer than expected
Phorcys
Phorcys•2mo ago
oh yeah that makes sense, should be okay though have you downloaded the AMD64 (64bits) version?
Shawinder Jit Singh
Shawinder Jit SinghOP•2mo ago
yes i think that i downloaded
Phorcys
Phorcys•2mo ago
it seems you are running a 32bit version, could you check?
Shawinder Jit Singh
Shawinder Jit SinghOP•2mo ago
no i think i did 386 sure
Phorcys
Phorcys•2mo ago
yeah you should download the amd64 version and replace the current exe with that
Shawinder Jit Singh
Shawinder Jit SinghOP•2mo ago
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
Phorcys
Phorcys•2mo ago
hey, following up, have you figured it out?
Shawinder Jit Singh
Shawinder Jit SinghOP•2mo ago
yes it works now
Phorcys
Phorcys•2mo ago
good, what caused the issue?
Codercord
Codercord•2mo ago
@Phorcys closed the thread.

Did you find this page helpful?