Vagrant 2.2.6 stopped working after Virtualbox was updated to version 6.1.0.
Vagrant 2.2.6
macOS Catalina Version 10.15.2 (19C57)
CentOS 7
Vagrant.configure("2") do |config|
config.vm.box = "centos/7"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
end
end
% vagrant up
The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:
Vagrant has detected that you have a version of VirtualBox installed
that is not supported by this version of Vagrant. Please install one of
the supported versions listed below to use Vagrant:
4.0, 4.1, 4.2, 4.3, 5.0, 5.1, 5.2, 6.0
A Vagrant update may also be available that adds support for the version
you specified. Please check www.vagrantup.com/downloads.html to download
the latest version.
vagrant up works
vagrant up doesn't work
% brew cask info virtualbox
virtualbox: 6.1.0,135406
https://www.virtualbox.org/
/usr/local/Caskroom/virtualbox/6.1.0,135406 (3 files, 123.2MB)
From: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/virtualbox.rb
==> Name
Oracle VirtualBox
==> Artifacts
VirtualBox.pkg (Pkg)
==> Caveats
To install and/or use virtualbox you may need to enable its kernel extension in:
System Preferences → Security & Privacy → General
For more information refer to vendor documentation or this Apple Technical Note:
https://developer.apple.com/library/content/technotes/tn2459/_index.html
% brew cask info vagrant
vagrant: 2.2.6
https://www.vagrantup.com/
/usr/local/Caskroom/vagrant/2.2.6 (3 files, 31.7MB)
From: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/vagrant.rb
==> Name
Vagrant
==> Artifacts
vagrant.pkg (Pkg)
Hi there,
Support for VirtualBox 6.1 has not shipped yet and will be included in the next release. Downgrading VirtualBox to 6.0.x until the next release is available will resolve this issue.
Cheers!
Duplicate of #11249
Unfortunately VirtualBox 6.0 is not available for Ubuntu 19.10, so it would be great if the next release could be issued soon.
@RogerE The next release is coming soon (within the next few days). We have been in the process of updating our release pipeline which is just about complete. The next release will be pushed out as soon as everything has been finalized.
Cheers!
Thanks @chrisroberts, appreciated!
@RogerE You can also use this workaround while we all wait for a new release:
https://blogs.oracle.com/scoter/getting-vagrant-226-working-with-virtualbox-61-ga
I've tested it myself and works great!
@eurico-goncalves thanks for the tip, but the release of Virtualbox 6.0.16 a few days ago solved it for me since that works with Ubuntu 19.10.
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.
Most helpful comment
@RogerE The next release is coming soon (within the next few days). We have been in the process of updating our release pipeline which is just about complete. The next release will be pushed out as soon as everything has been finalized.
Cheers!