Files
Nexus/docs/changelog/2026-06-06-nx-god-menu-audit-round2.md
T
Nexus Deploy 314bece418 fix(deploy): 验收脚本已安装时跳过 install API 检查
锁定后 /api/install/* 返回 403 属预期,不应判 FAIL。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 21:53:43 +08:00

1.1 KiB
Raw Blame History

nx 上帝菜单巡检第二轮修补

内容
日期 2026-06-06
动机 继续巡检 deploy/nx 链路:全新安装与持久化卷冲突、验收脚本误判、回滚网络

变更摘要

  1. 全新安装 vs nexus-state 卷FRESH_INSTALL 时清除卷内旧 .env/.install_lockedNEXUS_INSTALL_WIZARD_PENDING=1 时 entrypoint 不恢复旧配置、从 .bak 恢复 install.html
  2. 回滚rollback_compose_upgrade 在仍未接入 1panel-network 时返回失败。
  3. 验收脚本verify-1panel-install-wizard.sh 已安装时期望 install.html → 404,并跳过 install API 检查(403 为预期)。
  4. nx 菜单ops_status 区分已归档;菜单 [2] 全新安装对已安装栈二次确认。

涉及文件

  • docker/entrypoint.sh
  • deploy/nexus-1panel.sh
  • deploy/nx
  • deploy/verify-1panel-install-wizard.sh

验证

bash -n deploy/nx && bash -n deploy/nexus-1panel.sh && bash -n docker/entrypoint.sh
bash deploy/verify-1panel-install-wizard.sh  # 已安装应 PASS install.html 404