This commit is contained in:
eric
2026-03-29 04:08:02 -05:00
parent 7118bfd591
commit 63443ea854
3 changed files with 80 additions and 0 deletions

View File

@@ -56,6 +56,16 @@ Use this when the device should only run the Douyin or YouTube business stack.
**Older business installs** (before `install_live_edge_proxy` was included) never installed Caddy; if you still see 502 on port 80, you likely had a prior hub/edge install—run `sudo bash scripts/linux/reinstall_live_edge.sh` after pulling the latest repo.
### Browser: `live.local` — **refused to connect** (not 502)
That means the TCP connection was **rejected or nothing listens** on the address you used (often **port 80** on the boxs IP).
1. On the **device**, run: `sudo bash probe-live.sh` (or `scripts/linux/probe_live_access.sh`) and read the `:80` / `:8001` lines.
2. If **`:8001` works** but **`:80` fails**: `live-edge` (Caddy) is down — `sudo systemctl restart live-edge.service` or `sudo bash scripts/linux/reinstall_live_edge.sh`.
3. If **both fail**: `live-console` is down — `sudo systemctl restart live-console.service` and `journalctl -u live-console.service -n 80`.
4. From a **laptop/phone**, open **`http://<device-LAN-IP>:8001/`** first (same WiFi). If that works but `http://live.local` does not, the problem is **mDNS** (Windows often needs Bonjour) or youre not on the same LAN — use the IP bookmark.
5. **Firewall** (nftables/ufw) blocking **80/8001** from WiFi will also show as “refused” from other hosts while loopback still works.
### PM2单频道与多频道 ProLinux ARM / x86_64
- **单频道**:在项目根启用一个业务进程即可,例如取消注释 `ecosystem.config.cjs` 里的 `youtube``tiktok`,执行 `pm2 start ecosystem.config.cjs && pm2 save`