Picture of Gerard Green
Vagrant Up ends in error
by Gerard Green - Saturday, 12 March 2016, 10:41 AM
 

Hello.

I am unable to SSH into my vagrant installation due to an SSH error. I want to create a log file that I can post and ask for support on how to resolve this issue.
I need to understand what commands to use in a windows 7 command prompt window to get the log to go to a file rather than just displaying on the screen.
I currently use these commands:

 

set vagrant_log=debug

set stderr=vagrant.log

vagrant up


I am unable to locate the vagrant.log file anywhere.

Can someone please provide suitable vagrant commands to create a log file of my vagrant up command? Thanks.

Picture of Thomas Berger
Re: Vagrant Up ends in error
by Thomas Berger - Monday, 14 March 2016, 8:40 AM
 

Hello Gerard,

there is a bug in the vagrant installer on windows that will be fixed in the next release of the Authoring Tool.

Until this release it is best to test the vagrant installer with this branch: https://github.com/adaptlearning/adapt_authoring/tree/issue/1087

Please keep in mind that this branch is not the official release branch of the Authoring Tool. So I recommend it just to test if the changes in this branch fix your issues.

 

To create log files on windows, I usually stream the output into a text file.

vagrant up > log.txt

This will create a log.txt in the root of your current working directory. One downside, the output is not visible in the terminal.

 

Regards

Thomas