mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 20:37:48 +00:00
24 lines
559 B
Markdown
24 lines
559 B
Markdown
---
|
|
title: '升级到 V4.4.2(包含升级脚本)'
|
|
description: 'FastGPT 从旧版本升级到 V4.4.2 操作指南'
|
|
icon: 'upgrade'
|
|
draft: false
|
|
toc: true
|
|
weight: 843
|
|
---
|
|
|
|
## 执行初始化 API
|
|
|
|
发起 1 个 HTTP 请求 (记得携带 `headers.rootkey`,这个值是环境变量里的)
|
|
|
|
1. https://xxxxx/api/admin/initv442
|
|
|
|
```bash
|
|
curl --location --request POST 'https://{{host}}/api/admin/initv442' \
|
|
--header 'rootkey: {{rootkey}}' \
|
|
--header 'Content-Type: application/json'
|
|
```
|
|
|
|
会给初始化 Mongo 的 Bill 表的索引,之前过期时间有误。
|
|
|