[Feature]: Patch multiple hosts at once
What is the installation method of your PatchMon server?
Proxmox-community script
What is the version of your PatchMon server?
2.0.0
Briefly describe the feature
Patch multiple hosts at once
Detailed description
Love the new patching feature in 2.0.0, it's been working great so far!
Unfortunately, unless I'm missing something, it seems like you need to manually patch individual hosts. It would be great to be able to select a group, or even use the checkboxes to select specific hosts, and patch them all in a single run.
Why is this useful?
I have ~80 hosts, manually patching them is a chore.
16 Comments
Almere, I live above Zaandam.
Our offices are all over but mainly I am in Amersfoort every few weeks
Where are you based in NL @user
Nice, I'm from NL too btw.
Hi Simon, sorry for the delay in getting back to you. I didn’t seem to get a notification for this. Happy to jump on a call at some point as long as it fits round day job 👍
Hi Toby, I do know Iby is looking at issue posts and pull requests a little now.
I am sure he will read this. I've been in NL all week. But i'm hoping to have a coffee together with Iby in about 10 days. By then I'm hoping he has built up more energy himself. He really wants to pull us all together in a video call to hear our ideas and views. That would be the perfect moment for you to champion this. I also agree this is one of the identified challenges we see too in our estate.
@user might be worth seeing if this one could be bumped up. There’s an open PR - looks like it needs reviewing but could potentially resolve a much wanted feature request
If there needs to be looked into code, I have Python/Go/Rust experience, as I maintain a heavy bittorrent tracker app.
There are multiple issues/enhancements on GitHub related to this request 👍
see issue number 838 on GitHub but there are duplicates 828 and 764 and as it stands there are open pull requests for this
the work flow is combersome. be on the dashboard see servers that need to get patched, click on one select patch all. get a report. move on to the next one. I agree there should be a Patch all servers now button.
Another addition to this, if you batch patch server or servers, to perhaps put a optional "dependency" of server or servers list, so that it wait for one server or servers to be done with patching, before doing the one that depends on those.
+1
I didn't realize you could patch that way. It works great and handles multiple hosts just fine, thanks for the tip.
Looking forward to the next release!
Yeah honestly, I was going to implement this but I held off just in case there was a major issue when releasing. I'll have this released in the next version - It's a matter of utilising the same wizard flow and extending it whilst having a max of 5 concurrent tasks at the same time.
One thing though, for a single or multiple packages you can select the hosts that are applied that way (kinda reverse though as it means selecting all the outdated packages and then pressing patch and it will select all the hosts)
If you go to the packages page where you can see the individual packages, select all the outdated packages then press "patch" at the top of the table - it will then progress with the flow of selecting all the hosts that apply - and in which case all of your outdated ones.
However doing it from host table page first is not implemented just yet.

Mainly working from home as Senior Linux Engineer for a hosting company, before that as DevSecOps guy at a government company.