Create new sites with 'vv create' and have things work like normal afterwards.
After creating a new site with vv create, it runs 'vagrant up --provision'. After provisioning, it says the new site is successfully created. When I try to run vagrant up after doing this, I get:
C:\vvv-dev>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/trusty64' is up to date...
==> default: Clearing any previously set forwarded ports...
There was an error while executingVBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["modifyvm", "336d27ef-272e-45e1-a593-7c0adde21e56", "--natpf1", "delete", "ssh"]
Stderr: VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 507 of file VBoxManageModifyVM.cpp`
I created a snapshot before trying to create the new site incase something like this happened, but I cannot restore from it. I get this error in VirtualBox: Callee RC: E_FAIL (0x80004005)
This is actually the second time this has happened to me. It happened the other day when I created a new site. I figured it must have been because I hadnt updated/provisioned everything in ages. So, I downloaded the latest 'vvv', updated virtualbox, updated vagrant and started again from scratch. The first site I created worked just fine. This second site I tried broke everything.
Full log here:
https://gist.github.com/ryanfurtner/6b37d4a6d5f16b5b9677a7b5e340723a
I am a front end web dev who really really wants this set up to finally be the end to my search for a professional wordpress dev environment! I was adding a new site for a new client.
I had this problem once, solved it by running the command in a shell with administrative priviledges: right click on Windows and choose Command Prompt (admin).
...Flipping hell, that worked. Thanks so much @rafaelwinter !
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
...Flipping hell, that worked. Thanks so much @rafaelwinter !