27 lines
808 B
Markdown
27 lines
808 B
Markdown
# 2026-06-05 — Redis 强制连通 + Compose Redis 卸载脚本
|
|
|
|
## 摘要
|
|
|
|
- 恢复安装向导步骤 2:**Redis 未连接则不可进入步骤 3**
|
|
- 新增 `deploy/uninstall-redis-compose.sh` 卸载遗留 `nexus-prod-redis` 容器
|
|
|
|
## 动机
|
|
|
|
用户自行安装 Redis,但环境检测必须验证连通;旧 Compose Redis 容器需单独卸载。
|
|
|
|
## 涉及文件
|
|
|
|
- `server/api/install.py` — Redis `pass: redis_ok`
|
|
- `web/app/install.html` — 步骤 2「下一步」在 `!envAllPass` 时禁用
|
|
- `deploy/uninstall-redis-compose.sh` — 新脚本
|
|
- `deploy/README-1panel.md` — 文档
|
|
|
|
## 服务器操作
|
|
|
|
```bash
|
|
cd /opt/nexus && git pull
|
|
bash deploy/uninstall-redis-compose.sh
|
|
apt install -y redis-server && systemctl enable --now redis-server
|
|
bash deploy/sync-install-wizard-to-container.sh
|
|
```
|