Vagrant cannot find VirtualBox, which is installed

4,326 views
Skip to first unread message

Todd S

unread,
Jan 15, 2015, 7:28:35 PM1/15/15
to vagra...@googlegroups.com
Hi All,

I just installed vagrant. I got it to 'vagrant up' and virtual box showed that is was running a vm called vagrant_default_blah_blah. But all subsequent vagrant commands failed stating "The provider 'VirtualBox' could not be found, but was requested to back the machine 'default'. Please use a provider that exists."

I have tried vagrant --provider=virtualbox and that does not work either and virtualbox is in the PATH.

Any pointers will be helpful.

This is on OS X 10.10.

Todd

Todd S

unread,
Jan 16, 2015, 12:15:26 AM1/16/15
to vagra...@googlegroups.com
I solved my problem. I shutdown virtualbox through the virtualbox application and then removed the .vagrant folder all is fine now. Perhaps the contents of some file were damaged?

Jasper F

unread,
Nov 4, 2015, 5:13:09 AM11/4/15
to Vagrant
This helped me. Thanks Todd!

Joaquin Menchaca

unread,
Nov 13, 2015, 8:22:46 PM11/13/15
to Vagrant
You have a funked environment.  By deleting the .vagrant folder, you deleted the ids that reference the VirtualBox systems, and you deleted the private keys needed to access the system without a password with vagrant ssh.  As long as you still have the Vagrantfile, just do another "vagrant up" to create a new .vagrant.  I would recommend deleting the existing images, as this might confuse you as to which ones you are using.
Reply all
Reply to author
Forward
0 new messages