# Confusion on deploy

**URL:** https://discourse.roots.io/t/confusion-on-deploy/5811
**Category:** trellis
**Created:** 2016-02-01T17:33:30Z
**Posts:** 16
**Showing post:** 13 of 16

## Post 13 by @miklb — 2016-02-02T09:02:00Z

Just a follow up, in case some one has any insight.

I commented out that particular part of roles/deploy/hooks/finalize-after.yml but got the same error when trying trying to update the db in a multisite instance.

I ultimately went about testing if I could deploy a non-multisite instance without using a subdomain and was successful.

So somewhere along the line, I’m getting that `Error: Site example.com/ not found` when trying to update the database in multisite. I did see a suggestion to [add the url to the wp-cli.yml file](https://discourse.roots.io/t/wp-cli-doesnt-work-on-multisite-subfolders/5002) but not sure how that would affect local dev, or if it would do anything. I did try adding --url=[example.com](http://example.com) to `wp core update-db --network` to no avail.

Pretty stumped, but appreciate the responses thus far.

---

_[View the full topic](https://discourse.roots.io/t/confusion-on-deploy/5811)._
