Repo subtree is set to 'site' but that path does not exist in the repo

Having trouble deploying my sage/bedrock wordpress site. It was working before, but after returning to my project after a few months I’m getting this error

repo subtree is set to 'site' but that path does not exist in the repo. Edit
`repo_subtree_path` for 'designstatements.com' in `wordpress_sites.yml`.
fatal: [159.65.239.244]: FAILED! => {"changed": false, "failed": true}

I tried commenting out the repo_subtree_path assignment, but that just breaks my production site…

Has anyone run into this issue, and have any helpful pointers?

I have to ask the obvious question… but does your Git repository in repo have a directory in its root called site?

Thanks for getting back to me so quickly. I realized the issue was in group_vars/production/wordpress_sites.yml. I had set the canonical variable to the development site site, instead of the production url. When I change it to the IP everything started working again.

Hope this helps someone!

1 Like

This topic was automatically closed after 42 days. New replies are no longer allowed.