Vagrant has detected that you have a version of VirtualBox installed that is not supported.

471 views
Skip to first unread message

Adam Blomeke

unread,
Mar 19, 2014, 2:42:08 PM3/19/14
to vagra...@googlegroups.com
I am getting this error on a brand new install of vagrant and virtualbox on windows.  I've tinkered around with a number of different versions of virtualbox and still get it.  I've attached a copy of the output of vboxmanage.exe --version and below is the relevant portion of my debug output.  Any help would be great.

Thanks,
Adam

[snip]
DEBUG host: Trying: windows
 INFO host: Detected: windows!
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: #<Vagrant::Action::Builder:0x3081870>
 INFO cli: CLI: [] "up" ["--"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command ["--"]
DEBUG command: 'Up' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: []
DEBUG command:  -- options: {:provider=>nil}
DEBUG command: Loading all machines...
 INFO environment: Getting machine: default (virtualbox)
 INFO environment: Uncached load of machine.
 INFO loader: Set "29492832_machine_default" = []
 INFO loader: Loading configuration in order: [:home, :root, "29492832_machine_d
efault"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
 INFO box_collection: Box found: base (virtualbox)
 INFO loader: Set :"27687612_base_virtualbox" = #<Pathname:C:/Users/ablomeke/.va
grant.d/boxes/base/0/virtualbox/Vagrantfile>
DEBUG loader: Populating proc cache for #<Pathname:C:/Users/ablomeke/.vagrant.d/
boxes/base/0/virtualbox/Vagrantfile>
DEBUG loader: Load procs for pathname: C:/Users/ablomeke/.vagrant.d/boxes/base/0
/virtualbox/Vagrantfile
 INFO loader: Loading configuration in order: [:"27687612_base_virtualbox", :hom
e, :root, "29492832_machine_default"]
DEBUG loader: Loading from: 27687612_base_virtualbox (evaluating)
DEBUG loader: Upgrading config from version 1 to 2
DEBUG loader: Upgrading config to version 2
DEBUG loader: Upgraded to version 2 with 0 warnings and 0 errors
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
 INFO machine: Initializing machine: default
 INFO machine:   - Provider: VagrantPlugins::ProviderVirtualBox::Provider
 INFO machine:   - Box: #<Vagrant::Box:0x3a10790>
 INFO machine:   - Data dir: c:/vagrant/.vagrant/machines/default/virtualbox
DEBUG virtualbox: Instantiating the driver for machine ID: nil
DEBUG base: Windows. Trying VBOX_INSTALL_PATH for VBoxManage
DEBUG base: VBOX_INSTALL_PATH value: C:\Program Files\Oracle\VirtualBox\
 INFO base: VBoxManage path: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
 INFO subprocess: Starting process: ["C:\\Program Files\\Oracle\\VirtualBox\\VBo
xManage.exe", "--version"]
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG meta: Finding driver for VirtualBox version:
 INFO environment: Running hook: environment_unload
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: #<Vagrant::Action::Builder:0x2cf69d0>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<Vagrant::Errors::VirtualBoxInvalidVersion: Vagrant has detected that you have a version of VirtualBox installed that is not supported. Please install one of the supported versions
listed below to use Vagrant:

4.0, 4.1, 4.2, 4.3>
ERROR vagrant: Vagrant has detected that you have a version of VirtualBox instal
led
that is not supported. Please install one of the supported versions
listed below to use Vagrant:

4.0, 4.1, 4.2, 4.3
ERROR vagrant: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/pro
viders/virtualbox/driver/meta.rb:66:in `initialize'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualb
ox/provider.rb:34:in `new'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualb
ox/provider.rb:34:in `machine_id_changed'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualb
ox/provider.rb:14:in `initialize'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/machine.rb:125
:in `new'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/machine.rb:125
:in `initialize'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/vagrantfile.rb
:75:in `new'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/vagrantfile.rb
:75:in `machine'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/environment.rb
:416:in `machine'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/plugin/v2/comm
and.rb:142:in `block in with_target_vms'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/plugin/v2/comm
and.rb:175:in `call'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/plugin/v2/comm
and.rb:175:in `block in with_target_vms'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/plugin/v2/comm
and.rb:174:in `map'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/plugin/v2/comm
and.rb:174:in `with_target_vms'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/commands/up/comman
d.rb:58:in `block in execute'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/environment.rb
:234:in `block (2 levels) in batch'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/environment.rb
:232:in `tap'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/environment.rb
:232:in `block in batch'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/environment.rb
:231:in `synchronize'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/environment.rb
:231:in `batch'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/commands/up/comman
d.rb:57:in `execute'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/cli.rb:42:in `
execute'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/environment.rb
:248:in `cli'
C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.1/bin/vagrant:158:in `<main>
'
 INFO interface: error: Vagrant has detected that you have a version of VirtualB
ox installed
that is not supported. Please install one of the supported versions
listed below to use Vagrant:

4.0, 4.1, 4.2, 4.3
Vagrant has detected that you have a version of VirtualBox installed
that is not supported. Please install one of the supported versions
listed below to use Vagrant:

4.0, 4.1, 4.2, 4.3
 INFO interface: Machine: error-exit ["Vagrant::Errors::VirtualBoxInvalidVersion
", "Vagrant has detected that you have a version of VirtualBox installed\nthat i
s not supported. Please install one of the supported versions\nlisted below to u
se Vagrant:\n\n4.0, 4.1, 4.2, 4.3"]
capture.png

Dan Gibbons

unread,
Mar 19, 2014, 7:14:32 PM3/19/14
to vagra...@googlegroups.com
I've found the same problem and the only way I could get it working was to use a previous version of Vagrant which is a pain as I'd like to use some of the new features in 1.5.1.

Any ideas to get this going?

Mitchell Hashimoto

unread,
Mar 20, 2014, 12:38:22 AM3/20/14
to vagra...@googlegroups.com
Hi,

I've seen this happen only on Windows, and usually when you're running VirtualBox as another user already. VirtualBox on Windows has all sorts of problems if you run it as an admin and then try to access it as a user (or vice versa). Please make sure you're launching Vagrant and using VirtualBox with the same user.

Best,
Mitchell


On Wed, Mar 19, 2014 at 4:14 PM, Dan Gibbons <dangibb...@gmail.com> wrote:
I've found the same problem and the only way I could get it working was to use a previous version of Vagrant which is a pain as I'd like to use some of the new features in 1.5.1.

Any ideas to get this going?

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages