VBoxManage: Could not rename the directory in Mac

0

I am installing Laravel Homestead 5.6 in my macOS Sierra and I am having problems when doing:

sudo vagrant up

I get this error:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Setting the name of the VM: homestead-7
The name of your virtual machine couldn't be set because VirtualBox
is reporting another VM with that name already exists. Most of the
time, this is because of an error with VirtualBox not cleaning up
properly. To fix this, verify that no VMs with that name do exist
(by opening the VirtualBox GUI). If they don't, then look at the
folder in the error message from VirtualBox below and remove it
if there isn't any information you need in there.

VirtualBox error:

VBoxManage: error: Could not rename the directory '/var/root/VirtualBox     VMs/ubuntu-18.04-amd64_1534359706215_62248' to '/var/root/VirtualBox VMs/homestead-7' to save the settings file (VERR_ALREADY_EXISTS)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "SaveSettings()" at line 3016 of file VBoxManageModifyVM.cpp

I have already tried removing the .vagrant directory in /homestead. But this error keeps there.

Thank you very much for helping me, I don't know what else to do

laravel
vagrant
virtualbox
homestead
asked on Stack Overflow Aug 15, 2018 by Joaquin Colella

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0