Skip to content

Commit

Permalink
modified: docs/installation/offline_upgrade.md
Browse files Browse the repository at this point in the history
	modified:   docs/installation/online_upgrade.md
  • Loading branch information
xhy12 committed Aug 15, 2023
1 parent ee1b881 commit 936c58d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/installation/offline_upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,23 @@ description: MeterSphere 一站式开源持续测试平台官方文档。MeterSp
## 1 下载并解压安装包
!!! ms-abstract ""
按照本文档 [离线安装](./offline_installation.md) 步骤, 下载新版本安装包并上传解压后, 重新执行安装命令进行升级。<br>
【注意】如果升级版本跨度较大:如 V1.x-lts 升级至 V2.x-lts 版本,由于跨多版本新增功能较多,且 v2.8.1 之后docker 使用版本升级,升级过程建议按照升级指南操作升级: [MeterSphere 企业版1.20 LTS 至2.10 LTS 升级指南](https://kb.fit2cloud.com/?p=9a46f075-5cfe-46de-81f8-ab5278699697)。如果升级版本跨度不大,则按照下面说明升级即可。
【注意】如果升级版本跨度较大:如 V1.x 升级至 V2.x 最新版本,由于跨多版本新增功能较多,且 v2.8.1 之后docker 使用版本升级,升级过程建议按照升级指南操作升级: [MeterSphere 企业版1.20 LTS 至2.10 LTS 升级指南](https://kb.fit2cloud.com/?p=9a46f075-5cfe-46de-81f8-ab5278699697)。如果升级版本跨度不大,则按照下面说明升级即可。

## 2 执行安装命令
!!! ms-abstract ""

```
#升级前停止服务
msctl stop

MeterSphere 安装包下载链接: https://github.com/metersphere/metersphere/releases

# 下载在线安装包
wget https://github.com/metersphere/metersphere/releases/download/v2.x.y/metersphere-online-installer-v2.x.y.tar.gz

# 解压在线安装包
tar -zxvf metersphere-online-installer-v2.x.y.tar.gz

# 进入离线部署包解压缩目录
cd metersphere-offline-installer-v2.x.y

Expand Down
6 changes: 6 additions & 0 deletions docs/installation/online_upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ description: MeterSphere 一站式开源持续测试平台官方文档。MeterSp
## 1 一键升级至最新版本
!!! ms-abstract ""
```
#升级前停止服务
msctl stop

# 升级至最新版本
msctl upgrade

Expand All @@ -20,6 +23,9 @@ description: MeterSphere 一站式开源持续测试平台官方文档。MeterSp
## 2 一键升级至指定版本
!!! ms-abstract ""
```
#升级前停止服务
msctl stop

# 升级至指定版本
msctl upgrade v2.x.y

Expand Down

0 comments on commit 936c58d

Please sign in to comment.