Since homestead 2.0 homestead laravel has not been working
I don\'t know why \'homestead init\' creates a Homestead.yaml file in mydirectory/.homestead and not in
If you are a Windows User, make sure you delete C:\Users\<Username>\VirtualBox VMs\homestead
folder. Because if there is still a folder named homestead, the action of vagrant up
will not be completed
Windows10
Edit Homestead.yaml file and give a new name for the box:
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox
name: my-new-vbox #new name for the box
and run vagrant up
or vagrant up --provision
Or
Open Virtualbx application in GUI and delete all the virtualbox that was causing problem and run the above command
Or
Delete the "Vagrant" file inside homestead folder and run the above command.
I edited Homestead.yaml and add new name for it
ip: "192.168.10.10"
memory: 2048
cpus: 4
provider: virtualbox
name: my-new-homestead-box-name
I was receiving the same error message, even after running "homestead destory", and "vagrant destroy". Same as you, I was using the VirtualBox provider, vagrant, and homestead. Here's what I did:
~/VirtualBox\ VMs/homestead
, so i ran rm -r /Users/gabriel/VirtualBox\ VMs/homestead
Add --force
after box, and before your given name.
For me, the machine was not showing up as an active VM in the VirtualBox application. To fix I had to do this:
vagrant global-status
This gave me the ID of the machine that I needed to destroy. With the ID, run:
vagrant destroy {VM ID}
I had to run that in sudo to actually destroy the machine. At that point, I was able to run
vagrant up