pingcap / docs-cn

TiDB/TiKV/PD 中文文档
https://docs.pingcap.com/zh
Other
1.81k stars 1.21k forks source link

离线升级缺少将 server 和 toolkit 两个离线镜像合并的操作,会报错Error: unknown component #9830

Closed qianhaohu closed 2 years ago

qianhaohu commented 2 years ago

File: /release-6.1/upgrade-tidb-using-tiup.md

离线部署需将 server 和 toolkit 两个离线镜像合并,执行以下命令合并离线组件到 server 目录下。

tar xf tidb-community-toolkit-${version}-linux-amd64.tar.gz
ls -ld tidb-community-server-${version}-linux-amd64 tidb-community-toolkit-${version}-linux-amd64
cd tidb-community-server-${version}-linux-amd64/
cp -rp keys ~/.tiup/
tiup mirror merge ../tidb-community-toolkit-${version}-linux-amd64

不然升级会报错:Error: unknown component

TomShawn commented 2 years ago

@qqqdan 能辛苦看看吗?谢谢