Got to reboot the server, and restore the backup, not the /home drive, just the root.
I failed at upgrading to CentOS 8, only unofficial methods to do so. What I followed, didn’t work.
Actually, I think, I should say screw it, and switch to Debian. Not allowing me to upgrade the OS without reinstalling, just pisses me off. Can you upgrade Debian to new versions without reinstalling? I think you can.
Update 6:41 PM Going to switch to Debian, soon, after I make a backup of DirectAdmin. If I have to reinstall, I’ll use an OS I prefer, which is Debian.
Oops, I forgot, I probably should of manually installed it. Probably fucked LVM up.
It’ll be a while. Got to resize the partition again. But the /home might be intact.
And, lost all data on the /home drive. Got to copy it all back. Might be done tomorrow.
DirectAdmin is installing, probably should of waited to finish copying the /home data to the /home drive.
And, have to start the setup script all over. I got disconnected from SSH, don’t know how to resume it.
Ran it with screen this time, just like I did with rsync for copying the home files from the backup. I forgot how long it takes to install DirectAdmin.
Don’t think the setup script is working. Might be because the /home is empty, the drive isn’t mounted to /home yet. Also, something needs a newer version of Curl, except it has a newer version, I installed it, probably need the dev package. There we go, that’s installed. Think I’ll wait for it to finish copying the data, before running setup again. Reboot and see if anything works yet. Can’t even login to DirectAdmin.
Update 11:14 PM And DirectAdmin is working, except for PHP. All 404 errors, until it’s finished restoring the files.
Update 12:42 AM Rebooted it, super slow at booting, it’s waiting for a disk. Just need to regenerate the webserver config, and it should work. Still some stuff that needs to be compiled. Since the setup script failed. Oops, SSH doesn’t work, guess I should of checked the home folder for my SSH user before rebooting.
Update 2:24 AM HTTP will be down for a while, I had to run setup.sh again, this time in screen. I’m going to bed, so it may or may not work by itself. There was no FTP, and using CustomBuild didn’t work to get it. Make sure you run DirectAdmin in screen, the installer, otherwise, when you get disconnected, the installer may or may not be doing anything. Got disconnected again. Hopefully screen is still running. It has to compile PHP again, even though it’s already compiled and was working. Sucks, you can’t resume where it crashed or whatever.