Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

David McGraw
PLUS
David McGraw
Courses Plus Student 9,711 Points

vagrant error message

Hello everyone,

I've have been working on the todo list rails application course. It's been a little while since I've gotten on the terminal to work on it (I've been doing the MySQL tutorials).

When I type vagrant up to get the VM going I receive this error:

The guest machine entered an invalid state while waiting for it to boot. Valid states are 'starting, running'. The machine is in the 'poweroff' state. Please verify everything is configured properly and try again.

If the provider you're using has a GUI that comes with it, it is often helpful to open that and watch the machine, since the GUI often has more helpful error messages than Vagrant can retrieve. For example, if you're using VirtualBox, run vagrant up while the VirtualBox GUI is open.

I've taken all the correct steps, going to all the correct directories of the ODOT project. I could be the easiest thing that I'm missing, just a little rusty on the terminal.

Any thoughts? THANK YOU!

3 Answers

Brandon McClelland
Brandon McClelland
4,645 Points

When El Capitan Beta came out people had issues getting Vagrant installed properly: https://github.com/mitchellh/vagrant/issues/5807

They fudge around with pointing bash at different places to get it to work. But probably the first thing I would try is updating VirtualBox as mentioned towards the bottom of that page.

David McGraw
David McGraw
Courses Plus Student 9,711 Points

Yeah after doing some research, I realized it was a version issue. So I uninstalled VirtualBox and Vagrant. Started from scratch basically, re-installed both and now everything works again.

Thank you!

Brandon McClelland
Brandon McClelland
4,645 Points

Hard to help without knowing more details:

Which VM provider are you using? Have you tried starting the machine up without vagrant. Did you try "run vagrant up while the VirtualBox GUI is open" ? What OS are you using?

David McGraw
PLUS
David McGraw
Courses Plus Student 9,711 Points

Hi Brandon,

I recently updated my OSX to EL CAPITAN. I can't remember much since it was all done and installed as part of setting up my RoR environment to work on the ODOT rails app, about a year ago.

Last time I worked on the app was before updating my machine to EL CAPITAN, which was about a month ish ago. If you need more details, I can try and go back step by step through the RoR environment tutorial.