When I get to step #8.1 where I vagrant up, it gives me this error:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Couldn't open file /Users/[username]/Sites/[project-name]/base
I’m not sure what I’m doing wrong. It vagrants up just fine when I do it inside the Trellis folder, but the example project specifically says to drag the vagrantfile into the root. I’m assuming that’s where I’m supposed to run it.
Any clarification or tips on what I might be doing wrong would be extremely helpful, thanks guys!
Can you please post the contents of your Vagrantfile and also group_vars/development? I think personally it would be easier for you to follow the roots documentation as it should be reliable but it also means that we are all on the same page so to speak.
EDIT: Please post your project folder structure too.
@austin beat me to it, but yeah, you have two copies of the Vagrantfile. The one in your project root has almost everything commented out. I’m guessing you just need to replace it with the Vagrantfile currently in your trellis directory, like in the example project step 5.
Cool, I had no idea what /etc/exports was, or where it was located– but this answer on Stackoverflow solved it for me.
Well now I’ve vagrant’ed up and my VM is running. It seems like I’ve done the installation process correctly, which is awesome. But now I have a really stupid question.
Idk which local web address to pull up Sage. My /group_vars/development file says example.dev, but that doesn’t seem to pull it up.
I think I might have missed an important step within Wordpress configuration. Before Trellis I was using VVV and I didn’t have to configure anything manually.
You were mostly right about vagrant-hostupdater. I actually had installed it, but the file was corrupt. /etc/hosts had multiple domain names listed. I think that’s probably due to updating group_vars/development after running vagrant up. Seems to work fine if you do a vagrant reload.