myron fbc445dad2 Migrate panel DB from MySQL to SQLite
Panel no longer depends on the user-managed MariaDB service.
SQLite at /var/lib/novacpx/panel.db runs independently so the
control panel stays up even when MariaDB is stopped.

- DB.php: switch to sqlite: DSN, add SQL translator (ON DUPLICATE KEY,
  DATE_ADD/DATE_SUB INTERVAL, NOW(), UNIX_TIMESTAMP(), IFNULL)
- Core.php: replace DB_HOST/NAME/USER/PASS with DB_PATH constant
- schema.sql: full SQLite syntax, add TOTP columns to users table
- _branding.php: use sqlite: PDO, datetime('now') for session check
- install.sh: apt install sqlite3, create SQLite DB instead of MySQL DB
- tools/migrate-to-sqlite.sh: one-shot migration script for existing installs
2026-06-09 14:52:02 +00:00
2026-06-09 14:52:02 +00:00

NovaCPX Documentation

NovaCPX is an open-source Linux web hosting control panel with three-tier management (Admin → Reseller → User).

Documents

Guide Audience Description
Installation Guide Server admins Requirements, installer usage, file layout, auto-deploy setup
Admin Guide Server admins All admin panel features: accounts, DNS, mail, security, Docker, notifications
Reseller Guide Resellers Creating and managing customer accounts, white-label branding
User Guide End users Files, email, databases, FTP, DNS, SSL, cron, Docker
API Reference Developers Full REST API documentation for all endpoints
  • Admin panel: https://<server>:8882
  • Reseller panel: https://<server>:8881
  • User panel: https://<server>:8880
  • Webmail: https://<server>:8883

Source

GitHub: myronblair/novacpx

S
Description
Mirror of github.com/myronblair/novacpx
Readme 771 KiB
Languages
JavaScript 50.6%
PHP 41.3%
Shell 5.7%
CSS 2.4%