Update and Upgrade emails

jhmc93

Member
Feb 22, 2022
165
1
23
30
Is it possible to configure notifications to email me when, there's an available update? and whether it fails or is successful after it runs dist-upgrade
 
If you have a non-cluster server with a subscription, it is there by default, at least the new updates part.
For non-subscription (both cluster and stand-alone) or cluster you have to turn it on via a command:
Code:
pvesh set /cluster/options --notify package-updates=always
Just be sure to setup notifications, possibly filter on type=package-updates

Sources:
https://forum.proxmox.com/threads/package-update-notifs-not-working.141182/#post-632364
https://forum.proxmox.com/threads/automatic-service-update-with-e-mail-alert.141999/post-636965

Note that it will only notify on "new" updates, and only during the daily, automatic, update-check, but if you want to check if it works:
From the UI disable a repo that has updates ready, search for updates, enable the repo again (but don't search, so you have "new" updates to find), then wait for the next day or run the command:
Code:
systemctl start pve-daily-update.service
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!