Skip to content

Permission denied trying to create a folder or clone a repo on Windows #16220

Closed
@subashc2023

Description

@subashc2023

I am following the quickstart guide

I was able to successfully install through the windows exe, and run it. It threw a few errors and warnings, but eventually I was able to create from Docker template, and build it.

I was able to connect with local vscode, and with the browser based code server, but trying to actually do anything, for example, install packages or ipykernel for jupyter, or even creating a directory or cloning a repo is impossible to do through the terminal/extension or through the terminal CLI or through the terminal in my local vscode through SSH. Here are my logs. Any thoughts on why this might be? Do I have to install it on Linux instead or something?

2025-01-22 06:24:00.489 [erro] coderd.dbrollup: failed to rollup data ...
error= execute transaction:
github.com/coder/coder/v2/coderd/database.(*sqlQuerier).runTx
/home/runner/work/coder/coder/coderd/database/db.go:214
- pq: character with byte sequence 0xce 0xbc in encoding "UTF8" has no equivalent in encoding "WIN1252"
failed to sync sloghuman: sync /dev/stderr: The handle is invalid.
2025-01-22 06:24:00.489 [info] coderd.servertailnet: obtained tailnet API v2+ client
Notifications are currently disabled as there are no configured delivery methods. See https://coder.com/docs/admin/monitoring/notifications#delivery-methods for more details.
2025-01-22 06:24:00.500 [info] provisionerd-desktop-6d9iivc-0: successfully connected to coderd
2025-01-22 06:24:00.500 [info] provisionerd-desktop-6d9iivc-1: successfully connected to coderd
2025-01-22 06:24:00.503 [info] dbpurge: purged old database entries duration=8.1307ms
2025-01-22 06:24:00.516 [warn] provisionerd-desktop-6d9iivc-0: no usable terraform binary found, downloading to cache dir terraform_version=1.9.8 cache_dir="C:\Users\meeet\AppData\Local\coder\provisioner-0\tf"
2025-01-22 06:24:00.516 [warn] provisionerd-desktop-6d9iivc-2: no usable terraform binary found, downloading to cache dir terraform_version=1.9.8 cache_dir="C:\Users\meeet\AppData\Local\coder\provisioner-2\tf"
2025-01-22 06:24:00.516 [warn] provisionerd-desktop-6d9iivc-1: no usable terraform binary found, downloading to cache dir terraform_version=1.9.8 cache_dir="C:\Users\meeet\AppData\Local\coder\provisioner-1\tf"
2025-01-22 06:24:00.548 [info] provisionerd-desktop-6d9iivc-2: successfully connected to coderd

Metadata

Metadata

Assignees

No one assigned

    Labels

    need-helpAssign this label prompts an engineer to check the issue. Only humans may set this.needs-triageIssue that require triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions