Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

I get an error when starting the workspace:Error: Failed to install provider. Why is that?#15760

Unanswered
Discussion options

Initializing the backend...
Initializing provider plugins...

You must be logged in to vote

Replies: 3 comments 2 replies

Comment options

It sounds liketerraform is unable to create a temporary directory to download the providers into.

Fromhttps://stackoverflow.com/questions/74696348/terraform-init-error-failed-to-open-temporary-file-with-direnv

Terraform (and any go program that callsos.TempDir("", …) oros.MkdirTemp("", …), orioutil.TempFile("", …), orioutil.TempDir("", …)) creates files in the directory returned byos.TempDir(), which is the value of the environment variable$TMPDIR.$TMPDIR must exist first, or else those functions give an error.

Can you verify thatcoder server (and it's provisioners) has permission to create directories in$TMPDIR?

You must be logged in to vote
0 replies
Comment options

It sounds liketerraform is unable to create a temporary directory to download the providers into.

Fromhttps://stackoverflow.com/questions/74696348/terraform-init-error-failed-to-open-temporary-file-with-direnv

Terraform (and any go program that callsos.TempDir("", …) oros.MkdirTemp("", …), orioutil.TempFile("", …), orioutil.TempDir("", …)) creates files in the directory returned byos.TempDir(), which is the value of the environment variable$TMPDIR.$TMPDIR must exist first, or else those functions give an error.

Can you verify thatcoder server (and it's provisioners) has permission to create directories in$TMPDIR?

Hi!
I've seen my $TMPDIR, and the permissions are given to drwxrwxrwt
It used to be possible to build a workspace, but recently it has suddenly stopped working, even for worksapce.

You must be logged in to vote
0 replies
Comment options

@yangxup can you manually accesshttps://github.com/coder/terraform-provider-coder/releases/download/v0.7.0/terraform-provider-coder_0.7.0_linux_amd64.zip from your network?
It could be an issue where your machine is not bale to access Github.

You must be logged in to vote
2 replies
@simRay56
Comment options

@matifali My network has access to github, I tried to download these packages to the specified folder on the server, but the build template still gave an error.

@matifali
Comment options

@yangxup are you still stuck on this? Is this consistently reproducible?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
3 participants
@simRay56@matifali@ethanndickson
Converted from issue

This discussion was converted from issue #15739 on December 05, 2024 09:03.


[8]ページ先頭

©2009-2025 Movatter.jp