From 501844b71135a3fff69e124ae6df2b3b4e061dc5 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Fri, 18 Oct 2024 16:31:56 +0500 Subject: [PATCH] bug fix immunify360 on upgrade --- plogical/upgrade.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 9100c6c83..eb23f1e92 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -3613,6 +3613,12 @@ pm.max_spare_servers = 3 command = 'chmod +x /usr/local/CyberCP/public/imunifyav/bin/execute.py' Upgrade.executioner(command, command, 1) + imfExecutePath = '/usr/local/CyberCP/public/imunify/bin/execute.py' + if os.path.exists(imfExecutePath): + command = f'chmod 755 {imfExecutePath}' + Upgrade.executioner(command, command, 0) + + Upgrade.installDNS_CyberPanelACMEFile() Upgrade.stdOut("Upgrade Completed.")