-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to ssh to server after upgrade #413
Comments
Anything on this yet? I'm anxious to do the upgrade, since we're so close now... |
Hello @vjoomens,
Concerning problem 1, we have not encountered similar issues with the conversion process before, so we will need to conduct some debugging.
Could you please clarify? Are you able to SSH before the first reboot, or can you only connect after the AlmaLinux 8 installation and the first reboot? Or are you unable to connect after the second reboot?
Regarding the apache configuration issue. The file mentioned in the logs is from the old method of installing atomic ruleset. You can safely remove it, and during the next daily maintenance, the ruleset should be reinstalled using the new method. |
@SandakovMM thank you for taking the time to look at my issues with the tool. As I write this, I'm doing a fresh test-upgrade on a copy of my Plesk server, still running Centos 7. Here are my steps:
This time, the upgrade seems to have finished. The server is on almalinux 8 and plesk is up and running, although with errors. There seems to be an issue with the upgrade step using the temp OS. In all cases I found the step not doing the automatic reboot. I had to manually reboot the server and do a ./centos2alma resume. After that, I was unable to SSH the server. I will try again and see if I have some more information for you. |
The upgrade just stops here, see screenshot and latest output log. Unable to login with SSH. I have to do a manual reboot @ the console. After reboot, I can SSH to the server. The upgrade process seems to continue (this time no centos2alma --resume required). During this process I'm still able to SSH the server. Upgrade process now rebooted the server again. Now after the server restarted, the SSH login is broken:
Login with root @ console also does not work:
This is as far as I get. I found some more info in the Plesk log browser: ===============================================================================
|
UPDATE, I've rebooted the server with kernel parameter selinux=0, and now all is fine! So hopefully this gives you a pointer on how to fix the upgrade script. ===============================================================================
|
You are absolutely correct; it appears there are some problems within the temporary operating system. Normally, you should not manually restart the instance from it. I can see the error message from leapp It is likely causing the issues you mentioned, as the selinux and atomic ruleset related packages were not upgraded during the distribution upgrade process. I can assume some package on your system is triggering the problem. Usually, dnf inside the temporary OS has issues with encoding (for example non unicode symbols in author name), which you might find earlier in the console log. I believe, the best way to investigate the problem further is to ask an AlmaLinux elevate developer for help. |
@SandakovMM thank you again for your reply. I've reported the issue to the Elevate community. I've done another upgrade, this time without package failure. Would you please be so kind to take another look at this upgrade log? Still no automatic reboot after this upgrade process. But everything seems to be fine, except for the selinux issue. I've changed selinux to permissive to check the configuration issues. See attachment. Can you make something out of this? Kind regards |
Hi,
After many failures with previous versions of the tool I finally managed to perform a pretty flawless upgrade with 1.4.5 of centos2alma. There are 2 major issues and 1 minor:
Major:
ip-172-30-2-95 login: root
Password:
Last login: Sat Jan 18 2 Stopping User runtime directory /run/user/0...
[ OK ] Stopped User runtime directory /run/user/0.
[ OK ] Removed slice User Slice of UID 0.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Started Serial Getty on ttyS0.
[FAILED] Failed to start Seafile hub.
See 'systemctl status [email protected]' for details.
[FAILED] Failed to start Seafile hub.
See 'systemctl status [email protected]' for details.
AlmaLinux 8.10 (Cerulean Leopard)
Kernel 4.18.0-553.34.1.el8_10.x86_64 on an x86_64
ip-172-30-2-95 login:
httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 13 of /etc/httpd/conf.d/00_mod_security.conf: No matches for the wildcard '00*exclude.conf' in '/etc/httpd/modsecurity.d', failing (use IncludeOptional if required)
Minor:
Please help me with the 2 major issues, that would bring this upgrade to a positive end.
NOTE on issue 1, I could still ssh the server after the completion of stage 1 (the reboot).
Kind regards,
Victor Oomens
The text was updated successfully, but these errors were encountered: