Re: [vagrant-up] Vagrant window opens and then immediately closes (PC)

1,254 views
Skip to first unread message

Alvaro Miranda Aguilera

unread,
Mar 24, 2015, 5:30:18 AM3/24/15
to vagra...@googlegroups.com
I haven't seen this, and I use Windows 7 64 bits.

Does that happen if you use hashicorp/precise32 ?

mkdir precise32
cd precise32
vagrant init hashicorp/precise32 -m
vagrant up

alvaro


On Tue, Mar 24, 2015 at 8:51 AM, Amie Goblirsch
<amie.go...@gmail.com> wrote:
> Vagrant used to work fine on my computer. Then I had to reformat my computer
> and after downloading vagrant I can't get the window to stay open. It
> downloads successfully but then when I try to open it the vagrant window
> opens and then immediately closes. Sometime it stays open for a few seconds,
> flashes a bunch of words and then closes. But the words don't stay long
> enough for me to read anything. I have tried uninstalling and and
> re-installing vagrant up three times and I get the same result each time.
>
> I am running a 64-bit, Windows 7 PC.
>
> Has anybody else had this problem?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vagrant-up+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

dragon788

unread,
Mar 27, 2015, 8:25:14 AM3/27/15
to vagra...@googlegroups.com
The best way to diagnose is to open your command prompt and run vagrant from there. That's really the intended use case as doing it from the Run dialog it will always close the prompt on success or failure. Once you are running from the prompt you should see better error information. In order to best help you troubleshoot please run 'vagrant_log=1 vagrant up' as this will output a lot of debug information. If you want to capture this to file for easier review/sharing you can add a small snippet, ' > debug_log.text 2>&1 '. This when put after the command above will send all the debug and regular information into the text file.

dragon788

unread,
Mar 27, 2015, 11:30:24 AM3/27/15
to vagra...@googlegroups.com
I was going from memory, actually VAGRANT_LOG=debug is the correct option for getting the full logs. Its packer that assumes anything other than 0 means do debug.
Reply all
Reply to author
Forward
0 new messages