Cyberpanel with wordpress getting HTTP ERROR 500

everything was working find and all of a sudden the website does not load. I am able to login to the cyberpanel admin side no problem. I also did perform cyberpanel upgrade to latest version and also reboot the VPS and still same HTTP ERROR 500. I am hosting the cyberpanel on linode ubuntu 20.04 LTS. not sure whats going on, help please. disk usage is at 47% so its not disk problem. What else can it be?

below are outputs from df -i and df.

root@localhost:~# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 113731 401 113330 1% /dev
tmpfs 125035 592 124443 1% /run
/dev/sda 1605632 224358 1381274 14% /
tmpfs 125035 10 125025 1% /dev/shm
tmpfs 125035 3 125032 1% /run/lock
tmpfs 125035 18 125017 1% /sys/fs/cgroup
/dev/loop0 96000 67 95933 1% /tmp
tmpfs 125035 22 125013 1% /run/user/0

root@localhost:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 454924 0 454924 0% /dev
tmpfs 100028 968 99060 1% /run
/dev/sda 25210292 11348016 12561428 48% /
tmpfs 500140 352 499788 1% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 500140 0 500140 0% /sys/fs/cgroup
/dev/loop0 1474600 204 1381212 1% /tmp
tmpfs 100028 0 100028 0% /run/user/0

Hello @faridkhan

Can you restart your server and open your website, but have a SSH terminal window running this command

htop

If you don’t have it, you can safely install it with:

apt install -y htop || yum install -y htop || dnf install -y htop

Wait 15 seconds and post a screenshot of terminal here


there you go

Everything seems ok. We can rule out heavy load.

Run command touch /usr/local/CyberCP/debug reboot server and post contents of nano /home/cyberpanel/error-logs.txt when you revisit any website or admin panel

I am getting permission denied…

Recheck the post I edited it

sent you screenshot in DM

You were running a very old version of cyberpanel.

There were major changes to CyberPanel around SSL like update to SSL Engine (Drop certbot support), improved ssl configs

Run ls /usr/local/Example/html/.well-known/acme-challenge/ see if it works

Run wget -O - https://get.acme.sh | sh to update the ACME client to the latest version

Question can you rollback your server before the update

i was on version from nov 2011 and today I found this error and decided to upgrade the server to latest using the following command to upgrade it…

sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

root@localhost:~# ls /usr/local/Example/html/.well-known/acme-challenge/
ls: cannot access ‘/usr/local/Example/html/.well-known/acme-challenge/’: No such file or directory

just ran the wget -O - https://get.acme.sh | sh command and it completed successfully.

I have linode backups, I can roll back to yesterday’s backup if that works? when I went to the version management before upgrade today it had a red error something about version upgrade wrong it was saying to upgrade manually. so not sure if this issue was from before today, but end user client informed me today that their site was down so not sure when this issue occured.

Wondering if rolling back to yesterday snapshot will help or not.

Rollback to a snapshot before the first upgrade you did when client said their site is down. Post the version here I help you

ok so I restored it to oct 28th 2022, the site loads now, but here is what version management says on cyberpanel admin side…

Please copy paste the current commit here

I am not sure what that means.

b07b442cb6f397c3acbbb5ed398132c32ba08937_2_684x499

Please copy-pasta whatever is boxed in red here

Current Commit:
d617e48d37b9f7bb65ffa6a23547bd8a9a99853e

Does the website run as expected now?

I just tested it. Yes it’s working as expected. But that red message on the version management worries me now