Homestead: vagrant box add laravel/homestead fails.

Created on 30 Nov 2019  Â·  9Comments  Â·  Source: laravel/homestead

Versions

  • Vagrant: 2.2.6
  • Provider: Virtualbox
  • Homestead: release

Host operating system

Windows 10

vagrant box add laravel/homestead output

https://gist.github.com/paulgeneres/3db839eaab974935a704b95174eced0b

I don't know if it's HashiCorp, Homestead, or me, but vagrant box add laravel/homestead is failing. Anybody else have this issue?

Most helpful comment

Another work-around:

  1. Download the box from https://vagrantcloud.com/laravel/boxes/homestead/versions/9.0.0/providers/virtualbox.box to your homestead folder.
  2. Create a file named metadata.json in your homestead folder and paste in this gist: https://gist.github.com/paulgeneres/9319888048e01865d2259c1c2a6c89e1
  3. run vagrant box add laravel/homestead metadata.json

All 9 comments

Interesting, I was able to download it without issue. I’d try again in a bit, might be an S3/AWS issue.

--

Versions

• Vagrant: 2.2.6
• Provider: Virtualbox
• Homestead: release

Host operating system
Windows 10
vagrant box add laravel/homestead output
https://gist.github.com/paulgeneres/3db839eaab974935a704b95174eced0b
I don't know if it's HashiCorp, Homestead, or me, but vagrant box add laravel/homestead is failing. Anybody else have this issue?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Okay. Thanks. I'll try again in the morning.

If this is an existing system you've used Homestead on, try doing vagrant box update from the Homestead folder.

Same issue on Mac OS X 10.15.1 (Catalina) when updating: vagrant box update

It appears to be a bug on the side of the latest version of vagrant (2.2.6), https://github.com/hashicorp/vagrant/issues/11179

As a temporarily work around I've installed vagrant from source which includes the latest patch that fixes this issue using these instructions: https://www.vagrantup.com/docs/installation/source.html

From within that directory run your homestadd add box command:
bundle exec vagrant box add laravel/homestead

Or run in debug mode:
bundle exec vagrant box add laravel/homestead --debug

Same issue. I tried @jeroenboumans 's steps and issue is solved.

These steps worked for me and avoids having to build Vagrant from source: https://github.com/hashicorp/vagrant/issues/11226#issuecomment-559979637

Another work-around:

  1. Download the box from https://vagrantcloud.com/laravel/boxes/homestead/versions/9.0.0/providers/virtualbox.box to your homestead folder.
  2. Create a file named metadata.json in your homestead folder and paste in this gist: https://gist.github.com/paulgeneres/9319888048e01865d2259c1c2a6c89e1
  3. run vagrant box add laravel/homestead metadata.json
Was this page helpful?
0 / 5 - 0 ratings