mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-29 10:49:05 +01:00
Call disableMariaDB12RepositoryIfNeeded earlier in main() function
- Called immediately after apply_os_specific_fixes() - Runs before Pre_Install_Required_Components attempts MariaDB installation - Ensures dnf exclude is set before any package operations - Prevents MariaDB upgrade attempts
This commit is contained in:
@@ -6396,6 +6396,10 @@ def main():
|
||||
|
||||
# Apply OS-specific fixes early in the installation process
|
||||
checks.apply_os_specific_fixes()
|
||||
|
||||
# CRITICAL: Disable MariaDB 12.1 repository and add dnf exclude BEFORE any MariaDB installation attempts
|
||||
# This must run before Pre_Install_Required_Components tries to install MariaDB
|
||||
checks.disableMariaDB12RepositoryIfNeeded()
|
||||
|
||||
# Ensure MySQL password file is created early to prevent FileNotFoundError
|
||||
checks.ensure_mysql_password_file()
|
||||
|
||||
Reference in New Issue
Block a user