From 93ef91ca1108f578050c857157dd203e02074b6f Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Tue, 4 Feb 2020 10:33:27 +0500 Subject: [PATCH] bug fix: ftp ssl issue on ubuntu --- install/installCyberPanel.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 38ec1b745..8a5c6ad32 100755 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -446,6 +446,18 @@ class InstallCyberPanel: command = 'echo "40110 40210" > /etc/pure-ftpd/conf/PassivePortRange' subprocess.call(command, shell=True) + command = 'wget http://mirrors.kernel.org/ubuntu/pool/universe/p/pure-ftpd/pure-ftpd-common_1.0.47-3_all.deb' + install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) + + command = 'wget http://mirrors.kernel.org/ubuntu/pool/universe/p/pure-ftpd/pure-ftpd-mysql_1.0.47-3_amd64.deb' + install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) + + command = 'dpkg --install --force-confold pure-ftpd-common_1.0.47-3_all.deb' + install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) + + command = 'dpkg --install --force-confold pure-ftpd-mysql_1.0.47-3_amd64.deb' + install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) + command = 'systemctl restart pure-ftpd-mysql.service' install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)