One command updates your whole Proxmox homelab — the host, every LXC, VMs and Docker — then checks everything came back.
v1.2.0 · MIT · single Bash scriptStop SSH-ing into each container. ProxSweep runs on the Proxmox host and sweeps the whole stack in one pass.
Debian updates applied; Proxmox and kernel packages listed for you to install with a planned reboot.
apt, apk, dnf and opkg detected automatically — including the OS of containers that run Docker.
Updated through the QEMU guest agent. No SSH keys to manage.
Compose stacks via pull + up -d, so containers behind a VPN container are recreated together. Watchtower for the rest.
Built after real-world breakages: half-finished upgrades, containers that never came back, and failures logged as “OK”.
Each guest is snapshotted before it changes. The log prints the exact rollback command.
Containers running old code are restarted and checked. Docker containers that stopped are started again.
Flags guests without Start at boot and containers without a restart policy — and can fix them.
Skips guests that are low on disk, waits for busy package locks, and reports a stuck one.
Flags full disks, full swap and processes killed for lack of memory — the slow problems Docker's “healthy” never shows.
After the run, your web apps must answer — or it's an error.
Reports new, removed, renamed and stopped guests since the last run.
On the Proxmox host, as root.
curl -fsSL -o /usr/local/bin/pve_stack_updater.sh \ https://raw.githubusercontent.com/AkuchiS/ProxSweep/main/pve_stack_updater.sh chmod +x /usr/local/bin/pve_stack_updater.sh
pve_stack_updater.sh --check pve_stack_updater.sh --dry-run
echo '0 3 * * * root /usr/local/bin/pve_stack_updater.sh >> /var/log/pve_stack_updater/cron.log 2>&1' \ > /etc/cron.d/proxsweep
Settings live in /etc/proxsweep.conf and survive updates. Full options are in the README.
=== [140] prismarr (LXC) [ OK] snapshot proxsweep_20261122_141710 taken (undo with: pct rollback 140 …) [ OK] packages upgraded (apt-get) [ OK] compose 'prismarr': 2 container(s) recreated [---] restarting: 13 process(es) still running old code [ OK] restarted and running again [ OK] all running Docker containers came back and have a restart policy === [121] byparr (LXC) [ERR] only 407 MB free on /, so packages and Docker images were not updated === SERVICE CHECKS [ OK] Prismarr — responding (HTTP 302) RESULT: 19 guests checked | 4 had package updates | 2 skipped | 9 warnings | 1 ERROR
Real output from a 20-container media server. Errors make the script exit with code 1, so cron mail or monitoring catches them.