From dd6873bd216d1ddd21511d2ffa158609ef5d87a4 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Thu, 2 Jan 2020 14:47:59 +0500 Subject: [PATCH] bug fix: upgrade --- plogical/upgrade.py | 23 ----------------------- preUpgrade.sh | 2 +- 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 14961de5f..e6f1488f6 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -1492,26 +1492,6 @@ CSRF_COOKIE_SECURE = True except: pass - @staticmethod - def installPYDNS(): - try: - command = "pip install pydns" - Upgrade.executioner(command, 'Install PyDNS', 1) - except OSError as msg: - Upgrade.stdOut(str(msg) + " [installPYDNS]") - return 0 - - @staticmethod - def installTLDExtract(): - try: - command = "pip install tldextract" - Upgrade.executioner(command, 'Install tldextract', 1) - command = "pip install bcrypt" - Upgrade.executioner(command, 'Install tldextract', 1) - except OSError as msg: - Upgrade.stdOut(str(msg) + " [installTLDExtract]") - return 0 - @staticmethod def installLSCPD(): try: @@ -2072,15 +2052,12 @@ service_port = 9000 ## - Upgrade.installPYDNS() Upgrade.downloadAndUpgrade(versionNumbring, branch) Upgrade.download_install_phpmyadmin() Upgrade.downoad_and_install_raindloop() ## - Upgrade.installTLDExtract() - ## Upgrade.mailServerMigrations() diff --git a/preUpgrade.sh b/preUpgrade.sh index d3d83606f..d10293854 100644 --- a/preUpgrade.sh +++ b/preUpgrade.sh @@ -66,4 +66,4 @@ pip3.6 install --ignore-installed -r requirements.txt systemctl restart lscpd -echo " CyberPanel Upgraded Installed " " \ No newline at end of file +echo " CyberPanel Upgraded Installed " \ No newline at end of file