bug fix: cyberpanel db

This commit is contained in:
usmannasir
2025-09-28 02:50:33 +05:00
parent df9567a656
commit 46d7337bc6
2 changed files with 4 additions and 3 deletions

3
.idea/workspace.xml generated
View File

@@ -46,7 +46,7 @@
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager": "true",
"RunOnceActivity.git.unshallow": "true",
"SHELLCHECK.PATH": "/Users/cyberpersons/Library/Application Support/JetBrains/PyCharm2025.1/plugins/Shell Script/shellcheck",
"git-widget-placeholder": "stable",
"git-widget-placeholder": "v2.5.5-dev",
"last_opened_file_path": "/Users/cyberpersons/cyberpanel",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
@@ -117,6 +117,7 @@
<workItem from="1754448353513" duration="2970000" />
<workItem from="1754511414251" duration="48713000" />
<workItem from="1756885332634" duration="10552000" />
<workItem from="1758956419733" duration="14271000" />
</task>
<servers />
</component>

View File

@@ -5251,8 +5251,8 @@ def main():
preFlightsChecks.stdOut("Creating cyberpanel database and user...", 1)
try:
from . import mysqlUtilities
from . import install_utils
import mysqlUtilities
import install_utils
# Generate cyberpanel database password using the same logic as download_install_CyberPanel
if checks.distro == centos: