almalinux-deploy icon indicating copy to clipboard operation
almalinux-deploy copied to clipboard

migration fails over ssh connection

Open robmaz opened this issue 3 years ago • 3 comments

When almalinux-deploy.sh reinstalled the openssh package, I lost connection and am now left with an unreachable server ...

robmaz avatar Jan 31 '22 12:01 robmaz

Apparently it only lost connection and kept doing stuff and rebooted, and now reports AlmaLinux. The doc says it should report success and then suggests a manual reboot, so this still feels irregular. Also, after trying this on a second computer, it may be the NetworkManager update that leads to losing connection a few packages later.

robmaz avatar Feb 02 '22 17:02 robmaz

Maybe the docs should be augmented to run the upgrade script in a tmux session.

GlennMatthys avatar Mar 07 '22 07:03 GlennMatthys

Just a tip: Always make sure you have access to IPMI or some virtual terminal if possible, that way you can never lose connection even if SSH fails. Especially important during a server migration.

jamesdev01 avatar Feb 20 '23 18:02 jamesdev01