Commit Graph

411 Commits

Author SHA1 Message Date
usmannasir
d659bda9db Improve installation flow and output organization
- Move status messages to appear after CyberPanel installer completes
- Silence verbose output during post-installation fixes
- Auto-answer OpenLiteSpeed password prompts to avoid manual input
- Simplify final status summary with cleaner formatting
- Fix static file permissions silently in background
- Show actual server IP in access details
- Reduce redundant success messages
- Make post-installation configurations less verbose

This creates a cleaner installation experience where the CyberPanel installer's summary appears first, followed by minimal post-installation configuration messages and a concise final status.
2025-10-01 13:48:00 +05:00
usmannasir
95f9a8d9b1 Fix password handling in CyberPanel installer
- Capture actual generated password from CyberPanel installation output
- Save generated password to /root/.cyberpanel_password for persistence
- Use captured password for OpenLiteSpeed admin configuration
- Update status summary to show actual password instead of hardcoded value
- Fix service check to use lscpd (actual CyberPanel service) instead of non-existent 'cyberpanel' service
- Add lscpd service status check in installation summary

This ensures the password shown in the summary matches the actual CyberPanel admin password.
2025-10-01 13:18:17 +05:00
usmannasir
d5258ac85b fix static file permissions 2025-10-01 11:46:58 +05:00
usmannasir
fa039448e0 find was deleting important env files 2025-09-30 16:27:14 +05:00
usmannasir
ec159448af bug fix: staging site issue 2025-09-27 11:41:16 +05:00
Master3395
79b697ba26 Refactor CyberPanel installation and upgrade scripts for live progress monitoring
- 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.
2025-09-25 23:04:55 +02:00
Master3395
697a9c565a Update CyberPanel installation script to support version-specific downloads
- 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.
2025-09-25 21:28:36 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
daaefc12d8 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
e5026b4cd2 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
b739b4a038 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
1a7688e3f2 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
7694fc16a5 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
18242077d5 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
cee1c4ff29 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
fa05054253 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
906faf43c8 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
2d3505b1ed 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
Master3395
a9398cef90 Enhance installation scripts and fix ownership commands
- Updated MariaDB repository setup commands in cyberpanel.sh to use double quotes for consistency.
- Added installation of libmemcached dependencies in both cyberpanel.sh and install.py for improved functionality.
- Modified ownership commands in install.py to remove unnecessary redirection for better clarity.
- Introduced a fix for Django AutoField warnings in install.py by adding a DEFAULT_AUTO_FIELD setting.
- Created mbstring configuration for each PHP version in installCyberPanel.py to ensure proper PHP functionality.
2025-09-24 01:44:26 +02:00
Master3395
aaf3b68e14 Update PHP version handling and installation logic across scripts
- Adjusted PHP version priority in cyberpanel_upgrade.sh and install.py to include PHP 8.5 (beta) as the highest priority.
- Enhanced package installation logic in cyberpanel.sh and installCyberPanel.py to install PHP dependencies more robustly, including error handling for missing packages.
- Updated README.md to reflect the new recommended PHP versions and deprecated versions.
- Improved error handling and dependency management in phpUtilities.py and upgrade.py for better installation reliability.
2025-09-24 01:11:23 +02:00
Master3395
93448a44b3 Add installation summary feature to cyberpanel.sh and install.py
Implemented a comprehensive installation summary function in both cyberpanel.sh and install.py. The summary includes installation status, system resource usage, and troubleshooting steps for failed installations. Enhanced user feedback during the installation process to improve clarity and support for users.
2025-09-24 00:45:34 +02:00
Master3395
49e3149622 Update MariaDB repository URLs to use HTTPS and enhance setup logic for RHEL 9/10 in cyberpanel.sh; modify permission commands in install.py to use raw string literals for better compatibility. 2025-09-24 00:36:38 +02:00
Master3395
84ccd47b98 Setup MariaDB repository for AlmaLinux 9/10 in cyberpanel.sh and update package installation command to include MariaDB packages. 2025-09-24 00:16:27 +02:00
Master3395
68d86d9c9c Enhance package installation in cyberpanel.sh: Added EPEL repository installation for additional packages and included the installation of the Development Tools group to support development needs on CentOS 9/10 and related distributions. 2025-09-24 00:02:37 +02:00
Master3395
7e0de29407 Enhance OS detection and package installation logic in cyberpanel.sh: Updated the script to improve detection for various Ubuntu and CentOS versions, refined package management commands, and added error handling for unsupported OS scenarios. Enhanced virtual environment setup for compatibility with newer Ubuntu releases. 2025-09-23 23:41:48 +02:00
Master3395
30cb78d0ef Enhance OS detection and package management in installation scripts: Updated install.sh to improve OS detection logic for various CentOS, AlmaLinux, CloudLinux, Ubuntu, Debian, and openEuler versions. Refined package installation commands and added error handling for unsupported OS scenarios. Improved service name mapping in install.py for better compatibility across distributions. 2025-09-23 23:33:05 +02:00
Master3395
cc9a6ad31b Refactor installation scripts for improved service management and compatibility: Updated cyberpanel.sh to enhance PHP package installation logic based on available versions. Improved error handling for systemd service management in install.py and added pip upgrade functionality for better package compatibility. Enhanced PowerDNS database setup and service startup procedures with retry mechanisms and detailed logging. 2025-09-23 23:16:36 +02:00
Master3395
f41b54205b Refactor service management in installation scripts: Updated cyberpanel.sh to enhance the display of access information and system status. Improved install.py by adding comprehensive service checks and fixes for PowerDNS, Pure-FTPd, and database connectivity. Enhanced LiteSpeed configuration handling and ensured critical services are running properly during installation. Added detailed logging for better user feedback. 2025-09-23 22:35:47 +02:00
Master3395
e51afaba5b Enhance branch detection and installation process in scripts: Updated cyberpanel.sh to improve branch/version detection logic based on execution context. Modified install.sh to allow installation from a specified branch and adjusted preUpgrade.sh to support branch parameter for upgrades. Improved error handling and logging for better user feedback. 2025-09-23 21:50:37 +02:00
Master3395
2c57ad595e Enhance CyberPanel functionality with FTP Quota and Bandwidth Management features: Added models, views, and templates for managing FTP quotas and bandwidth resets. Implemented IP blocking functionality with associated views and templates. Updated system scripts for improved repository synchronization and OS detection. Removed outdated workflow files. 2025-09-23 21:09:38 +02:00
Master3395
cd38d6eb29 Update version requirements and enhance upgrade script output: Changed minimum version requirement from 1.9.4 to 2.3.4 in upgrade scripts, improved recovery log messages, and added detailed success and warning messages for the upgrade process. Enhanced user interface elements in the HTML template for better readability. 2025-09-23 20:07:30 +02:00
Master3395
5d4897f7e5 Enhance AlmaLinux support in cyberpanel.sh: Add EPEL repository installation for AlmaLinux 10, update MariaDB repository for RHEL10 compatibility, and improve package installation for AlmaLinux 9/10. Implement symlink creation for boost libraries to ensure galera-4 compatibility on AlmaLinux 10. Enhance GPG key import process with fallback options for better reliability.
https://community.cyberpanel.net/t/support-alma-linux-10/59268/8?u=master3395
2025-09-21 22:00:23 +02:00