‘homestead’ already exists

A VirtualBox machine with the name ‘homestead’ already exists.

Thanks to this article, the solution was quick and easy.

I kept getting this error, out of the blue. I hate this error. I knew it was not running, which means that Homestead was confused.

A VirtualBox machine with the name ‘homestead’ already exists.
Please use another name or delete the machine with the existing
name, and try again.

Sure enough, Homestead thought my VM was still running. So what I had to do was list out the VMs and find the one I wanted to run. To do that:

$ vboxmanage list vms
Bunch of other VMs ….
“shanes-awesome-vm” {222f4f93-ac9d-4188-8aec-7dad4ddb29d2}

Then edit the id file located at ~/.homestead/.vagrant/machines/default/virtualbox. (Yourpath may vary)

Run homestead up and all should be well.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.