vccw
vccw copied to clipboard
VCCW with 'vagrant up' or 'vagrant up --provision' do not work on a Mac
Operating System: Mac OS Vagrant Version: Latest (12 Sept, 2020) Virtual Box Version: Latest
I normally love discovering and trying new things, but this has been a mess from the start. I knew I should have bailed after seeing install instructions that just didn't care ("download the zip" - And what? ).
Anyway, after trial and error, figure out I needed to create a directory of my choose, unzip, put the folder contents in that new directory, and then all look good.
Except after all that, on a Mac, it doesn't work.
After using 'vagrant box add vccw-team/xenial64' , If I run vagrant up, I'm told I need to run vagrant provision or vagrant up --provision
None of those work. Nothing is started, no local server is available.
On the first run I had it working, but then the connection went for no apparent reason while I was navigating Wordpress admin. After that, it was the runaround of the 3 commands above.
Before I give up on this, is there any sensible way to make this work on a Mac?
I'm not looking for vagrant destroy then vagrant up. Not only does that not work, but it takes ages and ends up at the same place.
It's clear this is a big issue. You look aroung and see the questions, but there are not solutions out there that I have found. Just vague references to needing to use --provision, but that actually doesn't work (no local server is run). Lets gets some proper Mac instructions out there and save this huge time-waste for those new to Vagrant.
If there's any chance I can figure this out soon, I'll help write some tutorial. I absolutely hate the time that these things waste for other people.
Hi @seffw, I've been using VCCW on OSX for a long time with no major issues.
Here are the steps I take in settings up a new VCCW repository:
- Download and Extract VCCW.zip
- Move and rename to a folder of your choosing. I will use
~/Projects/wordpress - Copy
~/Projects/wordpress/provision/default.ymlto~/Projects/wordpress/site.yml - Edit the
~/Projects/wordpress/site.yml- I normally just update
hostnameand leave the rest
- I normally just update
- Run
vagrant plugin install vagrant-hostsupdater - Run
vagrant box add vccw-team/xenial64 - Run
vagrant up
Now you can use vagrant halt and vagrant up as you like. If you change site.yml you must run vagrant up --provision.