mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-18 03:01:01 +01:00
bug fix ui upgrade
This commit is contained in:
@@ -84,10 +84,16 @@ class ApplicationInstaller(multi.Thread):
|
||||
self.WPCreateBackup()
|
||||
elif self.installApp == 'RestoreWPbackupNow':
|
||||
self.RestoreWPbackupNow()
|
||||
elif self.installApp == 'UpgradeCP':
|
||||
self.UpgradeCP()
|
||||
|
||||
except BaseException as msg:
|
||||
logging.writeToFile(str(msg) + ' [ApplicationInstaller.run]')
|
||||
|
||||
def UpgradeCP(self):
|
||||
command = f'/usr/local/CyberPanel/bin/python /usr/local/CyberCP/plogical/upgrade.py "SoftUpgrade,{self.data["branchSelect"]}"'
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
def installMautic(self):
|
||||
try:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user