Commit Graph

5146 Commits

Author SHA1 Message Date
usmannasir
aff2f5f9c2 fix: Handle MariaDB socket authentication in changeMYSQLRootPassword()
- Add socket authentication support (sudo mysql/mariadb) for fresh MariaDB installs
- Fallback to traditional password-based authentication for existing installs
- Improve error handling with subprocess.run() and proper timeouts
- Add detailed logging to show which authentication method succeeded
- Graceful degradation when all methods fail
- Fixes installation failure when MariaDB is pre-installed as dependency

Resolves issue where installation fails with 'Cannot update settings with empty passwords'
when MariaDB gets installed during dependency phase with socket authentication.
2025-09-28 13:19:30 +05:00
usmannasir
db54c62010 bug fix: cyberpanel db 2025-09-28 03:27:18 +05:00
usmannasir
9336ade62a bug fix: cyberpanel db 2025-09-28 03:07:06 +05:00
usmannasir
46d7337bc6 bug fix: cyberpanel db 2025-09-28 02:50:33 +05:00
usmannasir
df9567a656 bug fixes to isntall code 2025-09-28 02:00:25 +05:00
usmannasir
14f46b6e56 bug fixes to isntall code 2025-09-28 00:05:35 +05:00
usmannasir
978d660c5d bug fix: circular import 2025-09-27 14:13:33 +05:00
usmannasir
3d19448b0d bug fix: circular import 2025-09-27 13:38:57 +05:00
usmannasir
ea3f74b0b9 add missing models to website.py 2025-09-27 13:09:20 +05:00
usmannasir
ec159448af bug fix: staging site issue 2025-09-27 11:41:16 +05:00
Master3395
f778c95f88 Merge pull request #1569 from master3395/v2.5.5-dev
V2.5.5 dev
2025-09-25 23:05:24 +02:00
Master3395
3f4b54551e Merge branch 'v2.5.5-dev' of https://github.com/master3395/cyberpanel into v2.5.5-dev 2025-09-25 23:04:57 +02: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
28fb945a68 Merge pull request #1568 from master3395/v2.5.5-dev
V2.5.5 dev
2025-09-25 22:46:35 +02:00
Master3395
d93e3a0439 Merge branch 'v2.5.5-dev' of https://github.com/master3395/cyberpanel into v2.5.5-dev 2025-09-25 22:45:37 +02:00
Master3395
fd6eb8895c Update repository URLs to use secure HTTPS links
- 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.
2025-09-25 22:45:35 +02:00
Master3395
f9545f475a Merge pull request #1567 from master3395/v2.5.5-dev
Remove deprecated environment configuration and testing scripts
2025-09-25 22:30:20 +02:00
Master3395
afa0158a3b Remove deprecated environment configuration and testing scripts
- 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.
2025-09-25 22:29:53 +02:00
Master3395
795aeabb21 Merge pull request #1566 from master3395/v2.5.5-dev
V2.5.5 dev
2025-09-25 21:29:27 +02:00
Master3395
0a56779336 Merge branch 'usmannasir:v2.5.5-dev' into v2.5.5-dev 2025-09-25 21:29:06 +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
3c3b1fbac5 Merge pull request #1565 from master3395/v2.5.5-dev
Enhance CyberPanel installation script with improved database user ma…
2025-09-25 21:23:22 +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
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