Your VM has become “inaccessible.”

(This is a legacy post from the old website.)

If you’ve deleted a virtual machine file still referenced by one of your
projects, you’ll run into the following error when you try and
instantiate the VM via vagrant up.

Your VM has become “inaccessible.” Unfortunately, this is a critical error with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBox and clear out your inaccessible virtual machines or find a way to fix them.

Vagrant creates a hidden folder within your project directory named .vagrant with files that refer to specific VM IDs.

[image lost]

Simply delete the .vagrant folder within your project and rerun vagrant up. Vagrant will rebuild the .vagrant directory with the correct files and ID.

For giggles, here’s a Github issue page regarding this with a few more details.

Leave a Reply

Your email address will not be published. Required fields are marked *