Unofficial updater script for Proxmox VE (HOST / LXC / VM )

Perhaps I did not look deep enough but I did not find some important info about the inner working of the script. I am only interested in updating the hosts/cluster and for this to be safe I would like to know:
- does it check if reboot is required e.g. after kernel updates? And does it reboot if necessary?
- if so is there a mass suspend for all running machines and resume after reboot?
- is there any protection against unintended migrations because of HA-settings due to temporary unavailability during updates?
- are the nodes of a cluster updated one after the other or all in parallel?
 
Perhaps I did not look deep enough but I did not find some important info about the inner working of the script. I am only interested in updating the hosts/cluster and for this to be safe I would like to know:
- does it check if reboot is required e.g. after kernel updates? And does it reboot if necessary?
- if so is there a mass suspend for all running machines and resume after reboot?
- is there any protection against unintended migrations because of HA-settings due to temporary unavailability during updates?
- are the nodes of a cluster updated one after the other or all in parallel?
Hi,

1. the script check if reboot is required. You can also set "reboot if nessesary" in config file.
If the option is not set, and welcome screen is installed, you become notification after login, if a VM need reboot.
2. There is no HA protection in the script.
3. Within an Cluster, the script make one node after the other.

Hope I could help you out

BassT
 
  • Like
Reactions: matt69
Thanks for your very responsive reply but a quick search for "reboot" and "shutdown" in your script showed only commands that seem to be for VMs and containers. I might have missed it but then this is an indicator that your script is too complex for me to understand and as recommended elsewhere in this thread I will not run scripts for such an important task without completely understanding what is going on.
Again, thanks for your efforts but I guess it is not the right tool for me.
 
Thanks for your very responsive reply but a quick search for "reboot" and "shutdown" in your script showed only commands that seem to be for VMs and containers. I might have missed it but then this is an indicator that your script is too complex for me to understand and as recommended elsewhere in this thread I will not run scripts for such an important task without completely understanding what is going on.
Again, thanks for your efforts but I guess it is not the right tool for me.
You are right.
Reboot is only for VM - An lxc use the host kernel, so it don't need an reboot
The script is nearly safe to use with basic settings.

Best for you is also the "tag" feature.
With this you can set "update-only" in proxmox ui. So you can test first the working flow.

Also pls use the latest beta release with "update beta -up"
The stable is nearly one year old and beta will come to stable within near future.

BUT AT FIRST YOU NEED BACKUPS FROM YOUR SETUP!!!

Strange things could happen all the day
The script makes Snapshots and or Backups also, if you want