mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 05:45:59 +01:00
bug fix submit docker install
This commit is contained in:
@@ -47,5 +47,8 @@ class DockerInstall:
|
|||||||
|
|
||||||
except BaseException as msg:
|
except BaseException as msg:
|
||||||
logging.CyberCPLogFileWriter.statusWriter(ServerStatusUtil.lswsInstallStatusPath, str(msg) + ' [404].', 1)
|
logging.CyberCPLogFileWriter.statusWriter(ServerStatusUtil.lswsInstallStatusPath, str(msg) + ' [404].', 1)
|
||||||
|
def main():
|
||||||
|
DockerInstall.submitInstallDocker()
|
||||||
|
|
||||||
DockerInstall.submitInstallDocker()
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
@@ -1196,6 +1196,7 @@ def main():
|
|||||||
parser = argparse.ArgumentParser(description='CyberPanel')
|
parser = argparse.ArgumentParser(description='CyberPanel')
|
||||||
parser.add_argument('function', help='Specific a function to call!')
|
parser.add_argument('function', help='Specific a function to call!')
|
||||||
parser.add_argument('--version', help='MySQL version to upgrade to.')
|
parser.add_argument('--version', help='MySQL version to upgrade to.')
|
||||||
|
parser.add_argument('--tempStatusPath', help='MySQL version to upgrade to.')
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
@@ -1203,7 +1204,7 @@ def main():
|
|||||||
if args.function == "enableRemoteMYSQL":
|
if args.function == "enableRemoteMYSQL":
|
||||||
mysqlUtilities.enableRemoteMYSQL()
|
mysqlUtilities.enableRemoteMYSQL()
|
||||||
elif args.function == "UpgradeMariaDB":
|
elif args.function == "UpgradeMariaDB":
|
||||||
mysqlUtilities.UpgradeMariaDB(args.version, '/home/cyberpanel/upgrade_mysql_logs')
|
mysqlUtilities.UpgradeMariaDB(args.version, args.tempStatusPath)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user