bradp / vv

:globe_with_meridians: Variable VVV - a VVV Site Creation Wizard.‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ :x: This project is no longer maintained. Please update your copy of VVV , which has most of the vv features built in.
GNU General Public License v2.0
1k stars 89 forks source link

Vagrant status not being detected correctly #286

Closed ntwb closed 8 years ago

ntwb commented 8 years ago

Following #285:

Full shell output:

 Continue (y/n)? : y
[Success] New VVV setup starting for site 'multisite-bbpress' 
Checking to see if vagrant halt should be run... 
Vagrant not running, skipping `vagrant halt`... 
Creating site directory, wp-cli.yml, and vvv-init.sh file...  
Done
Adding multisite-bbpress.dev to new vvv-hosts file...  
Done
Creating nginx-config/sites/multisite-bbpress.conf...  
Done
Running vagrant up --provision...  
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/trusty64' is up to date...
==> default: A newer version of the box 'ubuntu/trusty64' is available! You currently
==> default: have version '20160406.0.0'. The latest is version '20160602.0.0'. Run
==> default: `vagrant box update` to update.
==> default: VirtualBox VM is already running.
==> default: Checking for host entries
==> default: adding to (/etc/hosts) : 192.168.50.4  multisite-bbpress.dev  # VAGRANT: 8434e946173a47257d90b7c82fd64da2 (default) / dfe74b72-edc3-446e-8ea7-d71d8fb60d6d
Password:
==> default: Running triggers after up...
==> default: Executing command "vagrant ssh -c vagrant_up"...
==> default: Command execution finished.
[Success] New VVV Site Setup: Done! 
Directory: /Users/netweb/dev/vvv/www/multisite-bbpress
URL:       multisite-bbpress.dev
Username:  admin
Password:  password
$ vagrant halt
==> default: Running triggers before halt...
==> default: Executing command "vagrant ssh -c vagrant_halt"...
==> default: Database buddypressorg_dev backed up...
==> default: Database developer-bbpressorg-dev backed up...
==> default: Database wordcamp_dev backed up...
==> default: Database wordpress_default backed up...
==> default: Database wordpress_develop backed up...
==> default: Database wordpress_trunk backed up...
==> default: Command execution finished.
==> default: Attempting graceful shutdown of VM...
==> default: Removing hosts

Vagrant was actually running:

Vagrant not running, skipping `vagrant halt`... 
==> default: VirtualBox VM is already running.

I then ran vagrant halt myself, and then vagrant up --provision

bradp commented 8 years ago

Can confirm this issue is present. Will fix.

ntwb commented 8 years ago

Thanks 👍