Commit Graph

4825 Commits

Author SHA1 Message Date
Master3395
d191bd208c Resolve issue 1493
Should solve the issue in https://github.com/usmannasir/cyberpanel/issues/1493
2025-09-07 20:40:29 +02:00
Master3395
061387fc57 Update README.md 2025-09-05 01:15:44 +02:00
Master3395
05c441bd2b improve docs, fix links, and add container console support
This update improves documentation clarity, fixes broken documentation links, and introduces a new feature that allows you to access and use the console directly inside containers from CyberPanel.
2025-09-05 01:14:04 +02:00
usmannasir
d8d3865816 Merge branch 'v2.5.5-dev' into v2.4.4 2025-09-05 00:38:44 +05:00
usmannasir
a902dc7aef bug fix: fix dynamic latest version of lsws server 2025-09-04 23:07:27 +05:00
usmannasir
9acfed997a bug fix: login issues 2025-09-04 13:03:10 +05:00
usmannasir
30bb7560f6 php manager issue 2025-09-03 13:41:07 +05:00
usmannasir
90380d26d9 bug fix: php manager turning off uploads 2025-09-03 13:27:00 +05:00
usmannasir
e7c6af4af9 bug fix: imuinfy restore after upgrade 2025-09-03 12:59:55 +05:00
usmannasir
1e3b17a5f4 bug fix: imuinfy restore after upgrade 2025-09-03 02:04:36 +05:00
usmannasir
ccc74c0606 bug fix: imuinfy restore after upgrade 2025-09-03 01:41:32 +05:00
usmannasir
1e0fa8c312 bug fix: imuinfy restore after upgrade 2025-09-03 01:32:06 +05:00
usmannasir
f7799fc7a5 bug fix: imuinfy restore after upgrade 2025-09-03 01:19:09 +05:00
usmannasir
240d40e9b9 bug fix: imuinfy restore after upgrade 2025-09-03 01:11:11 +05:00
usmannasir
b175019482 bug fix: imuinfy restore after upgrade 2025-09-03 01:03:37 +05:00
usmannasir
3bdff496d4 bug fix: imuinfy restore after upgrade 2025-09-02 23:34:16 +05:00
usmannasir
e3abbc47f4 v2.4.4 release 2025-09-01 13:11:42 +05:00
usmannasir
21f33646dd bug fix: postfix conf for ipv6 2025-09-01 00:07:41 +05:00
usmannasir
67a0f6472c bug fix: snappymail on ubuntu 24 2025-08-31 19:55:56 +05:00
usmannasir
c6eb312a2f bug fix: snappymail on ubuntu 24 2025-08-31 13:16:22 +05:00
usmannasir
35e19bede6 bug fix: snappymail on ubuntu 24 2025-08-31 12:32:58 +05:00
usmannasir
ef39f6bba6 bug fix: snappymail on ubuntu 24 2025-08-31 00:04:51 +05:00
usmannasir
c2af237fbc bug fix: snappymail on ubuntu 24 2025-08-30 23:40:20 +05:00
usmannasir
a94fb57ea4 bug fix: font issues 2025-08-30 00:19:22 +05:00
usmannasir
8998ebee51 bug fix: font issues 2025-08-29 23:23:53 +05:00
usmannasir
1053190153 bug fix: font issues 2025-08-29 23:07:30 +05:00
usmannasir
829de19600 ubuntu 24 ftp fix 2025-08-29 22:30:06 +05:00
usmannasir
09f9a6be5a ubuntu 24 support inside cyberpanel 2025-08-29 22:24:13 +05:00
usmannasir
bbb5fa73db bug fix: ubuntu 24 default php for lscpd 2025-08-29 22:01:21 +05:00
usmannasir
a355916402 bug fix: ubuntu 24 default php for lscpd 2025-08-29 21:41:14 +05:00
usmannasir
83269b76f8 bug fix: ubuntu 24 default php for lscpd 2025-08-29 21:37:38 +05:00
usmannasir
b1ef9f7b53 bug fix: for ubuntu 24 2025-08-29 20:44:19 +05:00
usmannasir
2cdb94c480 bug fix: for ubuntu 24 2025-08-29 20:13:28 +05:00
usmannasir
f3344ef300 bug fix: add missing php for lscpd 2025-08-23 22:10:44 +05:00
usmannasir
0d6bb9884a 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
048741d202 feature: ssl status in list websites 2025-08-22 21:10:13 +05:00
usmannasir
ce04ec0468 feature: ssl status in list websites 2025-08-22 21:00:03 +05:00
usmannasir
81eaca01ba bug fix: font size issues in edit php configs page 2025-08-21 12:55:42 +05:00
usmannasir
a57ed2f7dc bug fix: postfix/dovecot on alma9 2025-08-19 18:36:48 +05:00
usmannasir
6371265ee6 bug fix: https://github.com/usmannasir/cyberpanel/issues/1479#issuecomment-3185937407 2025-08-14 20:54:38 +05:00
usmannasir
f62d3f3fa2 bug fix: https://github.com/usmannasir/cyberpanel/issues/1479#issuecomment-3185937407 2025-08-14 20:50:05 +05:00
usmannasir
4f64007a74 bug fix: upgrade missing acl file 2025-08-13 23:35:40 +05:00
usmannasir
3386836a67 Fix Cloudflare proxy enable/disable functionality
- Remove zone_id and id fields from DNS record update payload as they are not expected by Cloudflare API
- Fix KeyError 'zone_id' when accessing DNS record properties that don't exist
- Cloudflare API expects only the data fields in PUT request body, not the identifiers

Fixes #1478
2025-08-13 01:29:21 +05:00
usmannasir
35e3d68853 Remove CSF support as it's being discontinued on August 31, 2025
- Remove CSF menu item from sidebar navigation
- Disable CSF-related URL endpoints in firewall module
- Update upgrade process to automatically remove CSF and restore firewalld
- Archive CSF template and configuration files
- Clean up CSF references in settings and upgrade scripts

CSF (ConfigServer Security & Firewall) is shutting down on August 31, 2025.
This commit removes CSF integration and ensures firewalld is restored as the
default firewall solution during upgrades.

Fixes #1473
2025-08-11 15:49:31 +05:00
usmannasir
29787eb772 bug fix: https://github.com/usmannasir/cyberpanel/issues/773 2025-08-11 00:33:25 +05:00
usmannasir
e831742173 Fix: Preserve new INSTALLED_APPS during upgrade by not overwriting settings.py
The issue was that restoreCriticalFiles was restoring the OLD settings.py from backup
which didn't have new apps like 'aiScanner' in INSTALLED_APPS.

Solution:
- Modified restoreCriticalFiles to skip settings.py restoration
- Keep the NEW settings.py from the fresh clone (which has aiScanner in INSTALLED_APPS)
- Only update the DATABASES section with saved credentials from backup
- This preserves all new app registrations while maintaining database connectivity

This properly fixes the RuntimeError about aiScanner.status_models.ScanStatusUpdate
not being in INSTALLED_APPS after upgrades.
2025-08-08 22:54:44 +05:00
usmannasir
d77258e640 Fix settings.py preservation during upgrade to maintain INSTALLED_APPS
During the upgrade process, settings.py was being overwritten with only the DATABASES
section preserved, causing loss of INSTALLED_APPS and other configurations. This resulted
in the 'aiScanner' app not being recognized after upgrade.

Fixed by:
- Improving the regex pattern to more accurately match only the DATABASES dictionary
- Adding re.DOTALL flag to handle multi-line DATABASES configuration
- Ensuring all other settings including INSTALLED_APPS are preserved during upgrade

This resolves the RuntimeError about aiScanner.status_models.ScanStatusUpdate not having
an explicit app_label.
2025-08-08 22:44:42 +05:00
usmannasir
ca9f25a189 bug fix: https://github.com/usmannasir/cyberpanel/issues/1470 2025-08-08 04:03:18 +05:00
usmannasir
81afc1ba66 bug fix: https://github.com/usmannasir/cyberpanel/issues/1471 2025-08-08 00:56:41 +05:00
usmannasir
728cce9641 bug fix: https://github.com/usmannasir/cyberpanel/issues/1471 2025-08-08 00:25:18 +05:00