Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vagrant Box Add fails on windows #110

Closed
kheiligh opened this issue Nov 7, 2017 · 7 comments
Closed

Vagrant Box Add fails on windows #110

kheiligh opened this issue Nov 7, 2017 · 7 comments

Comments

@kheiligh
Copy link

kheiligh commented Nov 7, 2017

I've gotten the same problem with Vagrant v. 1.9 and 2.0.1 - running the command

vagrant box add concourse/lite --box-version $(cat VERSION)

gives me this message & error:

Found VERSION file, using concourse/lite version 3.2.1
==> box: Box file was not detected as metadata. Adding it directly...
You specified a box version constraint with a direct box file
path. Box version constraints only work with boxes from Vagrant
Cloud or a custom box host. Please remove the version constraint
and try again.

so I can't get the vagrant box even running.

@drnic
Copy link
Contributor

drnic commented Dec 10, 2017

I'm hoping we can move everyone to the bosh create-env instructions. They are pretty lovely; and start to introduce you to using BOSH to maintain Concourse later on.

Perhaps you can try installing bosh via https://bosh.io/docs/cli-v2.html instructions.

Then try deploying Concourse to Virtualbox using:

wget https://raw.githubusercontent.com/starkandwayne/concourse-tutorial/develop/manifests/concourse-lite.yml
bosh create-env manifests/concourse-lite.yml --state tmp/state.json

If this works, please follow along with the upgraded tutorials at https://concoursetutorial.com/ (will make this more public soon once I've finished upgrading tutorial instructions) and let me know.

If you have issues, then please report them and we'll get them fixed for you!

@choumarin
Copy link

Hi,
Just wanted to point out that bosh create-env manifests/concourse-lite.yml --state tmp/state.json doesn't work on Windows, getting the following error:

Extracting release '.bosh\downloads\960545597eaba699eed28d96574acd5c2434a40f-361d4ca59030ec1af5f5ad61a31a9c0aa593e819':
  Extracting release:
    Shelling out to tar:
      Running command: 'powershell tar --no-same-owner -xzf .bosh\downloads\960545597eaba699eed28d96574acd5c2434a40f-361d4ca59030ec1af5f5ad61a31a9c0aa593e819 -C .bosh\installations\1adfc68f-2a0a-408f-5756-c89f3f71a6a5\tmp\bosh-release395705526', stdout: '', stderr: '/cygdrive/c/Numerical Innovations/DFM Now V7/bin/tar: .bosh\\installations\001adfc68f-2a0a-408f-5756-c89f3f71a6a5\tmp\bosh-release395705526: Cannot chdir: No such file or directory
/cygdrive/c/Numerical Innovations/DFM Now V7/bin/tar: Error is not recoverable: exiting now
stdout: Broken pipe

gzip: ':
        exit status 1

Exit code 1

@drnic
Copy link
Contributor

drnic commented Jan 12, 2018 via email

@choumarin
Copy link

I found the best way to get started was using docker using the instructions here: https://concourse.ci/docker-repository.html
Of course a little adaptation of the instructions were necessary for windows, but it was very straight-forward.

@drnic
Copy link
Contributor

drnic commented Jan 23, 2018

@choumarin do you remember what adaptation of the instructions were required? I'm happy to put something into the tutorial to help Windows people.

@avoidik
Copy link

avoidik commented Jan 26, 2018

@drnic you might find this useful
https://github.com/avoidik/compose_concourse

@drnic
Copy link
Contributor

drnic commented Apr 2, 2018

Since https://github.com/starkandwayne/concourse-tutorial/releases/tag/v3.10.0 we're moving towards docker-compose up for initial deployment, so I'll close this issue for now.

@drnic drnic closed this as completed Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants