kb/nodes/chelsty-infra.md — runtime layout, SLZB-06U, ograniczenia sieciowe, lokalizacja configu Z2M, chelsty-ha bez node-agenta, backup sets kb/runbooks/chelsty-deploy-recovery.md — Deployment Flow + Recovery Procedures Tresc sekcji nietknieta; kontrola multizbioru linii == oryginal. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
55 lines
1.5 KiB
Markdown
55 lines
1.5 KiB
Markdown
---
|
|
okf: "0.1"
|
|
type: runbook
|
|
visibility: private
|
|
status: active
|
|
updated: 2026-05-27
|
|
links:
|
|
- ../nodes/chelsty-infra.md
|
|
---
|
|
|
|
# CHELSTY — deployment i procedury odtworzeniowe
|
|
|
|
## Deployment Flow
|
|
|
|
### Initial Bootstrap
|
|
```bash
|
|
./scripts/bootstrap/chelsty-runtime.sh
|
|
```
|
|
|
|
### Deploy services
|
|
```bash
|
|
./scripts/deploy/deploy-node.sh chelsty-infra
|
|
./scripts/deploy/deploy-node.sh chelsty-ha
|
|
```
|
|
|
|
### Manual (SSH) — chelsty-infra uses docker-compose v1
|
|
```bash
|
|
ssh oskar@100.122.201.22
|
|
cd ~/homelab-codex-ws/services/<service>
|
|
docker-compose -f docker-compose.yml \
|
|
-f ../../hosts/chelsty-infra/runtime/<service>/docker-compose.override.yml \
|
|
up -d --build --force-recreate
|
|
```
|
|
|
|
> **Note:** `docker compose` (v2) is **not** available on chelsty-infra — always use `docker-compose` (hyphenated, v1 1.29.2).
|
|
|
|
## Recovery Procedures
|
|
|
|
### Mosquitto stopped
|
|
```bash
|
|
ssh oskar@100.122.201.22 "docker start mosquitto"
|
|
# Ensure restart policy is correct:
|
|
docker update --restart unless-stopped mosquitto
|
|
```
|
|
|
|
### Zigbee2MQTT won't start
|
|
1. Check logs: `docker logs zigbee2mqtt --tail 50`
|
|
2. Verify SLZB-06U reachable from host: `nc -zv 192.168.1.105 6638`
|
|
3. Verify config is not empty: `cat /opt/homelab/data/zigbee2mqtt/data/configuration.yaml`
|
|
4. If config missing, recreate from the minimal template above
|
|
|
|
### SLZB-06U unreachable
|
|
`192.168.1.105:6638` EHOSTUNREACH means the coordinator is offline or the LAN is down. Zigbee2MQTT will keep retrying — no restart needed once the coordinator returns.
|
|
|