Cyberpanel unable to detect centos8

as manual cyberpanel support centos 8 and in my case i have
Linux centos8 4.18.0-408.el8.x86_64 #1 SMP Mon Jul 18 17:42:52 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

but install.sh give Unable to detect your OS…
CyberPanel is supported on Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, CentOS 7.x, CentOS 8.x, CloudLinux 7.x, CloudLinux 8.x and AlmaLinux 8.x…

You’re using centos 8 stream right?

Cyberpanel will read from the /etc/centos-release and /etc/os-release and look for
“CentOS Linux 8”, when instead it will be written “CentOS Stream release 8”.

To bypass it, you can either manually edit the installation script or those two files mentioned above.

But if I may suggest, just convert it to almalinux.

greate change it CentOS Linux 8 and install.sh started, many thank
what you mean by almalinux?

the installation stoped

Dependencies resolved.

Package Architecture Version Repository Size

Removing:
epel-release noarch 8-16.el8 @epel 34 k
Removing unused dependencies:
epel-next-release noarch 8-16.el8 @epel 2.8 k

Transaction Summary

Remove 2 Packages

Freed space: 37 k
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: epel-next-release-8-16.el8.noarch 1/1
Erasing : epel-next-release-8-16.el8.noarch 1/2
Erasing : epel-release-8-16.el8.noarch 2/2
Running scriptlet: epel-release-8-16.el8.noarch 2/2
Verifying : epel-next-release-8-16.el8.noarch 1/2
Verifying : epel-release-8-16.el8.noarch 2/2

Removed:
epel-next-release-8-16.el8.noarch epel-release-8-16.el8.noarch

Complete!
CentOS Stream 8 - AppStream 2.6 MB/s | 24 MB 00:09
CentOS Stream 8 - BaseOS 2.8 MB/s | 25 MB 00:08
CentOS Stream 8 - Extras 25 kB/s | 18 kB 00:00
CentOS Stream 8 - Extras common packages 5.7 kB/s | 4.6 kB 00:00
Oracle Linux / RHEL / CentOS-8 / x86_64 - VirtualBox 122 kB/s | 211 kB 00:01
epel-release-latest-8.noarch.rpm 28 kB/s | 24 kB 00:00
Dependencies resolved.

Package Architecture Version Repository Size

Installing:
epel-release noarch 8-16.el8 @commandline 24 k

Transaction Summary

Install 1 Package

Total size: 24 k
Installed size: 34 k
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : epel-release-8-16.el8.noarch 1/1
Running scriptlet: epel-release-8-16.el8.noarch 1/1
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.

Verifying : epel-release-8-16.el8.noarch 1/1

Installed:
epel-release-8-16.el8.noarch

Complete!
CentOS Stream 8 - AppStream 6.0 kB/s | 8.1 kB 00:01
Errors during downloading metadata for repository ‘appstream’:

Repos are different so it is trying to download from “8-stream” instead of “8”.

Convert OS to almalinux and run installation again, easier then fixing all things manually