Cyberpanel 8090 Internal Error

Hi,
I don’t know if it’s to do with the hack or just a coincidence but when I go to log into my CyberPanel (https://myIp:8090/base/) I get an internal error with the message “The server encountered an unexpected condition which prevented it from fulfilling the request.” The network tab tells me it’s a “500 Internal Error”.

I can still log onto my VM with Putty and I think things look okay, the databases are there and my website is running normally (though the jar did stop three days in a row a week ago, that normally only happens once every few months).

When I first noticed it I tried to upgrade my CyberPanel following instructions here but the command
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)
gave me the error “protobuf requires Python ‘>=3.7’ but the running Python is 3.6.8”.

I came back to it today and have installed pyenv so that I can have a different version of python running. If I do “python3 --version” it tells me I’m running 3.11.3. Good, I thought, I’ll run the initial command again, but I get the same error message saying my python is 3.6.8.

So, quick question - how can I run the upgrade command so that it’ll use the right version of python? Also, should I be in a particular directory/folder when I run it?

I’ve also tried restarting the panel with “systemctl restart lscpd” and that appears to work, or at least it doesn’t complain. But no difference when I go to the panel.

From another thread when I first looked at this I saw a few log files to look at, I did that (can’t remember which ones) but there was nothing I thought was useful.

Thanks in advance.
cheers

Follow this guide if you can’t access your server or their any cpu 100% issue.

Thanks for this, I’d seen it before but didn’t try anything as I’d tried some of them earlier and didn’t think the rest applied.

I’ve now run the kinsing script but it didn’t find anything, htop didn’t show anything that rang any immediate alarm bells, lots of SUCCESS, but I can’t say I know what all the processes were. CPU is fine and, as I said earlier, my site is running without any problems.

Here’s the responses to the commands in step 4, finishing with “netplan: command not found” so couldn’t take that one any further…

I’m not sure this is the cause of my problem, I’ll elsewhere to find out how to do what I asked in my initial question, which wasn’t really a Cyberpanel one.

Cheers

This guide will help in case if your CPU is full or SSH not working or Like Ping is not working.

If these are working then you can follow something else.

Did you change your port from 8090 to something else before ?

Nope. Changed as little as possible.

It turns out the OS I’m running is out of support, vulnerable and older than the hills. I’ll try upgrading that and hopefully this problem will go away.

Cheers

1 Like

I have the same issue, were you able to fix this by upgrading the OS?

Hi @Rahul, no not yet.

I was trying to find out the best way to do that and found that in the control panel of my VPS provider there was the option to restore from backup. There was one from just before CyberPanel failed so I restored that. There were a couple of updates after that, I lost my root credentials but I was able to reset that in the same panel, and I needed to kick off my app again but that was it.

They have options for upgrading the OS too and I’ll be doing that soon (when I have a bit more time).

Do let me know if you have any progress. I am running cent os 7, which is also EOL. That could be the reason for my issues as well.