Automate UniFi Controller updates on self-hosted instances. This workflow checks the official UniFi Debian repo for a fresh release in the last 24 hours and, if found, upgrades the unifi
package via SSH. It can also summarize changes and ping you on Telegram. Sticky notes are included to guide setup.
Schedule runs daily (default 13:13).
HTTP Request fetches InRelease
and parses Codename
+ Date
.
IF gate continues only if the repo changed within 24h.
SSH runs:
apt-get --allow-releaseinfo-change update
apt-get upgrade -y unifi
(Optional) LLM creates a short summary → Telegram sends it.
TELEGRAM_CHAT_ID
for notifications.Test on a non-production controller first. No hardcoded secrets—uses n8n credentials and environment variables. If you want approval before upgrades, stop after the IF gate and notify only.