New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
CentOS 7 after June 30th 2024
2 servers have just left on CentOS 7. What to do now? Any risk involved.
Just tried today yum update to see if there something to update, mirrorlist,centos.org is dead.
https://serverfault.com/questions/1161816/mirrorlist-centos-org-no-longer-resolve.
Problem is application hosted there is not actively maintained by developers. I know I could rebuild new instance with Debian and migrate all, but not sure if I might break something ...
What would you do?

Comments
Upgrade to Rocky/Almalinux.
You mean to upgrade "in vivo" to alma with all software already installed and control panels as well? Panels are Virtualmin btw.
Is this doable?
I know you can use ELevate instead but I've seen mixed results when doing this so seems safer to deploy a new server and migrate everything over.
Yes, this would be my recommendation if feasible.
How will the mailers send their email blasts without 'CentOS 7x64 bit' available?
You really should have planned and tested this migration some time ago.
In the short term, you can subscribe to extended CentOS 7 support through a company like CIQ or Tuxcare. It seems they don't disclose pricing for some reason, but previously I saw that Tuxcare was asking about $5/month per server. That's pretty cheap insurance and will buy you some time while you get yourself sorted out.
If you want to do an in-place upgrade, you'll need an alternate location to test this. Restore a snapshot or backup to a new VM and document the process.
I've used ELevate successfully on a number of simpler infrastructure servers to upgrade from CentOS 7 to Rocky 8, and I've done even more Rocky 8 to Rocky 9 migrations very recently. You have to pay attention to packages it doesn't upgrade for you, which are listed in its logs. They'll need to be reinstalled. I have run into a few very strange cases where things on the new system didn't work as expected, but I've been able to work around all of them.
If you have anything complex or run several services (and Virtualmin may count), then I'd second the recommendation of others here that you should install the OS from scratch and follow vendor instructions for migrating data. In that case, go ahead and start with Rocky/Alma 9, which has already been out for a year, and skip version 8.
EDIT: If the EOL of CentOS 7 is coming as a surprise to you, then this suggests you haven't been paying attention for a long time. You should use this opportunity to do a top-to-bottom review of your software stack, security/firewall settings, and backup procedures.
Thanks for detailed answer and useful recommendation. I have migrated most of the servers to Debian 12 now. I mean servers were deployed from scratch than accounts migrated, and all packages are matched.
One is being migrated now, but there is still one server that I'm not very keen to migrate so hoped there might be some magical thing to do
.
Thanks for all answers guys I appreciate it.