- Updated the installation and upgrade processes to provide live output monitoring instead of background execution.
- Enhanced logging by creating dedicated directories for installation and upgrade logs.
- Improved error handling to display relevant exit codes and log information upon failure.
- Removed deprecated progress tracking logic for a more streamlined user experience during installation and upgrades.
- Changed repository URLs in the CyberPanel upgrade script and related installation scripts to use HTTPS for improved security.
- Updated the `mailscannerinstaller.sh` and `spamassassin_tojunk_installer.sh` scripts to reflect the new secure URLs.
- Modified the `install.py` script to include an additional parameter in the `update_settings_file` method for better password management.
- Deleted the .env.template file and the env_generator.py script to streamline the installation process.
- Removed various test scripts related to installation and compatibility checks, as they are no longer necessary with the updated configuration approach.
- Updated settings.py to directly include secure credentials, eliminating the need for external environment files.
- Enhanced security by ensuring sensitive information is handled directly within the application code.
- Modified the download logic to use a version-specific URL for the installation files.
- Added conditional checks to determine the appropriate installation directory based on the selected installer URL.
- Updated user feedback to inform about the availability of the v2.5.5-dev version and guide users on alternative options if it's not available.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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.
- 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.