Control Web Panel

WebPanel => Updates => Topic started by: grusu on November 25, 2026, 07:49:08 AM

Title: repo settings for almalinux 8
Post by: grusu on November 25, 2026, 07:49:08 AM
Hi,
I have a CWP installation that was originally set up on CentOS 7, then upgraded to CentOS 8, and subsequently to CWP-stable. Currently, the repository settings are no longer correct. How can I switch to AlmaLinux 8? At the moment, I am unable to set up a new server and perform a migration.
Is there a script available to handle this?

Thanks,
Geo
Title: Re: repo settings for almalinux 8
Post by: Starburst on November 25, 2026, 07:57:54 AM
https://almalinux.org/elevate/
Title: Re: repo settings for almalinux 8
Post by: chrisg on November 25, 2026, 11:48:54 AM
The cwp-specific repository wasn't updated in my case. I had to do it manually:
1. Edit the repo file, e.g. with nano:
/etc/yum.repos.d/cwp.repo
2. If it still refers to 7, change
repo/7 to repo/8
3. Clear dnf cache
dnf clean all
rm -rf /var/cache/dnf /var/cache/yum
4. Update from new cwp repositories:
yum update -y
Title: Re: repo settings for almalinux 8
Post by: Enigma Chile on November 25, 2026, 12:52:02 PM
Tambien nosotros tuvimos ese problema cuando pasamos a Alma Linux hace casi 2 años atrás.

Obviamente es mucho mas robusto trabajar CWP con Alma Linux 8.10 que con CentOS, varios procesos de actualización con CentOS habían quedado huérfanos o presentban problemas.

Al parecer no es posible que se haga manualmente. Tuvimos que hacer ese proceso solamente al principio (en la instalación inicial) con los repos de mariadb. Salió todo bien.

Si existe un script ahora, sería fantástico para tu caso pero lo ignoramos.

Saludos cordiales.