mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-18 01:00:53 +00:00

* perf: introduce BullMQ for website sync (#4403) * perf: introduce BullMQ for website sync * feat: new redis module * fix: remove graceful shutdown * perf: improve UI in dataset detail - Updated the "change" icon SVG file. - Modified i18n strings. - Added new i18n string "immediate_sync". - Improved UI in dataset detail page, including button icons and background colors. * refactor: Add chunkSettings to DatasetSchema * perf: website sync ux * env template * fix: clean up website dataset when updating chunk settings (#4420) * perf: check setting updated * perf: worker currency * feat: init script for website sync refactor (#4425) * website feature doc --------- Co-authored-by: a.e. <49438478+I-Info@users.noreply.github.com>
1.3 KiB
1.3 KiB
title, description, icon, draft, toc, weight
title | description | icon | draft | toc | weight |
---|---|---|---|---|---|
V4.9.4(进行中) | FastGPT V4.9.4 更新说明 | upgrade | false | true | 796 |
升级指南
1. 做好数据备份
1. 安装 Redis
- docker 部署的用户,参考最新的
docker-compose.yml
文件增加 Redis 配置。增加一个 redis 容器,并配置fastgpt
,fastgpt-pro
的环境变量,增加REDIS_URL
环境变量。 - Sealos 部署的用户,在数据库里新建一个
redis
数据库,并复制内网地址的 connection
作为redis
的链接串。然后配置fastgpt
,fastgpt-pro
的环境变量,增加REDIS_URL
环境变量。
![]() |
![]() |
![]() |
2. 更新镜像 tag
3. 执行升级脚本
该脚本仅需商业版用户执行。
从任意终端,发起 1 个 HTTP 请求。其中 {{rootkey}} 替换成环境变量里的 rootkey
;{{host}} 替换成FastGPT 域名。
curl --location --request POST 'https://{{host}}/api/admin/initv494' \
--header 'rootkey: {{rootkey}}' \
--header 'Content-Type: application/json'
脚本功能
- 更新站点同步定时器
🚀 新增内容
- 集合数据训练状态展示
- SMTP 发送邮件插件
- BullMQ 消息队列。
- 站点同步支持配置训练参数。