# Snapshot creation failed due to RepositoryMissingException

**URL:** <https://discuss.elastic.co/t/snapshot-creation-failed-due-to-repositorymissingexception/150152>\
**Category:** Elasticsearch\
**Created:** [September 27, 2018, 8:50am UTC](https://discuss.elastic.co/t/snapshot-creation-failed-due-to-repositorymissingexception/150152 "2018-09-27T08:50:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronshaiko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ronshaiko/32/35859_2.png) [@Ronshaiko](https://discuss.elastic.co/u/Ronshaiko)\
**Post date:** [September 27, 2018, 8:50am UTC](https://discuss.elastic.co/t/snapshot-creation-failed-due-to-repositorymissingexception/150152/1 "2018-09-27T08:50:22Z")

</div>

Hello,

Appreciate your help in the below issue:  
I'm trying to create a snapshot in s3 bucket. After running request to create the new snapshot, i'm checking the status of the new snapshot and i see that snapshot state is PARTIAL, due to RepositoryMissingException.

More information:  
cluster details:

```auto
{
  "name" : "node-1",
  "cluster_name" : "name-es",
  "cluster_uuid" : "IYV8gSRmqkQLsSw2OXwQ",
  "version" : {
    "number" : "2.4.6",
    "build_hash" : "5376dca9f70f3abef96a77f4bb22720ace8240fd",
    "build_timestamp" : "2017-07-18T12:17:44Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.4"
  },
  "tagline" : "You Know, for Search"
}

```

snapshot configuration:

```auto
curl localhost:9200/_cat/repositories
s3_repository s3

```

creation of new snapshot:

```auto
curl -XPUT localhost:9200/_snapshot/s3_repository/snap10
{"accepted":true}

```

get details about created snapshot:

```auto
curl localhost:9200/_snapshot/s3_repository/snap10?pretty
{
  "snapshots" : [ {
    "snapshot" : "snap10",
    "version_id" : 2040699,
    "version" : "2.4.6",
    "indices" : ["twitter"],
    "state" : "PARTIAL",
    "start_time" : "2018-09-27T08:24:13.431Z",
    "start_time_in_millis" : 1538036653431,
    "end_time" : "2018-09-27T08:24:13.823Z",
    "end_time_in_millis" : 1538036653823,
    "duration_in_millis" : 392,
    "failures" : [ {
      "index" : "twitter",
      "shard_id" : 1,
      "reason" : "RepositoryMissingException[[s3_repository] missing]",
      "node_id" : "0yJw77XwSX62rUnhDAAclw",
      "status" : "INTERNAL_SERVER_ERROR"
    }, {
      "index" : "twitter",
      "shard_id" : 0,
      "reason" : "RepositoryMissingException[[s3_repository] missing]",
      "node_id" : "WEzVGyjXSLWuzfD_w-sBlA",
      "status" : "INTERNAL_SERVER_ERROR"
    } ],
    "shards" : {
      "total" : 2,
      "failed" : 2,
      "successful" : 0
    }
  } ]
}

```

Also, all nodes has access to s3.

Can you please assist with the issue ? why the error says that RepositoryMissingException?  
Please let me know if more information is needed.

Thank you !  
Ron

---

<div class="post-metadata">

**Author:** ![Ronshaiko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ronshaiko/32/35859_2.png) [@Ronshaiko](https://discuss.elastic.co/u/Ronshaiko)\
**Post date:** [October 2, 2018, 8:28am UTC](https://discuss.elastic.co/t/snapshot-creation-failed-due-to-repositorymissingexception/150152/2 "2018-10-02T08:28:36Z")

</div>

Hi,

In the end the issue was that cloud-aws plugin was installed only on master node.  
Once i installed the plugin on the data nodes - it worked.

Thank you  
Ron

---

<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:** [October 30, 2018, 8:28am UTC](https://discuss.elastic.co/t/snapshot-creation-failed-due-to-repositorymissingexception/150152/3 "2018-10-30T08:28:47Z")

</div>

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