# GCS repository plugin - restart node (docker)

**URL:** <https://discuss.elastic.co/t/gcs-repository-plugin-restart-node-docker/102004>\
**Category:** Elasticsearch\
**Created:** [September 27, 2017, 3:48pm UTC](https://discuss.elastic.co/t/gcs-repository-plugin-restart-node-docker/102004 "2017-09-27T15:48:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [September 27, 2017, 3:48pm UTC](https://discuss.elastic.co/t/gcs-repository-plugin-restart-node-docker/102004/1 "2017-09-27T15:48:57Z")

</div>

I'm used following [Install Elasticsearch with Docker | Elasticsearch Reference [5.6] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html) to span up elasticsearch cluster and now trying to integrate [Google Cloud Storage Repository Plugin | Elasticsearch Plugins and Integrations [5.6] | Elastic](https://www.elastic.co/guide/en/elasticsearch/plugins/current/repository-gcs.html) as well...

I'll quote part of "Google Cloud Storage Repository Plugin" document:

> The plugin must be installed on every node in the cluster, and each node must be restarted after installation.

I was able to install plugin without any issue, however restarting node/service is another issue:

```
root@elk11:~# docker exec -it elasticsearch11 bash
[elasticsearch@1231f1e0307c ~]$ bin/elasticsearch-plugin install repository-gcs
-> Downloading repository-gcs from elastic
[=================================================] 100%?? 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: plugin requires additional permissions @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessDeclaredMembers
* java.lang.RuntimePermission setFactory
* java.lang.reflect.ReflectPermission suppressAccessChecks
* java.net.URLPermission http://www.googleapis.com/* *:
* java.net.URLPermission https://www.googleapis.com/* *:
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.

Continue with installation? [y/N]y
-> Installed repository-gcs
[elasticsearch@1231f1e0307c ~]$ systemctl status elasticsearch
Failed to get D-Bus connection: Operation not permitted
[elasticsearch@1231f1e0307c ~]$ sudo systemctl status elasticsearch
bash: sudo: command not found
[elasticsearch@1231f1e0307c ~]$ service
bash: service: command not found
[elasticsearch@1231f1e0307c ~]$ exit
root@elk11:~/elastic/elasticsearch# docker-compose ps
     Name Command State Ports              
------------------------------------------------------------------------------------
elasticsearch11 /bin/bash bin/es-docker Up 0.0.0.0:9200->9200/tcp, 9300/tcp
root@elk11:~/elastic/elasticsearch# docker-compose restart
Restarting elasticsearch11 ... done
root@elk11:~/elastic/elasticsearch# 

```

I'm not sure how to restart node (service) other then restarting the whole docker container itself, If this isn't right way to go about it, what's the better way?

Please advise.

---

<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 25, 2017, 3:49pm UTC](https://discuss.elastic.co/t/gcs-repository-plugin-restart-node-docker/102004/2 "2017-10-25T15:49:07Z")

</div>

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