BUG REPORT: CyberPanel v2.4.8 – LSCP/WebAdmin Runtime Corrupted After Repair Attempt (Ubuntu 24.04)
Environment
- CyberPanel Version: v2.4.8
- Operating System: Ubuntu 24.04 LTS
- VPS Provider: DigitalOcean
- Web Server: OpenLiteSpeed
- Python: /usr/local/CyberPanel/bin/python3
Current Situation
The websites are fully operational.
Working services:
- OpenLiteSpeed
- MariaDB
- FastAPI SSH Server
- lscpd service (starts)
Broken service:
- CyberPanel WebAdmin (Port 8090)
What Happened
While attempting to repair the CyberPanel Web Terminal (FastAPI), the installation became partially corrupted.
Initially, several missing Python modules were fixed:
- asyncssh
- fastapi
- paramiko
- python-jose
The FastAPI SSH server now starts correctly using Uvicorn.
However, CyberPanel WebAdmin no longer works.
Confirmed Findings
FastAPI
Works correctly.
/usr/local/CyberPanel/bin/python3 -m uvicorn fastapi_ssh_server:app
Application starts successfully.
Service
fastapi_ssh_server.service
Running normally.
LSCPD
systemctl status lscpd
Service starts successfully.
Missing Runtime
The following directories are completely missing:
/usr/local/lscp/conf
/usr/local/lscp/admin/conf
These directories no longer exist.
Installer
Running
sh <(curl -fsSL https://cyberpanel.net/install.sh)
fails during installation.
Observed issues include:
- ftpgroup already exists
- ftpuser already exists
- installer still executes
groupadd -g 2001 ftpgroup
and aborts.
Later the installer also exits with:
Oops, something went wrong... [404]
Existing FTP Objects
ftpgroup:x:2001
ftpuser:x:2001:2001
Both already exist.
Additional Findings
Initially installer failed because:
ufw
was missing.
Installing UFW fixed that issue, but installation still fails later.
Current State
Working:
- Websites
- Virtual Hosts
- MariaDB
- OpenLiteSpeed
- SSH
- FastAPI
Broken:
- CyberPanel WebAdmin
- LSCP Runtime
- Port 8090
Request
This appears to be a partially corrupted LSCP/WebAdmin runtime rather than a full CyberPanel failure.
I am NOT looking for a clean reinstall because this is a production server with live websites.
I need the official version-specific recovery procedure to restore:
- LSCP runtime
- WebAdmin
- Port 8090
without affecting:
- existing websites
- MariaDB
- OpenLiteSpeed
- user data
Any official recovery script or supported rebuild procedure would be greatly appreciated.