diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 0e1132fe4..70a762b57 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -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) versionNumbring = Upgrade.downloadLink() Upgrade.download_install_phpmyadmin() @@ -3601,12 +3605,12 @@ pm.max_spare_servers = 3 print("Backing up files...") backup_files() - execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py" - execPath = execPath + " removeCSF" - Upgrade.executioner(execPath, 'fix csf if there', 0) + # execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py" + # execPath = execPath + " removeCSF" + # Upgrade.executioner(execPath, 'fix csf if there', 0) - execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py" - execPath = execPath + " installCSF" + # execPath = "sudo /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/csf.py" + # execPath = execPath + " installCSF" # Restore the files print("Restoring files...")