Hi,


I’m a bit freaked out. Posting this in case anyone can help.


I've used Scotchbox <http://box.scotch.io/> for a while for different 
projects. It's great, but yesterday I encountered a critical problem. I 
don’t think the problem is in Scotchbox as such, but I don’t know how to 
fix it.


Recently I was building a Wordpress site, and all was fine. Yesterday I 
start up that Scotchbox install as usual (via Vagrant Manager under 
OSX10.11.2) and go to my custom url (name.dev) and I get the initial window 
you find in Wordpress *before* a database has been created.


I immediately halted the Scotchbox VM.


Opening Virtualbox, I can see (for reasons unknown) three VMs with the name 
I chose for the project: one whose name I edited in Virtualbox when I first 
created the project (getting rid of "default” and the number string in its 
name), and another two with "name_default_xxxxxxxxxxxxxx".


What I hope is that for some reason Vagrant Up is starting the wrong box, 
and that in one of those VMs is my database. 


This is my Vagrantfile:


Vagrant.configure("2") do |config|


    config.vm.box = "scotch/box"

    config.vm.network "private_network", ip: "192.168.33.20"

    config.vm.hostname = “name.dev"

    config.vm.synced_folder ".", "/var/www", :mount_options => 
["dmode=777", "fmode=666"]

    config.ssh.username = "vagrant"

    config.ssh.password = "vagrant"

    

end


When I start up the VM from Vagrant Manager, and then use Sequel Pro to SSH 
into the my custom private network IP, I can get in, see the database 
(named scotchbox, the default name), open it, but there's no tables there.


Again: maybe Vagrant is starting up the wrong VM? If so, I have no clue how 
this happened.


So: 


1) Is there a way to repoint my Vagrantfile so it starts up, in turn, the 
other two VMs that show up in Virtualbox? That way, I can start them up and 
see if my Wordpress site is alive and well in one of them.


2) Is there any other way of physically tracing my database in my file 
system, or even the file system of the three VMs? Where does Scotchbox 
store databases??



I'm pretty screwed if I lost that database. I didn't (stupidly) take a 
backup within Wordpress. I can think of no reason or action that would wipe 
it. But I did update the Virtualbox app itself, and the Extension Pack. But 
that's pretty much all I changed recently.


Worryingly, my other Scotchbox installs appear to be okay.


Any thoughts, help or guidance much appreciated!



In replies, as I’m not technically strong, please explain as if talking to 
a small child, or a labridor.


best,

ian

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/8828934b-92eb-47a1-8e54-7c1c3ea764ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to