mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-20 14:32:06 +01:00
bug fix: upgrade
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -66,4 +66,4 @@ pip3.6 install --ignore-installed -r requirements.txt
|
||||
systemctl restart lscpd
|
||||
|
||||
|
||||
echo " CyberPanel Upgraded Installed " "
|
||||
echo " CyberPanel Upgraded Installed "
|
||||
Reference in New Issue
Block a user