diff --git a/CLManager/CageFS.py b/CLManager/CageFS.py index 00ecfb0d8..9baaa8bc6 100644 --- a/CLManager/CageFS.py +++ b/CLManager/CageFS.py @@ -218,11 +218,17 @@ ui_path_owner = lscpd:lscpd ## + command = 'pkill -f "bash imav-deploy.sh"' + ServerStatusUtil.executioner(command, statusFile) + if not os.path.exists('imav-deploy.sh'): command = 'wget https://repo.imunify360.cloudlinux.com/defence360/imav-deploy.sh' ServerStatusUtil.executioner(command, statusFile) - command = 'bash imav-deploy.sh' + command = 'bash imav-deploy.sh --uninstall --yes' + ServerStatusUtil.executioner(command, statusFile) + + command = 'bash imav-deploy.sh --yes' ServerStatusUtil.executioner(command, statusFile) logging.CyberCPLogFileWriter.statusWriter(ServerStatusUtil.lswsInstallStatusPath, diff --git a/firewall/templates/firewall/imunifyAV.html b/firewall/templates/firewall/imunifyAV.html index 0571bb6de..ffa4c6083 100755 --- a/firewall/templates/firewall/imunifyAV.html +++ b/firewall/templates/firewall/imunifyAV.html @@ -36,6 +36,69 @@ +
+
+

+ {% trans "ImunifyAV Not Working?" %} +

+
+ +

{% trans "If for some reason ImunifyAV is not working, you can re-install it using the form below." %}

+ + +
+
+ +
+
+

We will run following commands again:

+
+

wget https://repo.imunify360.cloudlinux.com/defence360/imav-deploy.sh

+
+

bash imav-deploy.sh

+
+ +

If you can still not access ImunifyAV after re-installation, just run + the above commands on your server terminal.

+
+
+ +
+ +
+ +
+
+ +
+
+
+
+ + + +
+ +
+ +
+ +
+ +
+
+ +
+ +
+
+
+ {% endblock %}