[Critical] My box were reset to the initial state

88 views
Skip to first unread message

Tuan Nguyen Huy

unread,
Mar 27, 2014, 1:55:42 PM3/27/14
to vagra...@googlegroups.com
Hi all,

I think I can sum up my issue in some sentences:

+) I'm using Windows 8.1, with this box: https://vagrantcloud.com/hashicorp/precise64
+) Installed some necessary packages: apache2, htop... Build and run some PHP projects as well. Cool.

And suddenly today, after 'vagrant ssh', I found out my box is brought back to the initial state, no packages: htop, apaches... at all.
I have no idea how is it possible.

Please help, I'll provide more detail if you need.

Thanks and Best Regards,
Tuan

Tuan Nguyen Huy

unread,
Mar 27, 2014, 2:00:44 PM3/27/14
to vagra...@googlegroups.com
My corrected box:
https://vagrantcloud.com/chef/debian-7.4

Sorry about the mistaken.

Bogdan B

unread,
Mar 27, 2014, 2:44:31 PM3/27/14
to vagra...@googlegroups.com
I had this issue a while ago, if I'm not very wrong this is due to VirtualBox ... it times out trying to find the VM and then Vagrant assumes there's none and just creates a new one. 
But I'm not 100% sure on the facts :)

Still the solution is to check your "C:\Users\{user}\VirtualBox VMs" folder (where VirtualBox saves them)  ... depending on your usage you might have multuple subfolders so pick the folder that looks to be correct (look for the date modified and name). 
In that folder you'll find an xml file named {vm_name}.vbox-prev. Open the file and look for (should be line 9)  <Machine uuid="{_some_id_}".
Copy that id and go to your project folder (where you're doing vagrant up) and open .vagrant\machines\default\virtualbox\id, you'll find an id there and if it's different just replace it.

Cheers,
Bogdan






--
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.

Tuan Nguyen Huy

unread,
Mar 28, 2014, 5:24:14 AM3/28/14
to vagra...@googlegroups.com
Brilliant!

Your theory is correct. I can fix it now.
Thank you very much Bogdan.

Best Regards,
Tuan
Reply all
Reply to author
Forward
0 new messages