Deleted all backups and CyberPanel is now not accessible.

Hi all
I hope I can get help for this. CyberPanel was filling up my disk space. I deleted all logs and backups, now Cyberpanel cannot start.

getting the following error: lscpd.service: Failed to execute command: No such file or directory.
Not sure if this was also deleted in the process.

is there a way to restore my installtion or to install and keep my files?

After some investigation, it seems I might have deleted everything inside the /usr/local/ directory. Any way to restore this?