This is the last problem in a long series of issues I’ve has recently. I am on OSX Catalina and recently ran into problems when Python was updated. It is now fixed (after installing both python2 and python 3 using Homebrew) and vagrant is running again.
My new problem is that the ‘current’ folder is not filled during ‘vagrant up’. When SSHing into the vagrant server I can only see an empty ‘web’ folder in it. This is happening on a 2 year old Trellis install. I updated Trellis to try to fix this (updated all files apart from the group_vars, hosts and hooks) but still get the same error.
The exact error message is
Composer could not find a composer.json file in /srv/www/website.com/current
I have gone through a couple threads about this issue without any success. It looks like a permission issue but I’m out of ideas on how to fix this.
Edit: After looking further into this, there isn’t even a ‘releases’ folder on the vagrant folder