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

**URL:** https://discourse.roots.io/t/repo-subtree-is-set-to-site-but-that-path-does-not-exist-in-the-repo/17771
**Category:** trellis
**Created:** 2020-03-02T01:54:52Z
**Posts:** 4

## Post 1 by @jillii — 2020-03-02T01:54:52Z

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?

---

## Post 2 by @swalkinshaw — 2020-03-02T02:46:11Z

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

---

## Post 3 by @jillii — 2020-03-02T02:52:32Z

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!

---

## Post 4 by @system — 2020-04-13T01:54:55Z

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