usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.62k stars 616 forks source link

[BUG] Apache PHP missing for Almalinux 9.x #1294

Closed master3395 closed 3 months ago

master3395 commented 4 months ago

After i installed Almalinux9

NAME="AlmaLinux"
VERSION="9.4 (Seafoam Ocelot)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.4"
PLATFORM_ID="platform:el9"
PRETTY_NAME="AlmaLinux 9.4 (Seafoam Ocelot)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:9::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-9"
ALMALINUX_MANTISBT_PROJECT_VERSION="9.4"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.4"
SUPPORT_END=2032-06-01

https://IP:Port/managephp/editPHPConfigs?apache=apache You see these two images: image image

Also not sure why i can't use this command in Almalinux 9. /etc/os-release You get this error: -bash: /etc/os-release: Permission denied

master3395 commented 4 months ago

The remi isn't getting created. image

master3395 commented 4 months ago

Normal php from Php 7.4 - 8.3 works, but Apache PHP extensions are not installed for some reason.

usmannasir commented 3 months ago

https://rpms.remirepo.net/enterprise/9/safe/x86_64/repoview/

I think remi for Al8 have versions above 7.4 only.

usmannasir commented 3 months ago

Also /etc/os-release is file, you can't execute it, it should be cat /etc/os-release

usmannasir commented 3 months ago

I've fixed couple of bugs in branch v2.3.5-alma9. I don't see the issues reported by you there, please upgrade to that branch and check.

master3395 commented 3 months ago

I've fixed a couple of bugs in branch v2.3.5-alma9. I don't see the issues reported by you there, please upgrade to that branch and check.

Cool, i will try when I get home from work :) Also correct, Almalinux 9 only has PHP 7.4 and up. That is why PHP 8.0 is set as the core PHP in CyberPanel also.

master3395 commented 3 months ago

A new issue came in 2.3.5-alma9 I can't edit the user details of the admin account.

image

Apache php files are not there either, i went to "Install PHP extensions", the apache extensions are not installed. image

usmannasir commented 3 months ago

upgrade and. try.

usmannasir commented 3 months ago

upgrade to same bracnh again and try please.

master3395 commented 3 months ago

upgrade to same bracnh again and try please.

Same error message after upgrade.

usmannasir commented 3 months ago

pyotp is resolved for me, can you double check. I just confirmed.

master3395 commented 3 months ago

pyotp is resolved for me, can you double check. I just confirmed.

Same thing still :/ I cleared cookies, i tried in incognito mode after the upgrade also. image

usmannasir commented 3 months ago

Are you sure you are upgrading to v2.3.5-alma9 ?

master3395 commented 3 months ago

Yeah.

I tried with both [](sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh))

and the one below, but that one gave me an error.

[](bash <(curl https://cyberpanel.sh/new_upgrade.sh) -b 2.3.5-alma9) image

I also tried the internal upgrade, but that seems to give me an indication of being outdated. image

usmannasir commented 3 months ago
wget https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.3.5-alma9/cyberpanel_upgrade.sh
chmod +x cyberpanel_upgrade.sh
./cyberpanel_upgrade.sh

input version when asked.

master3395 commented 3 months ago
wget https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.3.5-alma9/cyberpanel_upgrade.sh
chmod +x cyberpanel_upgrade.sh
./cyberpanel_upgrade.sh

input version when asked.

Now it is showing the modify user.

image image

Current Version:  2.3
Build:  5Current Commit:  b16953e29431877ac02a2d533d325dd3d62b146b
Latest Version:  2.3
Latest Build:  5Latest Commit:  f5008094520cce6524435c867f452de3915c993e
usmannasir commented 3 months ago

great

usmannasir commented 3 months ago

i will close this now.