Hey guys, I’m relatively new to Vagrant, absolutely new to Ansibil, so bare with me.
I’m getting an error when I try to run Vagrant Up-
- The host path of the shared folder is missing: ‘…/workflowassassins.dev’
I know I’m missing something here, so let me run through how I set everything up, and maybe someone can clue me in to what I’m doing wrong.
I’m trying to set up a site called workflowassassins.dev. I’m running VirtualBox 4.3.20, Vagrant, Vagrant bindfs, Vagrant Hosts-updater (current versions), and Ansibil 1.8.
I set up a folder called “workflowassassins”, and inside of it created a folder called workflowassassins.dev for my Bedrock installation, and another folder called “bedrock-ansible” for that installation.
Ran composer-install in workflowassassins.dev folder. I did not create a .env file, as bedrock-ansible should take care of it for me.
Added the IP 192.168.50.5 and “workflowassassins.dev” to my etc/hosts file (which, I also am not sure was the correct action, since from my understanding, the hosts-updater plugin should do this automatically upon vagrant up. I assumed this because it says nothing about updating the Vagrantfile in the directions, and upon looking over the Vagrantfile it seems as though there is an if/than statement to take care of this for me if the plugin exists. Once again, if I’m wrong, please, by all means, let me know. )
Edited the group_vars/development file to the following-
mysql_root_password: devpw wordpress_sites: - site_name: workflowassassins.dev site_hosts: - workflowassassins.dev local_path: ‘../workflowassassins.dev’ # path targeting local project directory (relative to root/Vagrantfile) user: vagrant group: www-data site_install: true site_title: Workflow Assassins admin_user: admin admin_password: admin admin_email: firstname.lastname@example.org system_cron: true multisite: enabled: false env: wp_home: http://workflowassassins.dev wp_siteurl: http://workflowassassins.dev/wp wp_env: development db_name: workflowassassins_dev db_user: root db_password: root
I ran Vagrant Up, and receivved the error “* The host path of the shared folder is missing: ‘…/workflowassassins.dev’”
So, what am I missing? I was under the assumption from reading the Readme file that I wasn’t supposed to touch the Vagrantfile. I’ve looked over the directions a few times, and the only thing I can see that might be causing this is that in the Bedrock directions it says to set the Nginx path, however, how could I set that if I haven’t yet provisioned Vagrant? If I’m understanding this correctly, the local path is correct, but the host path is not set, but I’m not sure where I would do that.
I could be doing this all wrong, and if that is the case, if someone could let me know where I went wrong, that would be amazing. I tried to put this together from the Readme files, and past Vagrant projects I’ve worked on, but theres still some fuzzy parts in the middle I’m not sure about.