Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Getting error on 'vagrant up' for video 'Installing a Ruby Development Environment'

Hello, I'm getting the following error when attempting to use 'vagrant up'. I've also set the permission wide open (777) in the VirtualBox VMs folder but that seemed to have no effect. Any ideas?

Macintosh:treehouse tomlewis$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'treehouse-rails32'... There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.

Command: ["import", "/Volumes/ThighMaster/Users/tomlewis/.vagrant.d/boxes/treehouse-rails32/0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "Treehouse_1446331341191_73698", "--vsys", "0", "--unit", "11", "--disk", "/Volumes/Thigh Master/Users/tomlewis/VirtualBox VMs/Treehouse_1446331341191_73698/box-disk2.vmdk"]

Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Interpreting /Volumes/ThighMaster/Users/tomlewis/.vagrant.d/boxes/treehouse-rails32/0/virtualbox/box.ovf... OK. 0%... Progress state: VBOX_E_IPRT_ERROR VBoxManage: error: Appliance import failed VBoxManage: error: Could not create the directory '/Volumes/Thigh Master/Users/tomlewis/VirtualBox VMs/Treehouse_1446331341191_73698' (VERR_ACCESS_DENIED) VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component Appliance, interface IAppliance VBoxManage: error: Context: "int handleImportAppliance(HandlerArg*)" at line 779 of file VBoxManageAppliance.cpp

1 Answer

Looks like the path to the VirtualBox VMs folder was incorrect. I was able to fix this by setting the location in Virtual Box preferences.