Commit Graph

5015 Commits

Author SHA1 Message Date
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
Master3395
0989927096 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
80b13b3b9e Merge pull request #1524 from master3395/v2.5.5-dev
V2.5.5 dev
2025-09-24 01:11:48 +02:00
Master3395
7faac5167c 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
f3f6fd88a6 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
2b74c34f3c Merge pull request #1523 from master3395/v2.5.5-dev
Update MariaDB repository URLs to use HTTPS and enhance setup logic f…
2025-09-24 00:37:03 +02:00
Master3395
1606e14158 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
568319f87f Merge pull request #1522 from master3395/v2.5.5-dev
Setup MariaDB repository for AlmaLinux 9/10 in cyberpanel.sh and upda…
2025-09-24 00:16:46 +02:00
Master3395
a346c7c24b 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
58cccf60a0 Merge pull request #1521 from master3395/v2.5.5-dev
Enhance package installation in cyberpanel.sh: Added EPEL repository …
2025-09-24 00:03:01 +02:00
Master3395
79937b2f5d 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
30d5379829 Merge pull request #1520 from master3395/v2.5.5-dev
V2.5.5 dev
2025-09-23 23:42:33 +02:00
Master3395
cf540417dd Merge branch 'usmannasir:v2.5.5-dev' into v2.5.5-dev 2025-09-23 23:42:05 +02:00
Master3395
fbe24ffca3 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
e73cd18a64 Merge pull request #1519 from master3395/v2.5.5-dev
V2.5.5 dev
2025-09-23 23:34:09 +02:00
Master3395
b454e99759 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
bd4d4088b2 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
a577b909b8 Remove deprecated IP blocking script: Deleted block_ip.py as it is no longer needed in the current implementation of CyberPanel. 2025-09-23 22:37:32 +02:00
Master3395
8867254382 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
6bf0ee0238 Merge pull request #1518 from master3395/v2.5.5-dev
V2.5.5 dev
2025-09-23 21:51:25 +02:00
Master3395
b056b1d3f8 Merge branch 'usmannasir:v2.5.5-dev' into v2.5.5-dev 2025-09-23 21:51:05 +02:00
Master3395
69cdc94038 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
a132af4858 Merge pull request #1517 from master3395/v2.5.5-dev
V2.5.5 dev
2025-09-23 21:24:59 +02:00
Master3395
c06b25d96e Merge branch 'v2.5.5-dev' of https://github.com/master3395/cyberpanel into v2.5.5-dev 2025-09-23 21:23:56 +02:00
Master3395
de314ec1cb Add IP blocking functionality to homePage.html: Implemented a script to block IP addresses with confirmation prompts, CSRF token handling, and user notifications for success or failure. Enhanced user experience with loading states and automatic page refresh after blocking an IP. 2025-09-23 21:23:54 +02:00
Master3395
68ef10b1f4 Merge branch 'usmannasir:v2.5.5-dev' into v2.5.5-dev 2025-09-23 21:10:06 +02:00
Master3395
59c415ae1d 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