From 6b999e5c8bbe121524faf9c5745b66462daa109c Mon Sep 17 00:00:00 2001 From: usmannasir Date: Sun, 9 Nov 2025 17:14:47 +0500 Subject: [PATCH] Fix RHEL 9 binary filenames to match server structure RHEL 9 binaries use '-rhel' suffix instead of '-rhel9': - openlitespeed-phpconfig-x86_64-rhel (not rhel9) - cyberpanel_ols_x86_64_rhel.so (not rhel9.so) Updated URLs in install and upgrade modules to use correct filenames. --- install/installCyberPanel.py | 4 ++-- plogical/upgrade.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 05459084e..b5c7815ec 100644 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -402,8 +402,8 @@ class InstallCyberPanel: OLS_BINARY_URL = f"{BASE_URL}/rhel8/openlitespeed-phpconfig-x86_64-rhel8" MODULE_URL = f"{BASE_URL}/rhel8/cyberpanel_ols_x86_64_rhel8.so" elif binary_suffix == 'rhel9': - OLS_BINARY_URL = f"{BASE_URL}/rhel9/openlitespeed-phpconfig-x86_64" - MODULE_URL = f"{BASE_URL}/rhel9/cyberpanel_ols_x86_64.so" + OLS_BINARY_URL = f"{BASE_URL}/rhel9/openlitespeed-phpconfig-x86_64-rhel" + MODULE_URL = f"{BASE_URL}/rhel9/cyberpanel_ols_x86_64_rhel.so" else: # ubuntu OLS_BINARY_URL = f"{BASE_URL}/ubuntu/openlitespeed-phpconfig-x86_64-ubuntu" MODULE_URL = f"{BASE_URL}/ubuntu/cyberpanel_ols_x86_64_ubuntu.so" diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 9d622e646..e1cd4fb49 100644 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -807,8 +807,8 @@ class Upgrade: OLS_BINARY_URL = f"{BASE_URL}/rhel8/openlitespeed-phpconfig-x86_64-rhel8" MODULE_URL = f"{BASE_URL}/rhel8/cyberpanel_ols_x86_64_rhel8.so" elif binary_suffix == 'rhel9': - OLS_BINARY_URL = f"{BASE_URL}/rhel9/openlitespeed-phpconfig-x86_64" - MODULE_URL = f"{BASE_URL}/rhel9/cyberpanel_ols_x86_64.so" + OLS_BINARY_URL = f"{BASE_URL}/rhel9/openlitespeed-phpconfig-x86_64-rhel" + MODULE_URL = f"{BASE_URL}/rhel9/cyberpanel_ols_x86_64_rhel.so" else: # ubuntu OLS_BINARY_URL = f"{BASE_URL}/ubuntu/openlitespeed-phpconfig-x86_64-ubuntu" MODULE_URL = f"{BASE_URL}/ubuntu/cyberpanel_ols_x86_64_ubuntu.so"