# Repository\_verification\_exception

**URL:** <https://discuss.elastic.co/t/repository-verification-exception/336859>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [June 26, 2023, 4:08am UTC](https://discuss.elastic.co/t/repository-verification-exception/336859 "2023-06-26T04:08:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tungnx1](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tungnx1](https://discuss.elastic.co/u/tungnx1)\
**Post date:** [June 26, 2023, 4:08am UTC](https://discuss.elastic.co/t/repository-verification-exception/336859/1 "2023-06-26T04:08:33Z")

</div>

Hi,

I cannot create repo, before that i made a normal backup and restore. However after reconfiguring elasticsearch.yml:  
Master nodes:

- voting only  
Data 1:
- master  
I then try to do it at repo creation but get below error:

```auto
{
  "error": {
    "root_cause": [
      {
        "type": "repository_verification_exception",
        "reason": "[cluster-snap] [[bR_naISgSlaeGwR6WqM3tA, 'org.elasticsearch.transport.RemoteTransportException: [elk-data-node1][x.x.x.x:9300][internal:admin/repository/verify]']]",
        "suppressed": [
          {
            "type": "repository_verification_exception",
            "reason": "[cluster-snap] a file written by master to the store [/data/elastic-backups] cannot be accessed on the node [{elk-data-node1}{bR_naISgSlaeGwR6WqM3tA}{Iyu4Af3dTVmb7stMV3ynAA}{elk-data-node1}{x.x.x.x}{x.x.x.x:9300}{dr}{8.7.1}{xpack.installed=true}]. This might indicate that the store [/data/elastic-backups] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node"
          }
        ]
      }
    ],
    "type": "repository_verification_exception",
    "reason": "[snap] [[bR_naISgSlaeGwR6WqM3tA, 'org.elasticsearch.transport.RemoteTransportException: [elk-data-node1][x.x.x.x:9300][internal:admin/repository/verify]']]",
    "suppressed": [
      {
        "type": "repository_verification_exception",
        "reason": "[snap] a file written by master to the store [/elastic-backups] cannot be accessed on the node [{elk-data-node1}{bR_naISgSlaeGwR6WqM3tA}{Iyu4Af3dTVmb7stMV3ynAA}{elk-data-node1}{x.x.x.x}{x.x.x.x:9300}{dr}{8.7.1}{xpack.installed=true}]. This might indicate that the store [/data/elastic-backups] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node",
        "caused_by": {
          "type": "no_such_file_exception",
          "reason": "/data/elastic-backups/tests-fvYQMcOgR2yXhpMHYEnftg/master.dat"
        }
      }
    ]
  },
  "status": 500
}

```

Is this a CA gene? currently 3 nodes are still running

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [June 26, 2023, 12:55pm UTC](https://discuss.elastic.co/t/repository-verification-exception/336859/2 "2023-06-26T12:55:02Z")

</div>

How did you create the repository?

Also, is the path `/data/elastic-backups` a network share and it is mounted in **every** master and data node on the cluster?

---

<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:** [July 24, 2023, 12:55pm UTC](https://discuss.elastic.co/t/repository-verification-exception/336859/3 "2023-07-24T12:55:25Z")

</div>

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