bug fix: upgrade

This commit is contained in:
Usman Nasir
2020-01-02 14:47:59 +05:00
parent df2f70209a
commit dd6873bd21
2 changed files with 1 additions and 24 deletions

View File

@@ -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()

View File

@@ -66,4 +66,4 @@ pip3.6 install --ignore-installed -r requirements.txt
systemctl restart lscpd
echo " CyberPanel Upgraded Installed " "
echo " CyberPanel Upgraded Installed "