# Error when running \`yarn es snapshot\` in development

**URL:** <https://discuss.elastic.co/t/error-when-running-yarn-es-snapshot-in-development/162401>\
**Category:** Kibana\
**Created:** [December 29, 2018, 8:20am UTC](https://discuss.elastic.co/t/error-when-running-yarn-es-snapshot-in-development/162401 "2018-12-29T08:20:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronoah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaronoah/32/27950_2.png) [@aaronoah](https://discuss.elastic.co/u/aaronoah)\
**Post date:** [December 29, 2018, 8:20am UTC](https://discuss.elastic.co/t/error-when-running-yarn-es-snapshot-in-development/162401/1 "2018-12-29T08:20:46Z")

</div>

I came across the same post:

> [@Error Not Found while running Elasticsearch](https://discuss.elastic.co/t/error-not-found-while-running-elasticsearch/150709):
>
> Ubuntu 18.04 NodeJS 8.11.3 Kibana tag v6.3.2 Repo [https://github.com/elastic/kibana.git](https://github.com/elastic/kibana.git) I executed yarn es snapshot --license oss And got the following error: yarn run v1.10.1 $ node scripts/es snapshot --license oss info Installing from snapshot │ info version: 6.3.2 │ info install path: /media/trex/safe1/Development/siren/kibana\_6\_3/.es/6.3.2 │ info license: oss │ info downloading from https://snapshots.elastic.co/downloads/elasticsearch/elasticsearch-oss-6.3.2-SNAPS…

There is something down on the server backend of [snapshots.elastic.co](http://snapshots.elastic.co). I tried many versions like 6.4.4, 6.4.3 and so on, they don't exist on the server.  
@thomasneirynck

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [January 4, 2019, 12:01am UTC](https://discuss.elastic.co/t/error-when-running-yarn-es-snapshot-in-development/162401/2 "2019-01-04T00:01:35Z")

</div>

`yarn es` uses snapshots from our nightly unified snapshot jobs. These are placed into an S3 bucket with a TTL, so they don't last forever. Since it's been quite sometime that 6.4 has been released, it's not expected to be available.

There are a couple options.

You can run Elasticsearch from source on the same branch. If you place the `elasticsearch` as a sibling to `kibana` you can run `yarn es source` and it will do all the building/running for you.

Alternatively, and probably the simplest option, you can download an Elasticsearch build and run it on your own.

---

<div class="post-metadata">

**Author:** ![aaronoah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaronoah/32/27950_2.png) [@aaronoah](https://discuss.elastic.co/u/aaronoah)\
**Post date:** [January 13, 2019, 6:50am UTC](https://discuss.elastic.co/t/error-when-running-yarn-es-snapshot-in-development/162401/3 "2019-01-13T06:50:07Z")

</div>

Thanks for your help! I think it would be better to put it into the CONTRIBUTING doc.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 10, 2019, 6:50am UTC](https://discuss.elastic.co/t/error-when-running-yarn-es-snapshot-in-development/162401/4 "2019-02-10T06:50:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
