labring / labring/FastGPT

从4.14.7升级到4.15.1,历史的已索引知识库点击无法浏览分块数据,直接报错跳出。

Open
#7,284 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
29.6k
Forks
7.3k
Avg merge
1d 7h
Merged PRs (30d)
152

Description

**例行检查**

[//]: # '方框内填 x 表示打钩'

- [x] 我已确认目前没有类似 issue
- [x] 我已完整查看过项目 README,以及[项目文档](https://doc.fastgpt.io/introduction/)
- [x] 我使用了自己的 key,并确认我的 key 是可正常使用的
- [x] 我理解并愿意跟进此 issue,协助测试和提供反馈
- [x] 我理解并认可上述内容,并理解项目维护者精力有限,**不遵循规则的 issue 可能会被无视或直接关闭**

**你的版本**

- [ ] 公有云版本
- [x] 私有部署版本, 具体版本号: 4.15.1

**问题描述, 日志截图,配置文件等**
私有化部署的商业版,从4.14.7升级至4.15.1版本后,原有的历史知识库,在知识库界面中点击某个文件数据集,正常应进入该文件数据集已索引分块的内容显示页面,可手动点击和编辑分块中的问题、答案、数据索引。现在的情况是点击即立刻弹出报错红色框,分块列表一闪就退出到上层页面,无法进入,但是搜索测试可以检索到数据。所有升级前的历史知识库都有此问题,如果是升级后新建一个知识库,则操作正常,能够正常查看编辑分块数据。
升级后已经按照文档执行了相关的脚本和命令。

**复现步骤**
1.从4.14.7旧版本升级至4.15.1,旧版本存在已分块索引的文件数据集知识库。
2.升级后查看分块数据。
**预期结果**
能够对升级前的历史知识库中的数据集进行分块编辑查看。
**相关截图**

Image
Image
Image
Image
Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the upgrade from 4.14.7 to 4.15.1 with an existing indexed knowledge base, then compare viewing an upgraded dataset with a newly created one. Use the error shown when opening the chunk list to trace the failing path. Done means historical chunks can be opened, viewed, and edited after upgrading while search continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.