You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm guessing that it's currently ../site, which is resolving to /vagrant/../site, which is /site, which doesn't exist. You should change that to something like /srv/www/example.com/current.
Alternatively, you can move your Vagrantfile one level up so that it sits alongside your trellis and site folders. This is how we used to do it in roots-example-project. Just make sure to change your ANSIBLE_PATH in Vagrantfile to something like File.join(__dir__, 'trellis') [ref]. This will put your site files in /vagrant/site and your trellis stuff in /vagrant/trellis. Now local_path: ../site will resolve to /vagrant/trellis/../site, which is /vagrant/site, which exists.
Yeah. In fact, I think roots/trellis#705 might have even made things worse in this regard insofar that there doesn't appear to be a cross-platform way to resolve local_path like there used to be. So this might need to be taken to the trellis repo since it could possibly be considered a regression.
Some genius wrote this:
https://discourse.roots.io/t/trellis-bedrock-sage-on-windows-issue-with-build-before-yml/7825/6
The latter suggestion of moving Vagrantfile up one level has the added benefit of making the settings work cross-platform.
The text was updated successfully, but these errors were encountered: