问题描述
Nexus Media v4.4.5 前端提示 查询远程版本失败。
根因
site_config_updater.py 中硬编码查询的仓库地址:
https://api.github.com/repos/linyuan0213/nexus-media-sites/releases/latest
但该仓库 linyuan0213/nexus-media-sites 在 GitHub 上不存在,返回 404 Not Found。
正确存在的仓库是 linyuan0213/nexus-media(有 releases)。
错误日志
[SiteConfigUpdater]查询远程版本失败: Client error '404 Not Found' for url 'https://api.github.com/repos/linyuan0213/nexus-media-sites/releases/latest'
该警告会反复出现在后端日志中,前端也会弹窗提示。
环境
- 版本:v4.4.5
- 部署方式:Docker (Redis + MySQL)
- 系统:Debian 12
复现步骤
- 启动 Nexus Media
- 等待 SiteConfigUpdater 定时任务自动运行
- 查看日志出现上述 404 错误
- 前端提示“查询远程版本失败”
建议修复
将 site_config_updater.py 中硬编码的仓库名从 linyuan0213/nexus-media-sites 改为 linyuan0213/nexus-media,或使用环境变量配置可覆盖的仓库地址。
问题描述
Nexus Media v4.4.5 前端提示 查询远程版本失败。
根因
site_config_updater.py中硬编码查询的仓库地址:但该仓库
linyuan0213/nexus-media-sites在 GitHub 上不存在,返回 404 Not Found。正确存在的仓库是
linyuan0213/nexus-media(有 releases)。错误日志
该警告会反复出现在后端日志中,前端也会弹窗提示。
环境
复现步骤
建议修复
将
site_config_updater.py中硬编码的仓库名从linyuan0213/nexus-media-sites改为linyuan0213/nexus-media,或使用环境变量配置可覆盖的仓库地址。