CyberPanel Community

Error while updating server!

p4
p4trk #1

Hello everyone!

I was updating both of my CyberPanel servers. One is in NYC and one in FRA. The one in NYC updated without a problem but the one in FRA, towards the end of the update, it got an error message:

–2022-11-20 20:31:02-- https://cyberpanel.sh/www.litespeedtech.com/packages/lsapi/wsgi-lsapi-2.1.tgz
Resolving cyberpanel.sh (cyberpanel.sh)… 89.208.248.38
Connecting to cyberpanel.sh (cyberpanel.sh)|89.208.248.38|:443… connected.
Unable to establish SSL connection.
tar: wsgi-lsapi-2.1.tgz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
/usr/local/cyberpanel_upgrade.sh: line 618: cd: wsgi-lsapi-2.1: No such file or directory

The server is hosting a few WordPress websites as well as a couple email accounts so I am worried.

Please help.

Below is a screenshot

4 replies
p4
p4trk #2

Also, once in console, I see the following:

New release ‘22.04.1 LTS’ available…
Should I be updating that?

jo
josephgodwinke #3

Hello @p4trk Kindly ignore that message. If you try to upgrade cyberpanel will no longer work.

cd ~
curl -O http://www.litespeedtech.com/packages/lsapi/wsgi-lsapi-2.1.tgz
tar xf wsgi-lsapi-2.1.tgz
cd wsgi-lsapi-2.1
python3 ./configure.py
make
cp lswsgi /usr/local/lsws/fcgi-bin/
cd ~
rm -r wsgi-lsapi-2.1
rm -r wsgi-lsapi-2.1.tgz
sudo su - -c "sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)"
p4
p4trk #5

Thank you so much! That helped. Why did that happen in the first place? I would update the same way, each time for both servers but US server didn’t have any issues. The EU one did.

jo
josephgodwinke #6

Good news! As seen in this screenshot ssl connection failed to download wsgi-lsapi-2.1.tgz for reasons I cannot tell unless you post the contents of /var/logs/upgradeLogs.txt

If this is resolved mark the solution to help the community

Sign in to reply