master3395 2b8377da7f Permanent fix: ensure all new child domains get correct log configuration
- Fixed perHostDomainConf() to replace {virtualHostName} placeholder in olsChildConf template
- Updated lswsChildConf template to use master domain log directory
- Updated lswsRediConfChild and lswsRediConfChildWWW templates to use master domain log directory
- Added automatic log directory and log file creation for child domains during creation
- Log files are now created at /home/{masterDomain}/logs/{childDomain}.{access|error}_log
- Ensures all newly created sub-domains automatically have separate log files from the start

This permanent fix ensures that when child domains are created:
1. VHost config uses correct log paths pointing to master domain's log directory
2. Log directory is created if it doesn't exist
3. Separate log files are created for each child domain with proper permissions
4. Works for both OpenLiteSpeed (OLS) and LiteSpeed Enterprise (LSWS) configurations

Fixes the root cause so all future child domain creations will have correct log configuration automatically.
2026-01-19 18:46:16 +01:00
2025-10-01 11:46:58 +05:00
2025-08-05 01:47:22 +05:00
2025-08-01 14:56:30 +05:00
2025-09-30 00:12:48 +05:00
2025-09-30 12:31:09 +05:00
2026-01-10 03:43:36 +01:00
2025-09-08 11:50:35 +02:00
2025-08-01 14:56:30 +05:00
2025-09-08 11:50:35 +02:00
2025-09-08 16:48:38 +02:00
2025-08-01 14:56:30 +05:00
2025-09-08 11:50:35 +02:00
2025-09-07 22:57:53 +02:00
2025-08-01 14:56:30 +05:00
2025-08-01 14:56:30 +05:00
2025-08-01 14:56:30 +05:00
2025-08-01 14:56:30 +05:00
2025-08-01 14:56:30 +05:00
2025-08-01 14:56:30 +05:00
2025-08-01 14:56:30 +05:00
2025-08-01 14:56:30 +05:00
2025-08-01 14:56:30 +05:00
2025-08-01 14:56:30 +05:00
2025-08-01 14:56:30 +05:00
2025-08-01 14:56:30 +05:00
2025-08-01 14:56:30 +05:00
2025-08-01 14:56:30 +05:00
2025-09-27 11:41:16 +05:00
2025-08-01 14:56:30 +05:00

CyberPanel Logo

CyberPanel

Web Hosting Control Panel powered by OpenLiteSpeed Fast • Secure • Scalable — Simplify hosting management with style.

Version: 2.5.5-dev • Updated: November 15, 2025

GitHub Docs Forum Discord YouTube


Key highlights

  • Performance first — OpenLiteSpeed + HTTP/3 + LSCache
  • 🔒 Security by default — Auto SSL, FirewallD integration, 2FA, brute-force protection
  • 📧 Integrated mail — Postfix, Dovecot, SnappyMail
  • 🗂 Backups & restore — One-click snapshots and rollbacks
  • 👨‍💻 Developer friendly — Git manager, REST API, staging, PHP version switcher

Features

Security

  • Auto SSL (Let's Encrypt)
  • Firewall integrations (FirewallD, optional CSF export)
  • 2FA (TOTP + WebAuthn/Passkey)
  • AI-powered security scanner (optional)

Hosting & Websites

  • OpenLiteSpeed (HTTP/3, QUIC)
  • One-click WordPress (LSCache-ready)
  • PHP per-site version selector
  • File manager, FTP, SFTP

Email & DNS

  • Postfix + Dovecot
  • SnappyMail webmail
  • DNS (PowerDNS) with easy zone management

Developer & Automation

  • RESTful API (create/list/manage sites, users, packages)
  • Git integration & staging
  • Docker command execution support

Backups & Storage

  • Local snapshots, remote backups (S3/AWS compatible)
  • One-click restore and scheduled backups


Supported platforms (condensed)

OS family Recommended / Supported
Ubuntu 24.04, 22.04, 20.04 Recommended
Debian 13, 12, 11 Supported
AlmaLinux 10, 9, 8 Supported
RockyLinux 9, 8 Supported
RHEL 9, 8 Supported
CloudLinux 9, 8 Supported
CentOS 7 ⚠️ Legacy — EOL

CyberPanel targets x86_64 only. Test the unsupported OS in staging first.


PHP support (short)

  • Recommended: PHP 8.5 (beta), 8.4, 8.3, 8.2, 8.1
  • ⚠️ Legacy: PHP 8.0, PHP 7.4 (security-only)
  • Deprecated: PHP 7.1, 7.2, 7.3 (no longer installed)

Third-party repositories (Remi, Ondrej) may provide older or niche versions; verify compatibility before use.


Quick install

sh <(curl -s https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)

➡️ See guides/INSTALLATION.md for platform-specific options and non-interactive installs.


sh <(curl -s https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

Post-upgrade checklist: verify email, DNS, SSL, and run a smoke test on key sites.


Troubleshooting (common)

Command not found — install curl/wget/git/python3

# Ubuntu/Debian
sudo apt update && sudo apt install -y curl wget git python3

# RHEL/CentOS/Alma/Rocky
sudo yum install -y curl wget git python3

Port 8090 in use — find and stop conflicting process:

sudo ss -tlnp | grep :8090
sudo kill -9 <PID>

Logs & verification

systemctl status lscpd
curl -I http://localhost:8090
tail -f /usr/local/lscp/logs/error.log
journalctl -u lscpd -f

Recent fixes

  • 15.11.2025 — Hardened MySQL password rotation: mysqlUtilities.changePassword now auto-resolves the backing MySQL account (user + host) even when DBUsers metadata is missing, preventing the historical [mysqlUtilities.changePassword] can only concatenate str (not "int") error. Regression tests live under Test/mysqlUtilities/, and you should restart lscpd after deploying the patch so the helper reloads.

Resources


💡 Hosting should be secure, simple, and fast. CyberPanel is built for that.

Description
Cyber Panel - The hosting control panel for OpenLiteSpeed
Readme GPL-3.0 960 MiB
Languages
JavaScript 74.7%
HTML 9.1%
Python 8.8%
CSS 5.9%
Shell 0.9%
Other 0.6%