A few months ago, I attempted to upgrade from Ubuntu 18.04 to 22.04 and it failed. The system did not reboot after this, something to do with partitions that went wrong. Using various guides, I was able to get the server back online and it was restored back to Ubuntu 18 in the process.
I have installed updates and the system is telling me I need to reboot. How can I make sure the OS is in a good state so that If i do shut it down, It will boot back up without any issues? Are there any commands that will perform some kind of integrity check to ensure everything is as it should be?
I am running Ubuntu 18.04 on an OVH server without any UI. Command shell is my only way to interface with the server.
Edit: I am fine sticking with Ubuntu 18.04 as the LTS is good for some time. I simply did some package updates and one requires a server update. So I am not upgrading the OS, just updating Ubuntu 18.04. Given the trouble I had before, I am afraid to restart as I do run a busy website on this server and I am worried i may not be able to fix it if it wont start back up.
I do have backups so worst case scenario I'll spin up a new server and get the site up and running but its a lot of trouble.