This commit is contained in:
archer 2025-02-04 23:23:40 +08:00
parent 9ac8908e25
commit 2f6fca1a6d
No known key found for this signature in database
GPG Key ID: 4446499B846D4A9E

View File

@ -9,14 +9,19 @@ weight: 804
## 更新指南
### 1. 更新环境变量
### 1. 做好数据库备份
### 2. 更新环境变量
如果有很早版本用户,配置了`ONEAPI_URL`的,需要统一改成`OPENAI_BASE_URL`
### 1. 更新镜像:
### 3. 更新镜像:
- 更新 fastgpt 镜像 tag: v4.8.20
- 更新 fastgpt-pro 商业版镜像 tag: v4.8.20
- Sandbox 镜像无需更新
### 2. 运行升级脚本
### 4. 运行升级脚本
从任意终端,发起 1 个 HTTP 请求。其中 {{rootkey}} 替换成环境变量里的 `rootkey`{{host}} 替换成**FastGPT 域名**。
@ -26,7 +31,7 @@ curl --location --request POST 'https://{{host}}/api/admin/initv4820' \
--header 'Content-Type: application/json'
```
自动把原配置文件的模型加载到新版模型配置中
脚本会自动把原配置文件的模型加载到新版模型配置中
## 完整更新内容