[Solution] Issue with Vagrant and VirtualBox 6.1


We have recently observed that the latest build of VirtualBox i.e. version 6.1 is having some compatibility issue with the Vagrant and a lot of our users are running into an error while setting up their virtual environment.

If in case you have downloaded the version 6.1 then please uninstall it and download the VirtualBox version 6.0.14 using this link.

[Edit :] Please restart your system after fresh installation.

Please feel free to get back to us if you have any query.

Happy Learning :slight_smile:

Shubham Ranjan
Curriculum Services Engineer

1 Like

hi vagrant up --provision
thank you for your detail guile. I have some error when I executed vagrant up (my env : vagrant2.2.6 and oracle virtual box 6.1 ) I have solved this problem to downgrade oracle virtualbox as 6.0.14 .
please refer below error message -------------
C:\mongoDBvm\m103-vagrant-env>vagrant up
No usable default provider could be found for your system.

Vagrant relies on interactions with 3rd party systems, known as
“providers”, to provide Vagrant with resources to run development
environments. Examples are VirtualBox, VMware, Hyper-V.

The easiest solution to this message is to install VirtualBox, which
is available for free on all major platforms.

If you believe you already have a provider available, make sure it
is properly installed and configured. You can see more details about
why a particular provider isn’t working by forcing usage with
vagrant up --provider=PROVIDER, which should give you a more specific
error message for that particular provider.

I faced this issue and figured out this solution with the message
vagrant up --provider=virtualbox --provision
The error mentioned the support only for 4.0, 4.1, 4.2, 4.3, 5.0, 5.1,5.2, 6.0

While performing Vagrant up – Provision in cmd,error pops out as attached.Please provide the solution.

Hi Its done.The issue was with my network and firewall was on.

A whole afternoon testing and the problem was version 6.1 of virtualbox !!!


For those brave enough to add support to Vagrant for Virtualbox 6.1 you can follow this guide. It’s literally three steps to get support for VirtualBox 6.1 with Vagrant 2.2.6 until Vagrant 2.3.0 is out.

$ VBoxManage --version
$ vagrant --version
Vagrant 2.2.6
Bringing machine 'mongod-m103' up with 'virtualbox' provider...
==> mongod-m103: Resuming suspended VM...
==> mongod-m103: Booting VM...
==> mongod-m103: Waiting for machine to boot. This may take a few minutes...
    mongod-m103: SSH address:
    mongod-m103: SSH username: vagrant
    mongod-m103: SSH auth method: private key
==> mongod-m103: Machine booted and ready!
==> mongod-m103: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> mongod-m103: flag to force provisioning. Provisioners marked to run always will still run.

Hi @octoquad,

Thanks for sharing this link.

Shubham Ranjan
Curriculum Services Engineer


Vagrant 2.2.7 has been released with the fix included and now supports VirtualBox 6.1.

Hi @octoquad,

Thanks for sharing. We are already in the process of updating the lecture notes and installation guide. Hopefully the changes will be out soon.

Shubham Ranjan
Curriculum Services Engineer

1 Like