Initial commit — 2026-07-15
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# UniFi Controller Migration
|
||||
|
||||
**Started:** 2026-07-15
|
||||
**Status:** Live on app2 — pending backup restore for device data
|
||||
|
||||
## Architecture
|
||||
|
||||
```text
|
||||
Old: 178.156.131.57 (Hetzner, Ubuntu, UniFi v9.5.21) — DELETED 2026-07-15
|
||||
Old: 143.198.185.17 (DigitalOcean) — offline, no SSH access
|
||||
New: app2 (152.53.39.202, netcup RS 4000) — Docker jacobalberty/unifi:latest v10.0.162
|
||||
|
||||
Domain: unifi.itpropartner.com (SiteGround DNS → 152.53.39.202)
|
||||
Proxy: Caddy on app2, port 443 → unifi-controller:8443 (TLS, self-signed)
|
||||
|
||||
Docker: --name unifi-controller, restart unless-stopped
|
||||
Ports: 8443 (UI), 8080 (inform), 3478/udp (STUN), 10001/udp (discovery)
|
||||
Volume: /opt/unifi → container /config
|
||||
```
|
||||
|
||||
## URLs
|
||||
|
||||
- Controller: https://unifi.itpropartner.com
|
||||
- Direct: https://152.53.39.202:8443
|
||||
|
||||
## Recovery
|
||||
|
||||
1. `docker run -d --restart unless-stopped --name unifi-controller -p 8443:8443 -p 8080:8080 -p 8880:8880 -p 8843:8843 -p 3478:3478/udp -p 10001:10001/udp -v /opt/unifi:/config -e TZ=America/New_York -e RUNAS_UID0=true jacobalberty/unifi:latest`
|
||||
2. Restore from .unf backup via setup wizard or API
|
||||
3. Caddy auto-handles SSL on port 443
|
||||
|
||||
## Backups
|
||||
|
||||
- Old server backups archived: s3://hermes-vps-backups/unifi-backups/ (8 .unf files, 1.9 MB)
|
||||
- Source was 178.156.131.57:/var/lib/unifi/backup/autobackup/
|
||||
- Daily sync removed (source deleted)
|
||||
|
||||
## Landing Page
|
||||
|
||||
- core.itpropartner.com/unifi → links to controller
|
||||
Reference in New Issue
Block a user