
Schedule this automation tool in the crontab of the server where your n8n instance is hosted (and configured via docker compose) and you will be reminded of n8n version updates.
Via Telegram you will get notified and must give approval for the update.
Self hosted n8n version Updater with Telegram Approval /Notifier
A production-ready Python automation tool that monitors n8n releases, compares active runtime versions against the official npm registry, and sends interactive Telegram approval prompts before updating your docker-compose.yaml and restarting the container.
Features
- Live Runtime Inspection: Queries the running Docker container (
docker exec -u node <container> n8n --version) to get the real baseline version—even if yourdocker-compose.yamluses generic tags like:latestor:2. - Fallback Compose Parsing: Gracefully falls back to parsing
docker-compose.yamlif the live container is offline or unreachable. - Interactive Telegram Approvals: Uses inline buttons (
✅ Approve/❌ Deny) with non-blocking callback handling. - Fail-Safe Dry Run: Operates in Dry-Run Mode (
DEBUG_N8N_UPDATE=1) by default during manual terminal invocations to prevent accidental updates. - Automated Configuration Backups: Creates timestamped backups (
docker-compose.yaml.bak_YYYYMMDD_HHMMSS) prior to applying version edits. - Configurable Release Policies: Supports checking all releases or limiting notifications to Major/Minor releases (
SIGNIFICANT_MODE=0).
Link (github gist) Documentation/code