Is CyberPanel compatible with Debian? Or you migrated to different CP?
It isn't officially, but you can get it to work if you hack the installer about a bit. Though it's probably not advisable in any kind of production environment because any update is going to cause big issues.
Migrating to Debian is one part of a whole bigger infrastructure change, and that includes a migration to a different CP. Part of the reason for that particular change is separation and efficiency, we don't want to have a control panel installed separately on each web server, but to run the CP on an instance of it's own and have it manage sites on other servers.
CyberPanel has a lot going for it, but that is something it just can't do out of the box, and we've struggled to find something that does in the way we wanted it to. Ultimately we've decided to build our own custom solution that does what we need, based on an existing open source project (ISPConfig) but with some changed components.