ptwobrussell / Mining-the-Social-Web-2nd-Edition

The official online compendium for Mining the Social Web, 2nd Edition (O'Reilly, 2013)
http://bit.ly/135dHfs
Other
2.9k stars 1.49k forks source link

Vagrant up won't complete #315

Open Brendans93 opened 7 years ago

Brendans93 commented 7 years ago

I've looked through past posts and can't find anything that is similar enough to my problem. I am running Mac OS X (El Capitan), Virtual Box 4.3.26 and Vagrant 1.8.7. I have cloned the necessary files and navigated to the top level of the folder with the Vagrantfile. When I type "vagrant up", the following is shown:

brendan (master) Mining-the-Social-Web-2nd-Edition $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'precise64' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Box file was not detected as metadata. Adding it directly... ==> default: Adding box 'precise64' (v0) for provider: virtualbox default: Downloading: http://files.vagrantup.com/precise64.box An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.

There is no error message and I don't know how to proceed. I am familiar with setting up Virtual boxes for Linux systems, and I have not done anything of that sorts here. The video does not describe creating a new virtual machine. Do I need to make one?

Thanks

pavlin99th commented 7 years ago

This is an issue with vagrant 1.8.7 on OS X, see https://github.com/mitchellh/vagrant/issues/7969 and https://github.com/mitchellh/vagrant/issues/7970. curl utility shipped with this version of vagrant appears to be invalid.

The solution is sudo rm /opt/vagrant/embedded/bin/curl - this will remove curl bundled with vagrant and cause it to fall back to system's one at /usr/bin/curl.

rreben commented 7 years ago

Or going back to vagrant 1.8.6 will also solve the issue.