Commit Graph

20 Commits

Author SHA1 Message Date
Master3395
583680ff90 Fix monthly bandwidth for websites
Fix monthly bandwidth for websites:
https://github.com/usmannasir/cyberpanel/issues/1496
2025-09-12 10:41:11 +02:00
Master3395
3d72839b33 Fix mirror gettoforge
https://github.com/usmannasir/cyberpanel/issues/1499
2025-09-12 09:42:52 +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
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
a932613827 bug fix: snappymail on ubuntu 24 2025-08-31 00:04:51 +05:00
usmannasir
c4c853ea41 bug fix: snappymail on ubuntu 24 2025-08-30 23:40:20 +05:00
usmannasir
a272a41827 bug fix: ubuntu 24 default php for lscpd 2025-08-29 22:01:21 +05:00
usmannasir
0a6d3f9d35 bug fix: ubuntu 24 default php for lscpd 2025-08-29 21:41:14 +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
064f3fbe96 bug fix: add missing php for lscpd 2025-08-23 22:10:44 +05:00
usmannasir
cd9792c941 feat: Add comprehensive recovery mechanism for damaged CyberPanel installations during upgrade
- Implement directory integrity checks to detect missing CyberPanel components
- Add automatic recovery by cloning fresh repository when essential directories are lost
- Create database credential recovery with automatic password reset capability
- Update all service configurations (FTP, PowerDNS, Postfix, Dovecot) when password is reset
- Add service restart functionality to apply new configurations
- Preserve existing configuration files during recovery process
- Handle both Ubuntu (root password) and CentOS (separate password) database configurations

This ensures upgrades can complete successfully even when /usr/local/CyberCP is completely lost.
2025-08-23 16:02:19 +05:00
usmannasir
b86054c6d5 bug fix: AlmaLinux 9 virtual environment creation in upgrade script
- Applied same fix from cyberpanel.sh to cyberpanel_upgrade.sh
- Detects AlmaLinux/Rocky Linux 9 (as CentOS 9) and uses dynamic Python path resolution
- Fixes TypeError: expected string or bytes-like object during virtualenv creation
- Uses 'which python3' to find correct Python executable path instead of hardcoded /usr/bin/python3
- Applied fix to all 4 locations where virtualenv is created in upgrade script
2025-08-04 15:38:54 +05:00
usmannasir
80c0c3c810 potential bug fix in upgrade 2025-08-03 23:06:13 +05:00
usmannasir
e3e88f7fd8 potential bug fix in upgrade 2025-08-03 22:53:07 +05:00
usmannasir
a7126d6150 potential bug fix in upgrade 2025-08-03 22:37:39 +05:00
usmannasir
1679ee26df potential bug fix in upgrade 2025-08-03 18:23:32 +05:00
usmannasir
272385f6ff potential bug fix in upgrade 2025-08-03 18:10:47 +05:00
usmannasir
6dd7114f6d Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00