mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-16 10:16:12 +01:00
bug fix in almalinux update
This commit is contained in:
@@ -3471,6 +3471,10 @@ pm.max_spare_servers = 3
|
|||||||
|
|
||||||
##
|
##
|
||||||
|
|
||||||
|
execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py"
|
||||||
|
execPath = execPath + " removeCSF"
|
||||||
|
Upgrade.executioner(execPath, 'fix csf if there', 0)
|
||||||
|
|
||||||
Upgrade.downloadAndUpgrade(versionNumbring, branch)
|
Upgrade.downloadAndUpgrade(versionNumbring, branch)
|
||||||
versionNumbring = Upgrade.downloadLink()
|
versionNumbring = Upgrade.downloadLink()
|
||||||
Upgrade.download_install_phpmyadmin()
|
Upgrade.download_install_phpmyadmin()
|
||||||
@@ -3601,12 +3605,12 @@ pm.max_spare_servers = 3
|
|||||||
print("Backing up files...")
|
print("Backing up files...")
|
||||||
backup_files()
|
backup_files()
|
||||||
|
|
||||||
execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py"
|
# execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py"
|
||||||
execPath = execPath + " removeCSF"
|
# execPath = execPath + " removeCSF"
|
||||||
Upgrade.executioner(execPath, 'fix csf if there', 0)
|
# Upgrade.executioner(execPath, 'fix csf if there', 0)
|
||||||
|
|
||||||
execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py"
|
# execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py"
|
||||||
execPath = execPath + " installCSF"
|
# execPath = execPath + " installCSF"
|
||||||
|
|
||||||
# Restore the files
|
# Restore the files
|
||||||
print("Restoring files...")
|
print("Restoring files...")
|
||||||
|
|||||||
Reference in New Issue
Block a user