-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Adding a local box via "box add" fails with v1.8.0, succeeds with v1.7.4 #6725
Comments
I spent much time to find a solution to fix an error about
on win7 and vagrant1.8.1, but no ideas. PS: OSX 10.11 vagrant1.8.1 virtualbox5.0.12 box add success |
OSX 10.11.2 I can add boxes successfully. I downloaded a box from atlas.hashicorp.com and added and removed it several times to make sure. I can't comment on how this works when running on windows. But adding boxes appears to work with Vagrant 1.8.1 on OS X. |
Yes its true, its not possible to add box with vagrant 1.8.0 and 1.8.1 in windows as im getting errors. |
Workaround: as an alternative to "vagrant box add", one can still add a local box using the vm.box_url setting within the box definition in the Vagrantfile AND use another workaround described in #6754 (missing DLLs). Eg:
|
Sorry to just add a "me too", but I'm still hitting the same issue on Win 10 x64, Vagrant 1.8.1. |
I'm also having this issue on a clean install of Windows 10 x64. |
I did find a solution - it's referenced in #6754 and mentioned above, but I missed it: Install the VC++ 2010 redistributable and re-install Vagrant. Mine worked (both importing and downloading) after doing that. |
Just installing Visual C++ 2010 solved my problem with win 8.1 and vagrant 1.8.1 |
Going to... Downloading the Visual C++ build tools and installing (then restarting) fixed it for me. |
I just had a simillar error on osx 10.12.1 and vagrant 1.8.7
I installed vagrant 1.8.6 and it worked... |
I just had a similar error on osx 10.12.1 and vagrant 1.8.7 |
+1, using 1.8.7, max osx 10.11.6 Going to downgrade to 1.8.6 |
+1, using 1.8.7, max osx 10.11.6 |
+1, using 1.8.7, max osx 10.12.1 |
same +1, using 1.8.7, max osx 10.12.1 |
same +1, using 1.8.7, max osx 10.12.2 beta2 |
+1, using 1.8.7, osx 10.12.2 Beta |
same +1, using 1.8.7, osx 10.11,6 |
+1 |
+1 same using vagrant 1.8.7, macOS 10.12.1 |
+1 |
+1 |
Same as above - downgrading to 1.8.6 and it works fine. Adding the following [error] for anyone googling this problem: |
mac os x 10.11.6 |
hi, are there any news regarding this error? |
Same issue, I've downgraded my vagrant to 1.8.6 and it works ! |
Hey, just ran into this myself. It seems to be because the version of cURL that's embedded with vagrant is not compatible with system curl on mac OS. The error I get adding a box with VAGRANT_LOG=debug is:
And manually overriding DYLD_LIBRARY_PATH=/usr/local/opt/curl/lib to point to a recent cURL still fails. For now downgrading seems to be best choice until they fix this. If you need 1.8.7 you can manually override the embedded |
Same issue, I've downgraded my vagrant to 1.8.6 and it works ! 1.8.7 has a big bug..... |
FWIW, same issue. Downgrading to 1.8.6 fixed the issue. Running OS X 10.12 |
This is resolved with the newest version: 1.9.0. |
mac 10.11.3 - this worked for me in vagrant 1.8.7 sudo rm -rf /opt/vagrant/embedded/bin/curl https://github.com/DelightedD0D comment in #7997 |
I had the same issue on OS X Yosemite and vagrant 1.8.7 then updated to vagrant 1.9.0 - issue is fixed! 🎉 |
Petition to close this issue? |
run this command "vagrant box add hashicorp/precise64". |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Attempting to add a local box to vagrant via
box add
(i.e.,vagrant box add --name foobar ./blah.box
) fails using Vagrant 1.8.0 with no specific error message other than the leader:The exact same attempt using Vagrant 1.7.4 succeeds without issue.
A debug trace of the success with 1.7.4 can be found here, and a similar trace of the failure with 1.8.0 can be found here.
My environment is Windows 10, primarily via a Cygwin bash shell, but the error also occurs using the native
cmd.exe
shell. Vagrant is installed to the default location (C:\HashiCorp\Vagrant
). I have tried many uninstall/install cycles switching between 1.7.4 and 1.8.0 (originally usingC:\Program Files (x86)\HashiCorp\Vagrant
as the install path) in an attempt to debug, each time with the same result.I have tried with two different local box files and both fail in 1.8.0 and succeed in 1.7.4.
While the local box file is located on a different drive/partition to Vagrant (Vagrant on
C:
, boxfile onD:
), this doesn't appear to be related to #6495 as I don't get the same error message ("Couldn't open file ...").The text was updated successfully, but these errors were encountered: