AstrBot
AstrBot copied to clipboard
[Bug]最新Beta版登录显示Missing API key
What happened / 发生了什么
我正常更新版本,就在刚刚更新到了最新的beta版,然后用uv更新完后,上WebUI,然后输入正确的用户和密码登录提示Missing API key
Reproduce / 如何复现?
先通过AstrbotWebUI更新dashboard,然后用UV tool更新Astrbot,再登录就出现了
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
Astrbot:4.26.0-beta.1 部署UV Tool
OS
Windows
Logs / 报错日志
Are you willing to submit a PR? / 你愿意提交 PR 吗?
- [ ] Yes!
Code of Conduct
- [x] I have read and agree to abide by the project's Code of Conduct。
Hi @xiaoyang2981! I'm Dosu and I'm helping the AstrBotTeam team.
这个问题之前在 4.24.4 版本中也出现过,根本原因是前端 WebUI 版本与后端不匹配——新版本后端的登录接口发生了变化,但本地缓存的旧版 WebUI 资产没有更新,导致登录时报 "Missing API key" 错误 [1]。
解决方法: 删除 data/dist 文件夹,然后重启 AstrBot。这会强制重新下载最新版本的 WebUI 资产 [1]。
To reply, just mention @dosu.
Docs are dead. Just use Dosu.