Skip to content

Instantly share code, notes, and snippets.

@skeeith
Last active October 2, 2022 17:30
Show Gist options
  • Save skeeith/68818a0b4fed111c30436f897d7b29fe to your computer and use it in GitHub Desktop.
Save skeeith/68818a0b4fed111c30436f897d7b29fe to your computer and use it in GitHub Desktop.
Vagrant Destroy & Up Output
$ vagrant destroy
homestead: Are you sure you want to destroy the 'homestead' VM? [y/N] y
==> homestead: Forcing shutdown of VM...
==> homestead: Destroying VM and associated drives...
$ vagrant up
$ vagrant up
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Importing base box 'laravel/homestead'...
==> homestead: Matching MAC address for NAT networking...
==> homestead: Checking if box 'laravel/homestead' version '12.2.0' is up to date...
==> homestead: Setting the name of the VM: homestead
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.exe: error: Could not rename the directory 'C:\Users\dusme\VirtualBox VMs\ubuntu-20.04-amd64_1664731732619_96211' to 'C:\Users\dusme\VirtualBox VMs\homestead' to save the settings file (VERR_ALREADY_EXISTS)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component SessionMachine, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "SaveSettings()" at line 3286 of file VBoxManageModifyVM.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment