Skip to content

WebChat超长会话在升级后不显示在新版UI对话记录中 #9474

Description

@sigma-sum-node

问题描述

从旧版升级至最新版后,WebChat超长会话不在新版WebUI的"对话记录"中显示。

环境

  • AstrBot:最新版(2026-07-30升级)
  • 部署:Windows本地直装
  • 平台:WebChat
  • 会话ID:8774101a-53a5-4e65-8eb4-bf1fcdb7ce51
  • 会话时长:2026-06-12 至 2026-07-30(近两个月)
  • 消息数:16,078条

现象

  1. 数据未丢失——platform_message_history表中有完整的20,599条消息
  2. 新版UI的对话记录页面看不到该会话
  3. webchat_threads表为空(0条记录)
  4. 已尝试:重置migration_done_webchat_session_1迁移旗 + 手动在conversations表中注册会话。重启后仍未显示

推测

新版UI的conversations索引未覆盖超长WebChat会话(两个月以上)。类似问题在旧版本中已有报告(#3722#8232)。

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:platformThe bug / feature is about IM platform adapter, such as QQ, Lark, Telegram, WebChat and so on.area:webuiThe bug / feature is about webui(dashboard) of astrbot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions