# Repository-s3 plugin not installed

**URL:** <https://forum.opensearch.org/t/repository-s3-plugin-not-installed/19553>\
**Category:** OpenSearch\
**Created:** [May 26, 2024, 10:38am UTC](https://forum.opensearch.org/t/repository-s3-plugin-not-installed/19553 "2024-05-26T10:38:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![idan17](https://avatars.discourse-cdn.com/v4/letter/i/ccd318/32.png) [@idan17](https://forum.opensearch.org/u/idan17)\
**Post date:** [May 26, 2024, 10:38am UTC](https://forum.opensearch.org/t/repository-s3-plugin-not-installed/19553/1 "2024-05-26T10:38:48Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):

**Describe the issue** :  
I deployed opensearch with helm chart in an air gapped environment.  
i want to download the s3-repository plugin.

i took the zip folder with the plugin, copied it to the container and ran :  
./bin/opensearch-plugin install file:/path-to-my-file

the plugin was installed and when running:  
./bin/opensearch-plugin list  
i see the ‘repository-s3’ plugin in the list.

the problem is when trying to create a repository i get the error:

“type”: “repository\_exception”,  
reason: “[my-repo] repository type [s3] does not exist”

and when accessing the \_cat/plugins endpoint i cant see my new plugin.

**Configuration** :

**Relevant Logs or Screenshots** :

---

<div class="post-metadata">

**Author:** ![idan17](https://avatars.discourse-cdn.com/v4/letter/i/ccd318/32.png) [@idan17](https://forum.opensearch.org/u/idan17)\
**Post date:** [May 26, 2024, 10:41am UTC](https://forum.opensearch.org/t/repository-s3-plugin-not-installed/19553/2 "2024-05-26T10:41:02Z")

</div>

i will also add that the repository exist in the path /plugins/repository-s3

---

<div class="post-metadata">

**Author:** ![idan17](https://avatars.discourse-cdn.com/v4/letter/i/ccd318/32.png) [@idan17](https://forum.opensearch.org/u/idan17)\
**Post date:** [May 27, 2024, 7:55am UTC](https://forum.opensearch.org/t/repository-s3-plugin-not-installed/19553/3 "2024-05-27T07:55:44Z")

</div>

ok i finally managed to install it, i had to modify the dockerfile of the opensearch to add the minio\_access\_key and minio\_secret\_key to the keystore as well as install the s3 in the building stage,

but now i have an error of :  
root\_cause:  
“type”: “repository\_verification\_exception”,  
“reason”: [my-repo] path [snapshots] is not accessible on cluster-manager node"

caused\_by: " {  
“reason” : “Unable to upload object [snapshots/tests-…/master.dat] using a single upload”  
“caused\_by”: “Unable to load region from any of the providers in the chain software.amazon.awssdk… unable to contact EC2 metadata service”  
}

how can i fix this and use the s3-repo plugin in my air gapped environment without contacting an aws.  
(I have Minio deployed)
