-
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
Vagrant can find 'virtualbox', but not 'VirtualBox'. #5189
Comments
May be a silly question, but do you have a vm.provider block in the I might be misreading your message, does this happen for all Vagrant On 15 January 2015 at 12:21, George notifications@github.com wrote:
|
Just had a check. The provider is set to |
I'll look for another project to try it with :) |
There must be something wrong with my Vagrantfile. Everything worked fine when I built vagrant project itself. I will keep looking, this is someone else project who has left our company. I'll close this issue :) Thanks @davebirch |
@GeorgeMac have you figured out what was wrong in your Vagrantfile? We got the similar error report for parallels provider from one of our customers. He is using the valid Vagrantfile (with provider mentioned in lower case) and initial "vagrant up" is successful. But after that he get the same error about provider in capitalized notation:
|
I'm also seeing this (on Windows 8.1). I can't destroy the machine either because the provider isn't recognized. |
@hitsthings Just look at this folder, located in your current working directory: |
I've figured out how to reproduce this issue on OS X: (the provider doesn't make sense)
You will see the valid message, telling that this provider does not exists.
The VM will be upped successfully, but there still be wrong data directory for it:
|
I've also provided a workaround here: GH-5334 |
I can confirm that the steps provided by @legal90 to reproduce the problem are also valid on Windows. After I deleted the |
Thanks @legal90, only need rename folder! |
501st-alpha1 helps 👍 |
@501st-alpha1 thanks 👍 |
@legal90 thank you, renaming the folder fixed it for me too |
@legal90 Renaming the folder fixed it for me, thanks! |
@legal90 Renaming the folder fixed it for me, thanks! (2) |
I got the same problem @prayagupd reports, but with vagrant 1.8.1 and Windows 10 (so I can't use a previous version of VirtualBox). |
same problem running on mac OS $ vagrant --version after reading this i removed the .vagrant directory and everything works fine again. |
Solution to this is to uninstall virtual box properly! on windows and OSX, the steps are:
this will solve most of the off-topic mess discussed here. |
For solve problem in windows, If you have another partition of disk with Linux operating system , install virtualbox in linux and vagrant, then set the environment variable with $ export VAGRANT_HOME=/home/yourname/virtuals, and install one version of any operating system, after that 1) copy from linux directory: .vagrant.d/.vagrant/machines/default/virtualbox to the windows partition in its directory named on environment variable VAGRANT_HOME, by example: set VAGRANT_HOME=D:\Virtual.vagrant.d and now the target directory is |
Hi, |
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. |
I could be doing something really stupid. However, I keep getting this issue. Even with fresh installs of both vagrant and virtual box.
When I
vagrant up
, vagrant chooses to usevirtualbox
initially as a provider. It imports the base box, sorts out NATs, port forwarding... blah blah blah. Then I get the following error as it tries to provision:I then try
vagrant destroy
and get the same error message. Even withvagrant ssh
I get this error message. However, if I usevagrant global-status
and get the vm id; I can explicitlyvagrant destroy <id>
orvagrant ssh <id>
.This is a pain as every time I
vagrant up
it gets as far as provisioning with ansible and then fails because it is looking for a slightly different provider.I am running on OS X Yosemite if that helps as well. I am sure I have just messed up set up somehow.
The text was updated successfully, but these errors were encountered: