Originally posted as a PuPHPet issue here
I'm using Windows 8. I've noticed some odd behavior with Vagrant so I decided to tear everything down and start over. I uninstalled re-installed VirtualBox(4.3.14) and Vagrant(1.63) I also deleted all files associated with them so I'm starting from scratch.
I created a new vagrant box using PuPHPet and ran vagrant up from the Windows CMD as administrator. That works.. sort of. I can go to the box in a browser and drop in an index file to make sure php/apache etc.. are working. So.. clearly my VM is being created.
The problem is, the box never shows up in virtualbox.
If I try to run vagrant ssh I get the error VM must be created before running this command. Run vagrant up first
If I try to run vagrant halt It tells me default: VM not created. Moving on...
any thoughts on how I might fix this weird issue short of re-formatting my machine? I'm still learning the guts of Vagrant so it may be that I'm just not looking in the right place. Let me know if I need to provide more info.
2 potential issues for you here
A. You are using 2 users, so each home will be different
B. In some bash/shell the home is different from what Windows use and what
the shell sets
Please close this issue, and send a email to the mailing list, and I will
help you over there.
provide the following info
as Administrator and your local user do:
echo %USERPROFILE%
then, inside the bash you use, again as Administrator and local user do:
echo $HOME
Alvaro.
On Sat, Aug 2, 2014 at 12:55 PM, George Spake [email protected]
wrote:
Originally posted as a PuPHPet issue here
https://github.com/puphpet/puphpet/issues/900#issuecomment-50298754I'm using Windows 8. I've noticed some odd behavior with Vagrant so I
decided to tear everything down and start over. I uninstalled re-installed
VirtualBox(4.3.14) and Vagrant(1.63) I also deleted all files associated
with them so I'm starting from scratch.I created a new vagrant box using PuPHPet and ran vagrant up from the
Windows CMD as administrator. That works.. sort of. I can go to the box in
a browser and drop in an index file to make sure php/apache etc.. are
working. So.. clearly my VM is being created.The problem is, the box never shows up in virtualbox.
If I try to run vagrant ssh I get the error VM must be created before
running this command. Run vagrant up firstIf I try to run vagrant halt It tells me default: VM not created. Moving
on...any thoughts on how I might fix this weird issue short of re-formatting my
machine? I'm still learning the guts of Vagrant so it may be that I'm just
not looking in the right place. Let me know if I need to provide more info.—
Reply to this email directly or view it on GitHub
https://github.com/mitchellh/vagrant/issues/4286.
Hey, appreciate the quick response. I think that's just what I was looking for. Looks like this issue was related to multiple users. Thanks.
Most helpful comment
2 potential issues for you here
A. You are using 2 users, so each home will be different
B. In some bash/shell the home is different from what Windows use and what
the shell sets
Please close this issue, and send a email to the mailing list, and I will
help you over there.
provide the following info
as Administrator and your local user do:
echo %USERPROFILE%
then, inside the bash you use, again as Administrator and local user do:
echo $HOME
Alvaro.
On Sat, Aug 2, 2014 at 12:55 PM, George Spake [email protected]
wrote: