Staging Deploy Fails When New Plugin Is Added

I too was having the same problem of a deploy failing at Wordpress Installed?, and can confirm it had to do with the changes with Johnpbloch/wordpress. You’ll want to do the fix from this thread:

Local dev

# run commands in local machine Bedrock `site` dir
composer remove johnpbloch/wordpress
composer clear-cache
composer require johnpbloch/wordpress:4.7.3

# git add..., git commit..., git push...

Remote server

# run commands in local machine `trellis` dir
# edit `production` to be your <environment>
# edit `example.com` to be your site name

ansible "web:&production" -m command -a "composer clear-cache" -u web

ansible-playbook deploy.yml -e env=production -e site=example.com -e 'project_copy_folders=[]'
1 Like