diff --git a/docs-2.0-en/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md b/docs-2.0-en/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md index 4cfc243447e..781703ed010 100644 --- a/docs-2.0-en/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md +++ b/docs-2.0-en/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md @@ -259,7 +259,7 @@ graphd: `9669:9669` indicates the internal port 9669 is uniformly mapped to external ports, while `19669` indicates the internal port 19669 is randomly mapped to external ports. -### How to upgrade or update the docker images of NebulaGraph services +### How to upgrade or update the docker images of NebulaGraph services? 1. In the `nebula-docker-compose/docker-compose.yaml` file, change all the `image` values to the required image version. @@ -277,10 +277,18 @@ You may meet the following error. You have met the rate limit of Docker Hub. Learn more on [Understanding Docker Hub Rate Limiting](https://www.docker.com/increase-rate-limit). -### How to update the NebulaGraph Console client +### How to update the NebulaGraph Console client? The command `docker-compose pull` updates both the NebulaGraph services and the NebulaGraph Console. +### How to activate storaged containers when they remain in `offline` status? + +The activation script for storaged containers in Docker Compose may fail to run in rare cases. You can connect to NebulaGraph with [NebulaGraph Console](../../nebula-console.md) or [NebulaGraph Studio](../../nebula-studio/deploy-connect/st-ug-connect.md) and then manually run the `ADD HOSTS` command to activate them by adding the storaged containers to the cluster. An example of the command is as follows: + +```nql +nebula> ADD HOSTS "storaged0":9779,"storaged1":9779,"storaged2":9779 +``` + ## Related documents - [Install and deploy NebulaGraph with the source code](1.install-nebula-graph-by-compiling-the-source-code.md) diff --git a/docs-2.0-zh/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md b/docs-2.0-zh/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md index 8d51a7ef4f7..8ca6c73a3a6 100644 --- a/docs-2.0-zh/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md +++ b/docs-2.0-zh/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md @@ -278,6 +278,15 @@ graphd: `docker-compose pull`会同时更新 {{nebula.name}} 服务和 NebulaGraph Console。 +### Storaged 容器一直处于`offline`状态 + +在小概率的情况下,Docker Compose 中的 Storaged 激活脚本并没有在适当的时机得到执行。如果发现 Storaged 容器的健康状态一直是`offline`,可以通过 [NebulaGraph Console](../../nebula-console.md) 或者 [NebulaGraph Studio](../../nebula-studio/deploy-connect/st-ug-connect.md) 连接 NebulaGraph,并手动执行`ADD HOSTS`命令对其进行激活。激活命令示例如下: + +```ngql +nebula> ADD HOSTS "storaged0":9779,"storaged1":9779,"storaged2":9779 +``` + +