Commit Graph

51 Commits

Author SHA1 Message Date
Master3395
157f89fde2 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
4a2b003993 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
fe6aec4f09 Add initialization for serial variable in installation script 2025-09-24 18:20:59 +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
60f6ade967 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
cb95ba2c82 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
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
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
685a464ca5 Fix pysftp dependency issue and optimize WSGI-LSAPI compilation: Removed pysftp from requirements in favor of paramiko, and updated Makefile for proper optimization flags to avoid _FORTIFY_SOURCE warnings during WSGI-LSAPI installation. 2025-09-23 19:06:33 +02:00
Master3395
c873bfc140 Remove deprecated migration script and update version to 2.4 Build 4: The run_migration.py script has been deleted as it is no longer needed. The version file has been incremented to reflect the latest build. Additionally, the Django settings have been updated to include DEFAULT_AUTO_FIELD for improved primary key handling. 2025-09-23 09:55:27 +02:00
usmannasir
0d537fd9ec bug fix: installation issues 2025-09-21 13:04:51 +05:00
usmannasir
570a4953d0 some bug fixes to install.py 2025-09-21 01:07:38 +05:00
usmannasir
f943e5c961 some bug fixes to install.py 2025-09-21 00:37:02 +05:00
usmannasir
6bd125622e some bug fixes to install.py 2025-09-21 00:21:07 +05:00
usmannasir
94c56c0015 bug fix: of evn creation 2025-09-20 20:21:18 +05:00
usmannasir
b07d895bec debian 12 2025-09-19 12:06:13 +05:00
usmannasir
f75bf31c68 debian 12 2025-09-19 11:45:19 +05:00
usmannasir
27f8bf65a9 debian 12 2025-09-19 11:32:35 +05:00
usmannasir
212bf53932 debian 12 2025-09-19 09:40:01 +05:00
usmannasir
2f297029d0 debian 12 2025-09-18 23:20:05 +05:00
usmannasir
76356d3032 debian 12 2025-09-18 23:16:37 +05:00
usmannasir
e9b2220246 debian 12 2025-09-18 14:20:01 +05:00
usmannasir
91d7c1457f debian 12 2025-09-18 12:42:00 +05:00
usmannasir
3ae4be91af debian 12 2025-09-18 12:30:22 +05:00
usmannasir
09b50511cc debian 12 2025-09-18 01:58:24 +05:00
usmannasir
0e45e6272c debian 13 ols fix 2025-09-18 01:29:38 +05:00
usmannasir
74b5ce97d4 debian 13 ols fix 2025-09-18 01:15:38 +05:00
Master3395
1a82700f51 Update PHP version references and improve AlmaLinux 9 compatibility
- Changed PHP symlink from version 8.0 to 8.3 in various scripts to ensure compatibility with the latest PHP version.
- Updated documentation links in the FAQ to point to the new community support page.
- Added checks and fixes for MariaDB installation issues specific to AlmaLinux 9.
- Enhanced the installation script to support additional PHP versions and improve overall installation reliability.
2025-09-15 01:25:52 +02:00
Master3395
7bd66f7f06 Enhance environment variable management and security
- Updated .gitignore to include additional sensitive files and directories.
- Added python-dotenv to requirements for loading environment variables.
- Modified settings.py to load environment variables for sensitive configurations, including SECRET_KEY, DEBUG, and database credentials.
- Implemented secure .env file generation during installation to avoid hardcoding sensitive information.
- Introduced fallback method for settings update if environment generation fails.
2025-09-13 19:07:03 +02:00
Master3395
0c8ee38c2b Add Almalinux 10 and php 84+85
Add Almalinux 10 and php 84+85
2025-09-07 22:57:53 +02:00
usmannasir
9a38b98ca9 v2.4.4 release 2025-09-01 13:11:42 +05:00
usmannasir
09eac4de1c bug fix: snappymail on ubuntu 24 2025-08-31 19:55:56 +05:00
usmannasir
f1f779c618 bug fix: snappymail on ubuntu 24 2025-08-31 13:16:22 +05:00
usmannasir
a85e5bd261 bug fix: snappymail on ubuntu 24 2025-08-31 12:32:58 +05:00
usmannasir
c4c853ea41 bug fix: snappymail on ubuntu 24 2025-08-30 23:40:20 +05:00
usmannasir
06653ab77c ubuntu 24 ftp fix 2025-08-29 22:30:06 +05:00
usmannasir
fcedc2786b bug fix: ubuntu 24 default php for lscpd 2025-08-29 21:37:38 +05:00
usmannasir
6f44494d27 bug fix: for ubuntu 24 2025-08-29 20:44:19 +05:00
usmannasir
d0b7ee2e5b bug fix: for ubuntu 24 2025-08-29 20:13:28 +05:00
usmannasir
be3c66128c bug fix: postfix/dovecot on alma9 2025-08-19 18:36:48 +05:00
usmannasir
0704e97ff8 bug fixes to wp installation 2025-08-07 06:58:48 +05:00
usmannasir
695425a8d6 bug fix: https://github.com/usmannasir/cyberpanel/issues/1466 2025-08-02 10:03:09 +05:00
usmannasir
9b509e4a6f release v2.4.3 2025-08-01 15:05:33 +05:00