Commit Graph

5074 Commits

Author SHA1 Message Date
Master3395
432ffe6c46 Enhance CyberPanel installation script with improved database user management and password handling
- Added functionality to drop and recreate the 'cyberpanel' database user with proper permissions.
- Implemented verification for the database user creation process, including an alternative method if the initial attempt fails.
- Set a unified password for both CyberPanel and OpenLiteSpeed, ensuring consistency across services.
- Improved PHP configuration handling by establishing a reference PHP version for creating missing php.ini files.
- Updated service restart and installation verification messages to include access details and default credentials for both CyberPanel and OpenLiteSpeed.
2025-09-25 21:22:57 +02:00
Master3395
73dbcf48cb Merge pull request #1564 from master3395/v2.5.5-dev
Add force reinstall option and cleanup functions to CyberPanel instal…
2025-09-25 20:47:33 +02:00
Master3395
16ec4f6154 Add force reinstall option and cleanup functions to CyberPanel installation script
- Introduced a new function to check if CyberPanel is already installed and clean up existing installations if necessary.
- Added a force reinstall option in the main menu, allowing users to completely remove and reinstall CyberPanel.
- Enhanced user prompts and feedback during the cleanup and reinstallation process to improve clarity and user experience.
2025-09-25 20:47:02 +02:00
Master3395
c943969f9f Merge pull request #1563 from master3395/v2.5.5-dev
Add post-installation fixes and verification to CyberPanel installati…
2025-09-25 20:27:45 +02:00
Master3395
7f5f4045b5 Add post-installation fixes and verification to CyberPanel installation script
- Introduced a new function to address common post-installation issues, including starting services and fixing database permissions.
- Added a verification function to ensure services are running and accessible after installation.
- Implemented checks for MariaDB and LiteSpeed services, along with database connection validation.
- Enhanced user feedback during the installation process with detailed status messages and troubleshooting steps.
2025-09-25 20:27:16 +02:00
Master3395
635e8bbdd0 Merge pull request #1562 from master3395/v2.5.5-dev
Refactor CyberPanel installation script to use a direct installation …
2025-09-25 19:17:47 +02:00
Master3395
5249f40212 Refactor CyberPanel installation script to use a direct installation method
- Replaced the original download logic with a streamlined approach that directly installs CyberPanel from a stable branch.
- Introduced a new function for direct installation, improving clarity and reducing complexity.
- Enhanced error handling during the download and extraction of installation files.
- Updated user prompts to reflect the new installation process and provide clearer feedback.
2025-09-25 19:17:20 +02:00
Master3395
2e7567fb9c Merge pull request #1561 from master3395/v2.5.5-dev
Refactor CyberPanel installation script to simplify download logic an…
2025-09-25 19:01:04 +02:00
Master3395
3d9908c7ba Refactor CyberPanel installation script to simplify download logic and enhance error handling
- Removed branch and commit hash checks for downloading the installer, defaulting to a single download URL.
- Added fallback mechanism to attempt downloading from the GitHub main branch if the primary download fails or the file is too small.
- Included additional debugging information for failed installations, such as file size and permissions, to assist in troubleshooting.
- Improved clarity in error messages related to the downloaded file's integrity.
2025-09-25 18:59:49 +02:00
Master3395
0adfd18b62 Merge pull request #1560 from master3395/v2.5.5-dev
Enhance CyberPanel installation script with detailed error troublesho…
2025-09-25 18:16:30 +02:00
Master3395
6eb2fd0c65 Enhance CyberPanel installation script with detailed error troubleshooting
- Improved error handling during installation and upgrade processes by providing specific troubleshooting steps and log file locations.
- Added a new function to display error help, guiding users through common issues and solutions.
- Updated user prompts to offer troubleshooting assistance directly after installation failures.
- Enhanced the advanced menu to include an option for showing error help, improving user experience and support accessibility.
2025-09-25 18:16:00 +02:00
Master3395
38736e7c66 Merge pull request #1559 from master3395/v2.5.5-dev
Enhance CyberPanel installation script with commit hash selection and…
2025-09-25 17:57:51 +02:00
Master3395
4ad4c169cf Enhance CyberPanel installation script with commit hash selection and improved logging
- Added functionality to allow users to select specific commit hashes for installation.
- Improved logging by creating a dedicated log directory and updating log file paths.
- Enhanced user prompts and error handling for better clarity during installation and upgrade processes.
- Updated installation steps to reflect new options and improved user experience.
2025-09-25 17:57:28 +02:00
Master3395
477342c566 Merge pull request #1558 from master3395/v2.5.5-dev
Enhance CyberPanel installation script with improved error handling a…
2025-09-25 17:38:33 +02:00
Master3395
e0e742c0e6 Enhance CyberPanel installation script with improved error handling and verification
- Added checks to ensure successful download and execution of the CyberPanel installer.
- Implemented detailed error messages for various failure scenarios during installation.
- Introduced debugging output for better visibility into the installer script's behavior.
- Enhanced progress monitoring with minimum wait time and timeout handling during installation.
- Improved overall structure and readability of the script for better maintainability.
2025-09-25 17:38:04 +02:00
Master3395
f433cef3b0 Merge pull request #1557 from master3395/v2.5.5-dev
Refactor CyberPanel installation script to improve upgrade and pre-up…
2025-09-25 17:22:04 +02:00
Master3395
2b64e0d746 Refactor CyberPanel installation script to improve upgrade and pre-upgrade processes
- Renamed the original installer script to 'cyberpanel_original.sh' for clarity.
- Added functions for starting upgrades and pre-upgrade setups, enhancing the installation workflow.
- Implemented detailed progress monitoring and status messages during the upgrade process.
- Updated the main menu to include options for pre-upgrade and reinstallation, improving user navigation.
- Enhanced progress calculation for a more realistic display during installation and upgrade processes.
2025-09-25 17:21:36 +02:00
Master3395
a7196d8863 Merge pull request #1556 from master3395/v2.5.5-dev
V2.5.5 dev
2025-09-25 13:35:14 +02:00
Master3395
1228aeb2a1 Merge branch 'usmannasir:v2.5.5-dev' into v2.5.5-dev 2025-09-25 13:34:59 +02:00
Master3395
208cbf7af9 Enhance dependency installation feedback and progress display in CyberPanel installer
- Added detailed status messages and progress indicators during the installation of system dependencies to improve user experience.
- Implemented a more interactive progress bar with real-time updates during the CyberPanel installation process.
- Improved clarity of installation steps with clear prompts and success messages for each stage of dependency installation.
- Enhanced overall structure and readability of the installation script for better maintainability.
2025-09-25 13:34:47 +02:00
Master3395
656735cf07 Merge pull request #1555 from master3395/v2.5.5-dev
Enhance CyberPanel installation process with user-friendly progress i…
2025-09-25 13:27:03 +02:00
Master3395
a8a06ba510 Enhance CyberPanel installation process with user-friendly progress indicators
- Added detailed status messages and progress indicators during the installation of CyberPanel to improve user experience.
- Implemented background installation with real-time feedback, allowing users to monitor the installation status without interruption.
- Updated the OS detection and dependency installation steps with clear prompts to guide users through the process.
- Improved overall structure and readability of the installation script for better maintainability.
2025-09-25 13:26:42 +02:00
Master3395
5ebe2fc265 Merge pull request #1554 from master3395/v2.5.5-dev
Refactor CyberPanel installer for improved user experience and compat…
2025-09-25 13:10:50 +02:00
Master3395
846fa79606 Refactor CyberPanel installer for improved user experience and compatibility
- Renamed the installer to "CyberPanel Simple Installer" and simplified the banner and menu displays for better clarity.
- Removed color codes for output to enhance compatibility across different terminal environments.
- Updated status messages to provide clearer feedback during the installation process.
- Streamlined prompts and logging for a more user-friendly experience.
2025-09-25 13:10:20 +02:00
Master3395
a0e1201691 Merge pull request #1553 from master3395/v2.5.5-dev
Refactor CyberPanel installer banner and menu display for improved re…
2025-09-25 13:02:16 +02:00
Master3395
62760c9045 Refactor CyberPanel installer banner and menu display for improved readability
- Updated the banner and menu display in the installer script to enhance visual clarity and user experience.
- Replaced escape sequences with plain text for better compatibility across different terminal environments.
- Improved prompts for user input to streamline the installation process.
2025-09-25 13:01:47 +02:00
Master3395
dac6edd8eb Merge pull request #1552 from master3395/v2.5.5-dev
Enhance CyberPanel installer with complete interactive menu system
2025-09-25 12:41:34 +02:00
Master3395
ece9557320 Enhance CyberPanel installer with complete interactive menu system
- Updated the installer script to provide a complete standalone experience with interactive menus for fresh installation, updates, and reinstallation options.
- Improved user prompts and logging for better feedback during the installation process.
- Added functionality to check system status and installation preferences, enhancing user control over the installation process.
- Refined the overall structure for better maintainability and user experience.
2025-09-25 12:41:09 +02:00
Master3395
4150c820e6 Merge pull request #1551 from master3395/v2.5.5-dev
Refactor CyberPanel installer script for improved modularity and user…
2025-09-25 12:23:46 +02:00
Master3395
16a77981b0 Refactor CyberPanel installer script for improved modularity and user experience
- Updated the installer to a standalone modular format, enhancing organization and maintainability.
- Added a banner display and improved logging for better user feedback.
- Implemented comprehensive OS detection for various distributions, including AlmaLinux, CentOS, Rocky Linux, Ubuntu, and Debian.
- Enhanced dependency installation logic tailored to specific OS families.
- Introduced a status summary feature to provide users with installation progress and service status.
- Improved error handling and user prompts throughout the installation process.
2025-09-25 12:23:25 +02:00
Master3395
e0fb35f665 Merge pull request #1550 from master3395/v2.5.5-dev
v2.5.5-dev New improved install menu
2025-09-25 12:16:47 +02:00
Master3395
843268bb81 v2.5.5-dev New improved install menu
Refactor CyberPanel Installer into Modular Architecture

- Transformed the monolithic installer script into a modular structure, enhancing maintainability and readability.
- Introduced dedicated modules for OS detection, dependency management, installation logic, and fixes.
- Added a beautiful interactive UI with progress indicators and menus for a better user experience.
- Implemented multiple installation modes: Interactive, Auto, and Update.
- Included comprehensive error handling and logging for improved diagnostics.
- Created a test script to validate module existence and functionality.

This update significantly improves the installation process and user interaction for CyberPanel.
2025-09-25 12:16:21 +02:00
Master3395
42da2eee56 Merge pull request #1549 from master3395/v2.5.5-dev
V2.5.5 dev
2025-09-25 11:46:59 +02:00
Master3395
a23056333d 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
19e0c1f79f 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
378655a972 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
d91433981c 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
fa277836fa 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
61f184bb2f 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
5dde5a8578 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
64b8dd931a 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
bbae20969c 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
3a78551762 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
c7aa6028a7 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
09caa5bda8 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
3f2d3d5fdf 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
e1ea4f8a1e 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
72c5d274c7 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
8c4083f4e4 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
d0105a8d02 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