Commit Graph

5041 Commits

Author SHA1 Message Date
Master3395
de91dfed59 Merge branch 'v2.5.5-dev' of https://github.com/master3395/cyberpanel into v2.5.5-dev 2025-09-25 11:45:44 +02:00
Master3395
47e418be93 Remove deprecated installation and status scripts
- Deleted `install_enhanced.sh` and `INSTALLATION_STATUS_FINAL.md` as part of the transition to a modular architecture for the CyberPanel installer.
- Removed `INSTALLER_COMPLETION_SUMMARY.md` to streamline documentation and focus on essential components.
- Updated `install.sh` to reflect changes in the installation process, enhancing modularity and maintainability.
- Ensured that the installer now utilizes a more organized structure with dedicated modules for OS detection, dependency management, and installation processes.
2025-09-25 11:45:40 +02:00
Master3395
ca35ceb9ea Merge pull request #1548 from master3395/v2.5.5-dev
Add enhanced installation and service status scripts
2025-09-25 11:21:41 +02:00
Master3395
5d92ba33ed Add enhanced installation and service status scripts
- Introduced `fix_installation_issues.sh` to address critical installation issues for CyberPanel, including database connection, LiteSpeed service configuration, SSL certificate generation, and admin console setup.
- Added `install_enhanced.sh` as a robust installer with retry logic and comprehensive status checks, improving the installation experience.
- Created `service_status_check.sh` for detailed service and port status reporting, ensuring users can verify the health of their CyberPanel setup.
- Updated `install.sh` to download and execute the enhanced installer, providing a fallback to the original installer if necessary.
2025-09-25 11:21:00 +02:00
Master3395
9e17b64ca3 Merge pull request #1547 from master3395/v2.5.5-dev
Add comprehensive OS compatibility features and testing scripts
2025-09-25 09:36:32 +02:00
Master3395
cf8ffb0c0b Add comprehensive OS compatibility features and testing scripts
- Introduced `INSTALLER_COMPLETION_SUMMARY.md` to summarize the overhaul of the CyberPanel installer for universal OS compatibility.
- Added `test_all_os_compatibility.sh` and `test_installer_all_os.sh` for thorough testing across all supported operating systems.
- Implemented `validate_installation.sh` to ensure successful installation and service status verification.
- Created `universal_os_fixes.py` to manage OS-specific fixes and package installations.
- Enhanced `install.py` to integrate universal fixes and improve error handling during installation.
- Updated `UNIVERSAL_OS_COMPATIBILITY.md` with detailed documentation on compatibility features and testing procedures.
- Achieved 100% compatibility across all supported OS versions, ensuring a seamless installation experience for users.
2025-09-25 09:35:42 +02:00
Master3395
64022b7999 Merge pull request #1546 from master3395/v2.5.5-dev
Refactor installation script for improved readability and error handling
2025-09-25 02:49:34 +02:00
Master3395
4bc40a806c Refactor installation script for improved readability and error handling
- Adjusted indentation in `install.py` for better code clarity.
- Enhanced error handling in package installation logic to prevent silent failures.
- Streamlined configuration file checks and updates for OpenLiteSpeed port changes.
2025-09-25 02:49:14 +02:00
Master3395
438bfa60c1 Merge pull request #1545 from master3395/v2.5.5-dev
Add export and import functionality for firewall rules
2025-09-25 02:40:17 +02:00
Master3395
bea30beaaf Add export and import functionality for firewall rules
- Implemented `exportFirewallRules` method in `FirewallManager` to export custom firewall rules to a JSON file, excluding default rules.
- Added `importFirewallRules` method to handle the import of firewall rules from a JSON file, with validation and error handling.
- Updated `urls.py` to include routes for exporting and importing firewall rules.
- Created corresponding view functions in `views.py` to manage requests for exporting and importing rules.
- Enhanced the frontend with buttons for exporting and importing rules, along with appropriate loading and error handling in `firewall.js`.
- Updated the HTML template to include export/import buttons and loading indicators for better user experience.
2025-09-25 02:39:35 +02:00
Master3395
90005128da Merge pull request #1544 from master3395/v2.5.5-dev
Update installation scripts for improved package handling and service…
2025-09-25 02:12:58 +02:00
Master3395
73ae9b1781 Update installation scripts for improved package handling and service management
- Modified `cyberpanel.sh` to correct the path for the `lsmcd` executable.
- Enhanced `install.py` with comprehensive fallback logic for installing AlmaLinux 9 packages, including support for PowerTools and alternative repositories.
- Improved error handling and installation methods in `venvsetup.sh` to ensure successful package installations with better error suppression and individual package handling.
- Added checks for service existence and installation for PowerDNS, improving the robustness of the installation process.
2025-09-25 02:12:33 +02:00
Master3395
8ca487aab1 Merge pull request #1543 from master3395/v2.5.5-dev
Enhance MariaDB repository configuration and AlmaLinux 9 support
2025-09-25 01:35:27 +02:00
Master3395
89f571dd4e Enhance MariaDB repository configuration and AlmaLinux 9 support
- Updated MariaDB repository URLs in cyberpanel_upgrade.sh and cyberpanel.sh to use the mirror site for improved reliability.
- Added logic in cyberpanel_upgrade.sh to determine the appropriate MariaDB repository based on the OS version.
- Introduced a new method in install.py to apply specific fixes for AlmaLinux 9, including the installation of compatibility packages.
- Removed the obsolete simple_install.py script to streamline the installation process.
2025-09-25 01:34:57 +02:00
Master3395
7edfb5ab45 Merge pull request #1542 from master3395/v2.5.5-dev
Remove obsolete documentation and testing scripts related to branch p…
2025-09-25 00:56:28 +02:00
Master3395
ea7a1566aa Remove obsolete documentation and testing scripts related to branch prefix fixes and installation validation. Update MariaDB version to 12.1 in relevant scripts, enhancing compatibility and error handling for AlmaLinux 9. Improve user prompts in installation scripts for clarity and default options. Ensure MySQL password file handling is robust and properly logged. 2025-09-25 00:56:00 +02:00
Master3395
015e767b44 Merge pull request #1541 from master3395/v2.5.5-dev
Update branch verification process and enhance documentation for v2.5…
2025-09-25 00:16:49 +02:00
Master3395
547e82d797 Update branch verification process and enhance documentation for v2.5.5-dev
- Modified cyberpanel.sh to verify the existence of the development branch using the GitHub API, improving accuracy in branch checks.
- Updated BRANCH_PREFIX_FIX.md to include confirmation of GitHub API verification for the v2.5.5-dev branch.
- Enhanced test_fixes.sh to include a test for the v2.5.5-dev branch via GitHub API, ensuring reliable branch validation.
2025-09-25 00:16:25 +02:00
Master3395
8d69fb38d8 Merge pull request #1540 from master3395/v2.5.5-dev
Enhance branch naming logic in cyberpanel.sh and update test_fixes.sh…
2025-09-25 00:13:17 +02:00
Master3395
06b97e3ac7 Enhance branch naming logic in cyberpanel.sh and update test_fixes.sh for version checks
- Added logic to automatically prepend 'v' to development branch names if not provided in cyberpanel.sh.
- Updated test_fixes.sh to include tests for both existing and non-existent branches with and without 'v' prefix, ensuring accurate HTTP response validation.
2025-09-25 00:12:49 +02:00
Master3395
bd9880cec2 Merge pull request #1539 from master3395/v2.5.5-dev
Update MariaDB version to 12.1 across installation scripts
2025-09-24 23:47:03 +02:00
Master3395
4130b505d0 Update MariaDB version to 12.1 across installation scripts
- Changed MariaDB server version from 10.11 to 12.1 in cyberpanel_upgrade.sh, cyberpanel.sh, install.py, and venvsetup.sh to ensure compatibility with the latest features and security updates.
- Enhanced error handling for branch and commit verification in venvsetup.sh to improve installation reliability.
- Streamlined the requirements file download process with fallback options in venvsetup.sh to handle potential download failures.
2025-09-24 23:45:28 +02:00
Master3395
a263e3e1a5 Merge pull request #1538 from master3395/v2.5.5-dev
Enhance AlmaLinux 9 support in installation scripts
2025-09-24 22:46:11 +02:00
Master3395
18323dfb55 Enhance AlmaLinux 9 support in installation scripts
- Updated cyberpanel_upgrade.sh to differentiate AlmaLinux 9 for dnf package management and specific package installations.
- Improved OS detection logic to handle AlmaLinux 9 separately, ensuring correct repository setup and package installations.
- Enhanced error handling and logging for better feedback during the installation process.
- Refined version validation in cyberpanel.sh to support stable versions, development versions, and commit hashes.
- Streamlined installation process in install.sh to accommodate specific branch, tag, or commit installations.
2025-09-24 22:45:12 +02:00
Master3395
aa35a84f27 Merge pull request #1537 from master3395/v2.5.5-dev
Refactor installation scripts for improved compatibility and error ha…
2025-09-24 21:03:03 +02:00
Master3395
f95827d9e2 Refactor installation scripts for improved compatibility and error handling
- Updated installation scripts to enhance OS detection and streamline the installation process.
- Improved error handling and logging for MariaDB setup and service configuration.
- Consolidated functionality by removing deprecated scripts, ensuring better maintainability.
2025-09-24 21:02:31 +02:00
Master3395
b6b2d62ed6 Merge pull request #1536 from master3395/v2.5.5-dev
V2.5.5 dev
2025-09-24 20:52:15 +02:00
Master3395
ea176a42d9 Merge branch 'v2.5.5-dev' of https://github.com/master3395/cyberpanel into v2.5.5-dev 2025-09-24 20:51:50 +02:00
Master3395
f1389d6467 Refactor AlmaLinux 9 installation process to apply comprehensive fixes
- Renamed the fix method to `fix_almalinux9_comprehensive` to reflect broader scope.
- Streamlined the installation process by updating system packages, installing essential build tools, and adding PHP dependencies.
- Enhanced firewall configuration by adding required ports and ensuring the service is started and enabled.
- Improved error handling and logging throughout the installation steps for better feedback on the process.
2025-09-24 20:51:46 +02:00
Master3395
5929abf5b9 Merge pull request #1535 from master3395/v2.5.5-dev
Refactor installation scripts to use dnf for package management on Al…
2025-09-24 20:50:27 +02:00
Master3395
8d43de1e76 Refactor installation scripts to use dnf for package management on AlmaLinux
- Updated install.sh to replace yum with dnf for installing and updating curl and wget on AlmaLinux 9 and 10.
- Enhanced install/install.py to streamline MariaDB package installation with improved error handling and added installation of PHP dependencies, ensuring compatibility with AlmaLinux.
- Implemented logic to save MySQL root password securely and handle potential errors during installation processes.
2025-09-24 20:23:49 +02:00
Master3395
76c8c53ac5 Merge pull request #1534 from master3395/v2.5.5-dev
Add initialization for serial variable in installation script
2025-09-24 18:21:20 +02:00
Master3395
ed063d204e Add initialization for serial variable in installation script 2025-09-24 18:20:59 +02:00
Master3395
d3ef1b9c94 Merge pull request #1533 from master3395/v2.5.5-dev
Refactor installation process to enhance OS detection and specific fi…
2025-09-24 17:30:07 +02:00
Master3395
edb2017a38 Refactor installation process to enhance OS detection and specific fix application
- Integrated OS detection and specific fix application directly into the installation flow, improving compatibility and reducing conflicts.
- Added logging for MariaDB repository setup and verification, ensuring successful addition or warning on potential failures.
- Enhanced the installation of MariaDB for AlmaLinux 9 with improved error handling and service configuration checks.
- Removed the deprecated installCyberPanel.py file, consolidating functionality into the main installation script for better maintainability.
2025-09-24 17:29:33 +02:00
Master3395
09eaa5806c Merge pull request #1532 from master3395/v2.5.5-dev
Implement OS detection and specific fix application in installCyberPa…
2025-09-24 15:23:22 +02:00
Master3395
53f2a62aed Implement OS detection and specific fix application in installCyberPanel.py
- Added a method to detect OS information for supported platforms (Ubuntu, Debian, AlmaLinux, Rocky, RHEL, CloudLinux, CentOS).
- Introduced methods to check for specific OS types and apply necessary fixes based on detected OS.
- Implemented OS-specific fixes for AlmaLinux 9, including service installations, MySQL GPG key handling, and OpenLiteSpeed setup.
- Enhanced the installation process to apply OS-specific fixes before installing packages, ensuring compatibility and reducing conflicts.
2025-09-24 15:23:01 +02:00
Master3395
b7f8462486 Merge pull request #1531 from master3395/v2.5.5-dev
Enhance virtual environment setup and MariaDB installation process

Added checks to ensure the Python virtual environment is properly set up before running migrations.
Implemented logic to find the correct Python executable from multiple potential paths.
Improved MariaDB installation by trying different package combinations for AlmaLinux 9 and checking for service file existence.
Enhanced service management to handle symlinks and alternative service names for MariaDB.
Added error handling for missing MySQL/MariaDB client commands and ensured proper cleanup of conflicting service files.
2025-09-24 13:57:06 +02:00
Master3395
185faf00b6 Enhance virtual environment setup and MariaDB installation process
- Added checks to ensure the Python virtual environment is properly set up before running migrations.
- Implemented logic to find the correct Python executable from multiple potential paths.
- Improved MariaDB installation by trying different package combinations for AlmaLinux 9 and checking for service file existence.
- Enhanced service management to handle symlinks and alternative service names for MariaDB.
- Added error handling for missing MySQL/MariaDB client commands and ensured proper cleanup of conflicting service files.
2025-09-24 13:56:32 +02:00
Master3395
b983d98730 Merge pull request #1530 from master3395/v2.5.5-dev
Enhance MySQL/MariaDB development headers installation in cyberpanel …
2025-09-24 13:09:37 +02:00
Master3395
e98743e045 Enhance MySQL/MariaDB development headers installation in cyberpanel scripts
- Improved conflict resolution for MariaDB and MySQL packages in both cyberpanel.sh and cyberpanel_upgrade.sh.
- Added checks and symlink creation for mysql.h compatibility to ensure successful installation of MySQL development headers.
- Enhanced error handling during Python requirements installation with fallback options for mysqlclient and PyMySQL.
- Verified installation of MySQL development headers and modified requirements to avoid mysqlclient compilation issues.
2025-09-24 12:45:58 +02:00
Master3395
e3bb5c35d9 Merge pull request #1529 from master3395/v2.5.5-dev
Enhance MySQL/MariaDB development headers installation in upgrade scr…
2025-09-24 11:43:21 +02:00
Master3395
74f55ed205 Enhance MySQL/MariaDB development headers installation in upgrade scripts
- Added installation steps for MySQL/MariaDB development headers in both cyberpanel.sh and cyberpanel_upgrade.sh to support the mysqlclient Python package.
- Implemented checks for different operating systems (Ubuntu, Debian, CentOS, RHEL, etc.) to ensure the correct packages are installed.
- Enhanced error handling during Python requirements installation with fallback options for mysqlclient.
- Verified the installation of MySQL development headers using pkg-config.
2025-09-24 11:42:53 +02:00
Master3395
6fe977c073 Merge pull request #1528 from master3395/v2.5.5-dev
Enhance installation process for CyberPanel and Dovecot
2025-09-24 11:28:48 +02:00
Master3395
999fed99b5 Enhance installation process for CyberPanel and Dovecot
- Improved Git clone reliability by implementing multiple clone methods and a fallback manual download option.
- Added checks to ensure necessary directories exist before cloning and configuring Dovecot.
- Enhanced Dovecot installation logic with multiple command attempts and service management.
- Updated PHP installation process to dynamically create symlinks to the best available PHP version.
- Added error handling for missing configuration files and created basic configurations as fallbacks.
- Ensured firewall setup for Sieve is only attempted if the required module is available.
2025-09-24 11:28:20 +02:00
Master3395
1979830e28 Merge pull request #1527 from master3395/v2.5.5-dev
V2.5.5 dev
2025-09-24 11:13:50 +02:00
Master3395
0942b4a40b Enhance package installation process in cyberpanel.sh for RHEL 9+ systems
- Added steps to clean and make cache before and after EPEL and MariaDB repository installations to prevent conflicts.
- Implemented repository priority settings to avoid package conflicts during installation.
- Included checks for repository and package conflicts, with fallback installation strategies for MariaDB.
- Organized package installation into logical steps to ensure proper dependency resolution and system stability.
- Finalized with a cache clean and system update to maintain consistency.
2025-09-24 11:13:16 +02:00
Master3395
1607854ece Update MariaDB package names for consistency and enhance LSMCD service management in cyberpanel.sh
- Changed package names from 'MariaDB-*' to 'mariadb-*' for consistency across scripts.
- Modified LSMCD service type from 'forking' to 'simple' and added user/group settings in cyberpanel.sh.
- Improved error handling for LSMCD service startup in cyberpanel.sh.
- Fixed Django AutoField warnings in install.py by directly calling the fix function.
2025-09-24 11:08:22 +02:00
Master3395
12e765be36 Merge pull request #1525 from master3395/v2.5.5-dev
V2.5.5 dev
2025-09-24 01:46:21 +02:00
Master3395
f34c768b24 Implement LSMCD installation and service management in cyberpanel.sh; enhance service status checks in install.py
- Added compilation and installation steps for LiteSpeed Memcached (LSMCD) in cyberpanel.sh, including systemd service creation and management.
- Updated install.py to include checks for LSMCD service status and improved status checks for OpenLiteSpeed, PowerDNS, and Pure-FTPd.
2025-09-24 01:45:55 +02:00