# Example project (trellis/bedrock) won't 'vagrant up'

**URL:** https://discourse.roots.io/t/example-project-trellis-bedrock-wont-vagrant-up/4259
**Category:** uncategorized
**Created:** 2015-07-16T02:26:16Z
**Posts:** 14

## Post 1 by @masoninthesis — 2015-07-16T02:26:16Z

In the example project it tells you to drop Trellis’s vagrantfile into the project root [like this](https://github.com/roots/roots-example-project.com)(so that it’s in the root, not Trellis folder).

Here is [the cheatsheet I’m following](http://jackalope.io/installing-trellis-and-bedrock/) (skip to step #4.0).

When I get to step #8.1 where I `vagrant up`, it gives me this error:

```
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn't open file /Users/[username]/Sites/[project-name]/base
```

I’m not sure what I’m doing wrong. It vagrants up just fine when I do it inside the Trellis folder, but the example project specifically says to drag the vagrantfile into the root. I’m assuming that’s where I’m supposed to run it.

Any clarification or tips on what I might be doing wrong would be extremely helpful, thanks guys!

---

## Post 2 by @Craig — 2015-07-16T03:01:59Z

Hi @masoninthesis,

Can you please post the contents of your Vagrantfile and also group\_vars/development? I think personally it would be easier for you to follow the roots documentation as it should be reliable but it also means that we are all on the same page so to speak.

EDIT: Please post your project folder structure too.

Craig

---

## Post 3 by @masoninthesis — 2015-07-16T22:31:30Z

Hey Craig,

Thanks for the response.

Here is the project: [https://github.com/masoninthesis/jackalope.io--3.0](https://github.com/masoninthesis/jackalope.io--3.0)

[Vagrantfile](https://github.com/masoninthesis/jackalope.io--3.0/blob/master/Vagrantfile)

[group\_vars/development](https://github.com/masoninthesis/jackalope.io--3.0/blob/master/trellis/group_vars/development)

---

## Post 4 by @austin — 2015-07-16T22:44:34Z

That Vagrantfile in your root is bogus. Open it up in a text editor.

---

## Post 5 by @fullyint — 2015-07-16T22:47:22Z

@austin beat me to it, but yeah, you have two copies of the `Vagrantfile`. The one in [your project root](https://github.com/masoninthesis/jackalope.io--3.0/blob/84faabfc2b010527f7dcce9821d51e18da2db3e4/Vagrantfile) has almost everything commented out. I’m guessing you just need to replace it with the `Vagrantfile` currently in your `trellis` directory, like in the [example project step 5](https://github.com/roots/roots-example-project.com/tree/c0197466d89df248d6e79c8fb4a2a9a7be460b96#instructions).

---

## Post 6 by @masoninthesis — 2015-07-16T22:53:21Z

Thanks guys!

So I fixed that, and I’m still not vagranting up right.

 ![](https://discourse.roots.io/uploads/default/original/2X/d/d59a4f868be2edc667f3bc6ee775d0505ef73a0a.png)

I tried changing the ansible\_path specified on line 14 to– ‘trellis/group\_vars/development’. But that gave me a much nastier error.

 ![](https://discourse.roots.io/uploads/default/original/2X/e/e8af26b3bcb2600a913af928573cfb8bd51f6b7a.png)

---

## Post 7 by @fullyint — 2015-07-16T23:00:49Z

What happens if you do [this from the example project step 5](https://github.com/roots/roots-example-project.com/tree/c0197466d89df248d6e79c8fb4a2a9a7be460b96#instructions):

> and update the [ANSIBLE\_PATH](https://github.com/roots/roots-example-project.com/blob/c0197466d89df248d6e79c8fb4a2a9a7be460b96/Vagrantfile#L6) to ‘ansible’

---

## Post 8 by @masoninthesis — 2015-07-16T23:07:32Z

I get this error, same as the first:

 ![](https://discourse.roots.io/uploads/default/original/2X/a/ab997859f8e5bad23966b479d8fc976727d5fab9.png)

It looks like the [Vagrantfile in the example project](https://github.com/roots/roots-example-project.com/blob/c0197466d89df248d6e79c8fb4a2a9a7be460b96/Vagrantfile#L11) is set to: `'group_vars/development'`

Edit: oh, standby, I’m onto something.

---

## Post 9 by @fullyint — 2015-07-16T23:18:40Z

Ok, now that your `Vagrantfile` is in your project root:

```
jackalope.io/
 ├── site/
 ├── trellis/
 └── Vagrantfile
```

I think you’re running into an issue having renamed the `ansible` directory `trellis`. You’ll need  
[`ANSIBLE_PATH = 'trellis'`](https://github.com/roots/roots-example-project.com/blob/c0197466d89df248d6e79c8fb4a2a9a7be460b96/Vagrantfile#L6)

---

## Post 10 by @masoninthesis — 2015-07-16T23:33:28Z

Rad! That makes so much sense. :stuck_out_tongue:

I’m still getting an error, but I’m a lot closer:

 ![](https://discourse.roots.io/uploads/default/original/2X/5/5605aafeeb427e7d433d22d9246995f1f0637f4c.png)

Idk where it’s getting ‘/example.com/’, because it should be ‘/jackalope.io/’ from, but I’ll do a fresh install and see if I can fix it.

---

## Post 11 by @austin — 2015-07-16T23:37:28Z

You need to open up /etc/exports in your favorite text editor and remove invalid entries

---

## Post 12 by @masoninthesis — 2015-07-17T19:54:56Z

Cool, I had no idea what `/etc/exports` was, or where it was located– but [this answer on Stackoverflow](http://stackoverflow.com/a/21497714) solved it for me.

Well now I’ve vagrant’ed up and my VM is running. It seems like I’ve done the installation process correctly, which is awesome. But now I have a really stupid question. :pensive:

[Here’s the current github repo.](https://github.com/masoninthesis/jackalope.io-3.1)

Idk which local web address to pull up Sage. My /group\_vars/development file says example.dev, but that doesn’t seem to pull it up.

I think I might have missed an important step within [Wordpress configuration](https://github.com/roots/trellis#wordpress-sites). Before Trellis I was using VVV and I didn’t have to configure anything manually.

---

## Post 13 by @austin — 2015-07-18T13:18:13Z

Go to /etc/hosts and see if example.dev shows up

If it’s not there I bet you $5 you skipped over the part in the readme that says to install vagrant-hostsupdater

---

## Post 14 by @masoninthesis — 2015-07-20T00:59:37Z

Perfect. It worked.

You were mostly right about vagrant-hostupdater. I actually had installed it, but the file was corrupt. `/etc/hosts` had multiple domain names listed. I think that’s probably due to updating `group_vars/development` after running `vagrant up`. Seems to work fine if you do a `vagrant reload`.

Thanks for sticking with me on that one Austin!
