diff --git a/CPScripts/mailscannerinstaller.sh b/CPScripts/mailscannerinstaller.sh index 917c678a3..780486854 100644 --- a/CPScripts/mailscannerinstaller.sh +++ b/CPScripts/mailscannerinstaller.sh @@ -285,7 +285,7 @@ IPADDRESS=$(cat /etc/cyberpanel/machineIP) # #elif [ "$CENTOSVERSION" = "VERSION_ID=\"8\"" ]; then # -# rpm -Uvh http://mirror.ghettoforge.org/distributions/gf/el/8/gf/x86_64/gf-release-8-11.gf.el8.noarch.rpm +# rpm -Uvh http://mirror.ghettoforge.net/distributions/gf/el/8/gf/x86_64/gf-release-8-11.gf.el8.noarch.rpm # dnf --enablerepo=gf-plus upgrade -y dovecot23* # dnf --enablerepo=gf-plus install -y dovecot23-pigeonhole # dnf install -y net-tools postfix-perl-scripts diff --git a/CPScripts/spamassassin_tojunk_installer.sh b/CPScripts/spamassassin_tojunk_installer.sh index cb7eb680d..8043f3956 100644 --- a/CPScripts/spamassassin_tojunk_installer.sh +++ b/CPScripts/spamassassin_tojunk_installer.sh @@ -30,7 +30,7 @@ elif [ "$CENTOSVERSION" = "VERSION_ID=\"7\"" ];then elif [ "$CENTOSVERSION" = "VERSION_ID=\"8\"" ];then - rpm -Uvh http://mirror.ghettoforge.org/distributions/gf/el/8/gf/x86_64/gf-release-8-11.gf.el8.noarch.rpm + rpm -Uvh http://mirror.ghettoforge.net/distributions/gf/el/8/gf/x86_64/gf-release-8-11.gf.el8.noarch.rpm dnf --enablerepo=gf-plus upgrade -y dovecot23* dnf --enablerepo=gf-plus install -y dovecot23-pigeonhole dnf install -y net-tools postfix-perl-scripts diff --git a/README.md b/README.md index 7dcf727bb..98284c029 100755 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Web Hosting Control Panel powered by OpenLiteSpeed, designed to simplify hosting - šŸ“€ **One-click Backups and Restores**. - 🐳 **Docker Management** with command execution capabilities. - šŸ¤– **AI-Powered Security Scanner** for enhanced protection. +- šŸ“Š **Monthly Bandwidth Reset** - Automatic bandwidth usage reset (Fixed in latest version). --- @@ -75,9 +76,10 @@ CyberPanel runs on x86_64 architecture and supports the following operating syst ### **āœ… Currently Supported** +- **Ubuntu 24.04.3** - Supported until April 2029 ⭐ **NEW!** - **Ubuntu 22.04** - Supported until April 2027 - **Ubuntu 20.04** - Supported until April 2025 -- **AlmaLinux 10** - Supported until May 2030 +- **AlmaLinux 10** - Supported until May 2030 ⭐ **NEW!** - **AlmaLinux 9** - Supported until May 2032 - **AlmaLinux 8** - Supported until May 2029 - **RockyLinux 9** - Supported until May 2032 @@ -107,6 +109,7 @@ Install CyberPanel easily with the following command: sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh) ``` + --- ## šŸ“Š Upgrading CyberPanel @@ -119,6 +122,22 @@ sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgr --- +## šŸ†• Recent Updates & Fixes + +### **Bandwidth Reset Issue Fixed** (January 2025) +- **Issue**: Monthly bandwidth usage was not resetting, causing cumulative values to grow indefinitely +- **Solution**: Implemented automatic monthly bandwidth reset for all websites and child domains +- **Affected OS**: All supported operating systems (Ubuntu, AlmaLinux, RockyLinux, RHEL, CloudLinux, CentOS) +- **Manual Reset**: Use `/usr/local/CyberCP/scripts/reset_bandwidth.sh` for immediate reset +- **Documentation**: See [Bandwidth Reset Fix Guide](to-do/cyberpanel-bandwidth-reset-fix.md) + +### **New Operating System Support Added** (January 2025) +- **Ubuntu 24.04.3**: Full compatibility with latest Ubuntu LTS +- **AlmaLinux 10**: Full compatibility with latest AlmaLinux release +- **Long-term Support**: Both supported until 2029-2030 + +--- + ## šŸ“š Resources - 🌐 [Official Site](https://cyberpanel.net) @@ -146,4 +165,22 @@ sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgr | 🐳 Docker | [Command Execution](guides/Docker_Command_Execution_Guide.md) | Execute commands in containers | | šŸ¤– Security | [AI Scanner](guides/AIScannerDocs.md) | AI-powered security scanning | | šŸ“§ Email | [Mautic Setup](guides/MAUTIC_INSTALLATION_GUIDE.md) | Email marketing platform | +| šŸ“Š Bandwidth | [Reset Fix Guide](to-do/cyberpanel-bandwidth-reset-fix.md) | Fix bandwidth reset issues | | šŸ“š All | [Complete Index](guides/INDEX.md) | Browse all available guides | + +--- + +## šŸ”§ Troubleshooting + +### **Common Issues & Solutions** + +#### **Bandwidth Not Resetting Monthly** +- **Issue**: Bandwidth usage shows cumulative values instead of monthly usage +- **Solution**: Run the bandwidth reset script: `/usr/local/CyberCP/scripts/reset_bandwidth.sh` +- **Prevention**: Ensure monthly cron job is running: `0 0 1 * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/postfixSenderPolicy/client.py monthlyCleanup` + + +#### **General Support** +- Check logs: `/usr/local/lscp/logs/error.log` +- Verify cron jobs: `crontab -l` +- Test manual reset: Use provided scripts in `/usr/local/CyberCP/scripts/` diff --git a/backup/templates/backup/backupSchedule.html b/backup/templates/backup/backupSchedule.html index 904bcf303..30d12e3b2 100644 --- a/backup/templates/backup/backupSchedule.html +++ b/backup/templates/backup/backupSchedule.html @@ -402,6 +402,7 @@
{% trans "Remote Backups Guide" %} diff --git a/backup/templates/backup/googleDrive.html b/backup/templates/backup/googleDrive.html index ca874d8ed..bb5bb6da6 100644 --- a/backup/templates/backup/googleDrive.html +++ b/backup/templates/backup/googleDrive.html @@ -435,6 +435,7 @@
{% trans "Documentation" %} @@ -518,7 +519,7 @@

{% trans "Backup retention is a" %} - {% trans "paid feature" %}. + {% trans "paid feature" %}. {% trans "Upgrade to manage how long backups are stored." %}

diff --git a/baseTemplate/templates/baseTemplate/FileManager.html b/baseTemplate/templates/baseTemplate/FileManager.html index 5da3a3a63..16c3401d8 100644 --- a/baseTemplate/templates/baseTemplate/FileManager.html +++ b/baseTemplate/templates/baseTemplate/FileManager.html @@ -173,7 +173,7 @@