CyberPanel Community

CyberPanel Server Error (500) - Help

32 replies
ja
jayw #2

Check logs for errors.

Ki
Kim #3

sometimes its happened … uninstall mariadb and install again :smiley: its the fast way

Cy
CyberPanel #4

nano /usr/local/CyberCP/CyberCP/settings.py

You can open this file and turn on debug log and then do systemctl restart lscpd

Then load the page to see original error.

Am
Amir #5

i had the same problem after password change
turned on debug mode

sa
sailorrr #6

Hi, I did nothing just woke up today and get 500 error, when I turned on debug I get cyberpanel 1040, ‘Too many connections’. What does it mean and does anyone resolved this?

SP
Sibi Paul #7

Type your comment> @CyberPanel said:

nano /usr/local/CyberCP/CyberCP/settings.py

You can open this file and turn on debug log and then do systemctl restart lscpd

Then load the page to see original error.


OperationalError at /
(1045, “Access denied for user ‘cyberpanel’@‘localhost’ (using password: YES)”)
Request Method: GET
Request URL: https://IP:8090/
Django Version: 3.1.3
Exception Type: OperationalError
Exception Value:
(1045, “Access denied for user ‘cyberpanel’@‘localhost’ (using password: YES)”)
Exception Location: /usr/local/CyberCP/lib/python3.6/site-packages/MySQLdb/connections.py, line 185, in init
Python Executable: /usr/local/CyberCP/bin/python
Python Version: 3.6.8


Now tell me, How to fix this…

I saw many people reported this Online…

without doing anything this kind of error coming to cyber panel installations…

1 - Cyber Panel forcing users to buy Paid support to fix this…

even if we have LiteSpeed Enterprises Paid Plan… That Includes Support for CP and LS

2 - Let me know how to copy my site’s database, and move to CPANEL…

I don’t want to risk my sites because of Cyber Panel.

3 - I found many threads are open on this topic and NONE is fixed…

Your Competitor asked me to say this " Thanks for NOT Responding. "

so
sob #8

I have the same problem.
I installed a new service… to my surprise, Cyberpanel had addressed the problem that memcached wasn’t working bc the installation routine forgot powertools.
But now, 7080 is not accessible with error 500.
Fresh installation. Problematic already.

us
usmannasir #9

@sob not sure what you are trying to say?

ma
maximo #10

I have the same issues.
two sites works good, but I can’t access to Cyber Panel.
I didn’t touch anything, just when I start my work I see Internal Server Error 500.

Even when i try to get True in Debug of Django, nothing happend after restart.
So I don’t know even where is error?!

It’s pretty frustrating.

Does anyone have any solution for it ?

ma
maximo #11

@usmannasir

I have to tell you few things.
This is really, really great service and tool . I mean Cyber Panel, but if you have such a stupid error from unknow reason, then it is not for professional use.

I’m python and django developer, so I love this Cyber Panel, but really if this upgrade is solve my problem…

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

…then what’s happend with Cyber Panel ?

You can not give to clients something like Internal Server Error 500 and in same time their websites works normally, but they can not login to Panel ?!

This upgrade is not a solution, this is just something temporary and you have to inform all users in documentation what to do if they have 500 error.

I have solved this issues with line from above.

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

us
usmannasir #12

This can happen for various reasons, and no one provide logs except saying the error occurred.

It could be due to MySQL being down or some other reason.

ma
maximo #13

@usmannasir

@usmannasir said:
This can happen for various reasons, and no one provide logs except saying the error occurred.

It could be due to MySQL being down or some other reason.

No, this is not related to MySQL, I know that because I’ve check everything first in Error logs, and there was nothing, completely empty file and this error log is not only file , there is a few error files. So if I check all them there is not Error, but admin was still with 500 Error.

After 3 hours I’v just decide to reboot server, and nothing happens, it was the same.
After that I’ve turn OFF COMPLETE SERVER. And again I started, and again nothing.

Just after Upgrade system is back.
I don’t have idea what to suggest you about this error, but it is pretty frustrating.
Sites work normally, but user can not access to the Cyber Panel admin.

us
usmannasir #14

Just after Upgrade system is back.

Is this ok now ?

ma
maximo #15

Yes, after upgrade, everything’s back to normal

im
imrtls00 #16

Hi I’m currently on CyberPanel v2.1.1 on Ubuntu 20.04 LTS AWS Server.
Yesterday, after simple updating using apt update, I removed a package using “apt autoremove” The name was something like libmariadb and then I shutdown the server.
After restarting, I got 500 internal server error on port 8090, everything else was fine.

This is the terminal output when I ran “cyberpanel”:
Traceback (most recent call last):
File “/usr/local/CyberCP/lib/python3.8/site-packages/MySQLdb/init.py”, line 18, in
from . import _mysql
ImportError: libmariadb.so.3: cannot open shared object file: No such file or directory

@maximo said:
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

After running this script, it installed these two packages and now everything is running smoothly.

  1. libmariadb-dev
  2. libmariadb3

But if these packages were useful why “apt autoremove” removed them…

rs
rsuave78 #17

did anyone ever figure this one out? mine did this again? my Unattended-upgrades removed - libmariadb3 , this morning then i was not able to access got home and ran the script its all good , but wondering should i turn off that Auto-Removed obviously that is needed for Cyberpanel

hc
hcubeweb #18

Type your comment> @Kim said:

sometimes its happened … uninstall mariadb and install again :smiley: its the fast way

how to uninstall and install again

zu
zulfikarwijaya #19

I want to share my experience which have same problem,

Using Ubuntu 18.04, I need to upgrade mariadb because the version not enough to install Moodle, and stuck in error 500 too.

run upgrade
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)
(comment from @maximo)

stuck in libmariadbclient18 cannot open shared object file: No such file or directory, then I install it with

apt install libmariadbclient18

then re-run
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

and problem solved.

An
Anyeos #20

Hello, I want to contribute too:
I am using Ubuntu 20.04.3 LTS

I had manually installed MySQL server because the sites that I want to use are more compatible with MySQL than MariaDB.

Recently a system upgrade updated MySQL and just put in /etc/mysql the “FROZEN” symlink that indicates that the MySQL server is frozen because a downgrade (that is not true because I already did the downgrade a long time ago).

If you are using MySQL don’t forget to remove the /etc/mysql/FROZEN symlink when updated.

Or, if you have removed or changed some system packages related with MariaDB or the database server you will encounter a server internal error 500.
In the last case you must install the missing packages.

ZB
Zafer BAHADIR #21

I have CyberPanel based on Rocky Linux. I had the same problem. I updated the Cayber Panel and the problem was fixed.

sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh 6)
sa
sam1 #22

i am a AWS user so i Rebooted my instance now working fine.

JM
Jonaylton Moura de Sousa #23

Hi Usman, I had this problem recently and I figured out that it was because missing packages that were “accidently” deleted after apt autoremove command, these packages were related to mariadb, so I reinstalled mariadb, upgraded cyberpanel and after that I got access to cyberpanel again.

fa
fayssal #24

thank you for sharing it works 100%

mr
mrwebng #25

I am having the same problem. I can access cyberpanel but can’t access the website it show:
500
Internal Server Error

An internal server error has occured.

Hs
Hisyam syamsuddin #26

my cyberpanel this same problem
how to handle it

Bl
Bl0ck #27

doesn’t helped

Bl
Bl0ck #28

unfortunately I cant do the upgrade.



[10.23.2023_16-07-26] #########################################################################

[10.23.2023_16-07-26] remove yum-plugin-priorities successful.

[10.23.2023_16-07-26] #########################################################################




[10.23.2023_16-07-26] #########################################################################

[10.23.2023_16-07-26] stop lscpd successful.

[10.23.2023_16-07-26] #########################################################################

Changing shell for cyberpanel.
chsh: Warning: "/bin/false" is not listed in /etc/shells.
chsh: Shell not changed.



[10.23.2023_16-07-26] #########################################################################

[10.23.2023_16-07-26] adduser docker successful.

[10.23.2023_16-07-26] #########################################################################




[10.23.2023_16-07-26] #########################################################################

[10.23.2023_16-07-26] adduser docker successful.

[10.23.2023_16-07-26] #########################################################################

--2023-10-23 16:07:26--  https://cyberpanel.sh/composer.sh
Resolving cyberpanel.sh (cyberpanel.sh)... 89.208.248.38
Connecting to cyberpanel.sh (cyberpanel.sh)|89.208.248.38|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 190 [application/x-sh]
Saving to: ‘composer.sh’

100%[=======================================================================>] 190         --.-K/s   in 0s

2023-10-23 16:07:26 (28.0 MB/s) - ‘composer.sh’ saved [190/190]

All settings correct for using Composer
Downloading...

Composer (version 2.6.5) successfully installed to: /usr/local/composer.phar
Use it: php composer.phar




[10.23.2023_16-07-27] #########################################################################

[10.23.2023_16-07-27] Backing up settings file.

[10.23.2023_16-07-27] #########################################################################




[10.23.2023_16-07-27] #########################################################################

[10.23.2023_16-07-27] Settings file backed up.

[10.23.2023_16-07-27] #########################################################################




[10.23.2023_16-07-27] #########################################################################

[10.23.2023_16-07-27] git config --global user.email "support@cyberpanel.net" successful.

[10.23.2023_16-07-27] #########################################################################




[10.23.2023_16-07-27] #########################################################################

[10.23.2023_16-07-27] git config --global user.name "CyberPanel" successful.

[10.23.2023_16-07-27] #########################################################################




[10.23.2023_16-07-28] #########################################################################

[10.23.2023_16-07-28] git fetch successful.

[10.23.2023_16-07-28] #########################################################################

Saved working directory and index state WIP on v2.3.3: 7e18b868 add php8.1 to lsws config



[10.23.2023_16-07-28] #########################################################################

[10.23.2023_16-07-28] git stash successful.

[10.23.2023_16-07-28] #########################################################################

error: The following untracked working tree files would be overwritten by checkout:
        baseTemplate/static/baseTemplate/assets/finalBase/favicon.png
Please move or remove them before you switch branches.
Aborting



[10.23.2023_16-07-28] #########################################################################

[10.23.2023_16-07-28] git checkout v2.3.4 failed, trying again, try number: 1

[10.23.2023_16-07-28] #########################################################################

error: The following untracked working tree files would be overwritten by checkout:
        baseTemplate/static/baseTemplate/assets/finalBase/favicon.png
Please move or remove them before you switch branches.
Aborting



[10.23.2023_16-07-28] #########################################################################

[10.23.2023_16-07-28] git checkout v2.3.4 failed, trying again, try number: 2

[10.23.2023_16-07-28] #########################################################################

error: The following untracked working tree files would be overwritten by checkout:
        baseTemplate/static/baseTemplate/assets/finalBase/favicon.png
Please move or remove them before you switch branches.
Aborting



[10.23.2023_16-07-28] #########################################################################

[10.23.2023_16-07-28] git checkout v2.3.4 failed, trying again, try number: 3

[10.23.2023_16-07-28] #########################################################################




[10.23.2023_16-07-28] #########################################################################

[10.23.2023_16-07-28] git checkout v2.3.4 failed.

[10.23.2023_16-07-28] #########################################################################


No need to re-setup virtualenv at /usr/local/CyberCP...

--2023-10-23 16:07:28--  https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.3.4/requirments.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1461 (1.4K) [text/plain]
Saving to: ‘/usr/local/requirments.txt’

100%[=======================================================================>] 1,461       --.-K/s   in 0s

2023-10-23 16:07:28 (21.1 MB/s) - ‘/usr/local/requirments.txt’ saved [1461/1461]

Collecting acme==1.9.0
  Using cached acme-1.9.0-py2.py3-none-any.whl (42 kB)
Collecting asgiref==3.3.1
  Using cached asgiref-3.3.1-py3-none-any.whl (19 kB)
Collecting asn1crypto==1.4.0
  Using cached asn1crypto-1.4.0-py2.py3-none-any.whl (104 kB)
Collecting Babel==2.8.0
  Using cached Babel-2.8.0-py2.py3-none-any.whl (8.6 MB)
Collecting backports.ssl-match-hostname==3.7.0.1
  Using cached backports.ssl_match_hostname-3.7.0.1-py2.py3-none-any.whl
Collecting bcrypt==3.2.0
  Using cached bcrypt-3.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (61 kB)
Collecting beautifulsoup4==4.9.3
  Using cached beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
Collecting boto3==1.18.26
  Using cached boto3-1.18.26-py3-none-any.whl (131 kB)
Collecting botocore==1.21.26
  Using cached botocore-1.21.26-py3-none-any.whl (7.8 MB)
Collecting cachetools==4.1.1
  Using cached cachetools-4.1.1-py3-none-any.whl (10 kB)
Collecting certifi==2020.11.8
  Using cached certifi-2020.11.8-py2.py3-none-any.whl (155 kB)
Collecting cffi==1.14.3
  Using cached cffi-1.14.3-cp36-cp36m-manylinux1_x86_64.whl (400 kB)
Collecting chardet==3.0.4
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting cloudflare==2.8.13
  Using cached cloudflare-2.8.13-py3-none-any.whl
Collecting ConfigArgParse==1.2.3
  Using cached ConfigArgParse-1.2.3-py3-none-any.whl
Collecting configobj==5.0.6
  Using cached configobj-5.0.6-py3-none-any.whl
Collecting cryptography==3.2.1
  Using cached cryptography-3.2.1-cp35-abi3-manylinux2010_x86_64.whl (2.6 MB)
Collecting decorator==4.4.2
  Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting Django==3.1.3
  Using cached Django-3.1.3-py3-none-any.whl (7.8 MB)
Collecting docker==4.3.1
  Using cached docker-4.3.1-py2.py3-none-any.whl (145 kB)
Collecting docker-pycreds==0.4.0
  Using cached docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB)
Collecting docutils==0.16
  Using cached docutils-0.16-py2.py3-none-any.whl (548 kB)
Collecting enum34==1.1.10
  Using cached enum34-1.1.10-py3-none-any.whl (11 kB)
Collecting filelock==3.0.12
  Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting funcsigs==1.0.2
  Using cached funcsigs-1.0.2-py2.py3-none-any.whl (17 kB)
Collecting future==0.18.2
  Using cached future-0.18.2-py3-none-any.whl
Collecting google-api-core==1.23.0
  Using cached google_api_core-1.23.0-py2.py3-none-any.whl (91 kB)
Collecting google-api-python-client==1.12.5
  Using cached google_api_python_client-1.12.5-py2.py3-none-any.whl (61 kB)
Collecting google-auth==1.23.0
  Using cached google_auth-1.23.0-py2.py3-none-any.whl (114 kB)
Collecting google-auth-httplib2==0.0.4
  Using cached google_auth_httplib2-0.0.4-py2.py3-none-any.whl (9.1 kB)
Collecting google-auth-oauthlib==0.4.2
  Using cached google_auth_oauthlib-0.4.2-py2.py3-none-any.whl (18 kB)
Collecting googleapis-common-protos==1.52.0
  Using cached googleapis_common_protos-1.52.0-py2.py3-none-any.whl (100 kB)
Collecting httplib2==0.18.1
  Using cached httplib2-0.18.1-py3-none-any.whl (95 kB)
Collecting idna==2.10
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting ipaddress==1.0.23
  Using cached ipaddress-1.0.23-py2.py3-none-any.whl (18 kB)
Collecting IPy==1.0
  Using cached IPy-1.0-py3-none-any.whl
Collecting Jinja2==2.11.3
  Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting jmespath==0.10.0
  Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting josepy==1.5.0
  Using cached josepy-1.5.0-py2.py3-none-any.whl (57 kB)
Collecting jsonlines==1.2.0
  Using cached jsonlines-1.2.0-py2.py3-none-any.whl (7.6 kB)
Collecting jsonpatch==1.26
  Using cached jsonpatch-1.26-py2.py3-none-any.whl (11 kB)
Collecting jsonpointer==2.0
  Using cached jsonpointer-2.0-py2.py3-none-any.whl (7.6 kB)
Collecting MarkupSafe==1.1.1
  Using cached MarkupSafe-1.1.1-cp36-cp36m-manylinux2010_x86_64.whl (32 kB)
Collecting mock==4.0.2
  Using cached mock-4.0.2-py3-none-any.whl (28 kB)
Collecting mysqlclient==2.0.1
  Using cached mysqlclient-2.0.1-cp36-cp36m-linux_x86_64.whl
Collecting oauthlib==3.1.0
  Using cached oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
Collecting paramiko==2.7.2
  Using cached paramiko-2.7.2-py2.py3-none-any.whl (206 kB)
Collecting parsedatetime==2.6
  Using cached parsedatetime-2.6-py3-none-any.whl (42 kB)
Collecting pbr==5.5.1
  Using cached pbr-5.5.1-py2.py3-none-any.whl (106 kB)
Collecting pysftp
  Using cached pysftp-0.2.9-py3-none-any.whl
Collecting pexpect==4.8.0
  Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
Collecting prettytable==1.0.1
  Using cached prettytable-1.0.1-py2.py3-none-any.whl (22 kB)
Collecting protobuf==3.13.0
  Using cached protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl (1.3 MB)
Collecting psutil==5.7.3
  Using cached psutil-5.7.3-cp36-cp36m-linux_x86_64.whl
Collecting ptyprocess==0.6.0
  Using cached ptyprocess-0.6.0-py2.py3-none-any.whl (39 kB)
Collecting py3dns==3.2.1
  Using cached py3dns-3.2.1-py3-none-any.whl
Collecting pyasn1==0.4.8
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pyasn1-modules==0.2.8
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting pycparser==2.20
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting pygpgme==0.3
  Using cached pygpgme-0.3-cp36-cp36m-linux_x86_64.whl
Collecting PyNaCl==1.4.0
  Using cached PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB)
Collecting pyOpenSSL==19.1.0
  Using cached pyOpenSSL-19.1.0-py2.py3-none-any.whl (53 kB)
Collecting pyotp==2.4.1
  Using cached pyotp-2.4.1-py2.py3-none-any.whl (11 kB)
Collecting pyRFC3339==1.1
  Using cached pyRFC3339-1.1-py2.py3-none-any.whl (5.7 kB)
Collecting python-dateutil==2.8.1
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting pytz==2020.4
  Using cached pytz-2020.4-py2.py3-none-any.whl (509 kB)
Collecting pyudev==0.22.0
  Using cached pyudev-0.22.0-py3-none-any.whl
Collecting pyxattr==0.7.1
  Using cached pyxattr-0.7.1-cp36-cp36m-linux_x86_64.whl
Collecting requests==2.26.0
  Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting requests-file==1.5.1
  Using cached requests_file-1.5.1-py2.py3-none-any.whl (3.7 kB)
Collecting requests-oauthlib==1.3.0
  Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting requests-toolbelt==0.9.1
  Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
Collecting rsa==4.6
  Using cached rsa-4.6-py3-none-any.whl (47 kB)
Collecting s3transfer==0.5.0
  Using cached s3transfer-0.5.0-py3-none-any.whl (79 kB)
Collecting six==1.15.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting soupsieve==2.0.1
  Using cached soupsieve-2.0.1-py3-none-any.whl (32 kB)
Collecting sqlparse==0.4.2
  Using cached sqlparse-0.4.2-py3-none-any.whl (42 kB)
Collecting tldextract==3.0.2
  Using cached tldextract-3.0.2-py2.py3-none-any.whl (86 kB)
Collecting tornado==6.1
  Using cached tornado-6.1-cp36-cp36m-manylinux2010_x86_64.whl (427 kB)
Collecting uritemplate==3.0.1
  Using cached uritemplate-3.0.1-py2.py3-none-any.whl (15 kB)
Collecting urllib3==1.26.5
  Using cached urllib3-1.26.5-py2.py3-none-any.whl (138 kB)
Collecting validators==0.18.1
  Using cached validators-0.18.1-py3-none-any.whl (19 kB)
Collecting wcwidth==0.2.5
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting websocket-client==0.57.0
  Using cached websocket_client-0.57.0-py2.py3-none-any.whl (200 kB)
Collecting requests[security]>=2.6.0
  Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting setuptools
  Using cached setuptools-59.6.0-py3-none-any.whl (952 kB)
Collecting pyyaml
  Using cached PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (677 kB)
Collecting charset-normalizer~=2.0.0
  Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting requests[security]>=2.6.0
  Using cached requests-2.27.0-py2.py3-none-any.whl (63 kB)
Installing collected packages: pycparser, six, setuptools, pyasn1, cffi, urllib3, rsa, python-dateutil, pyasn1-modules, protobuf, jmespath, idna, cryptography, charset-normalizer, certifi, cachetools, soupsieve, requests, pytz, pyOpenSSL, PyNaCl, oauthlib, httplib2, googleapis-common-protos, google-auth, botocore, bcrypt, websocket-client, wcwidth, uritemplate, sqlparse, s3transfer, requests-toolbelt, requests-oauthlib, requests-file, pyyaml, pyRFC3339, ptyprocess, paramiko, MarkupSafe, jsonpointer, jsonlines, josepy, google-auth-httplib2, google-api-core, filelock, decorator, beautifulsoup4, asgiref, validators, tornado, tldextract, pyxattr, pyudev, pysftp, pyotp, pygpgme, py3dns, psutil, prettytable, pexpect, pbr, parsedatetime, mysqlclient, mock, jsonpatch, Jinja2, IPy, ipaddress, google-auth-oauthlib, google-api-python-client, future, funcsigs, enum34, docutils, docker-pycreds, docker, Django, configobj, ConfigArgParse, cloudflare, chardet, boto3, backports.ssl-match-hostname, Babel, asn1crypto, acme
Successfully installed Babel-2.8.0 ConfigArgParse-1.2.3 Django-3.1.3 IPy-1.0 Jinja2-2.11.3 MarkupSafe-1.1.1 PyNaCl-1.4.0 acme-1.9.0 asgiref-3.3.1 asn1crypto-1.4.0 backports.ssl-match-hostname-3.7.0.1 bcrypt-3.2.0 beautifulsoup4-4.9.3 boto3-1.18.26 botocore-1.21.26 cachetools-4.1.1 certifi-2020.11.8 cffi-1.14.3 chardet-3.0.4 charset-normalizer-2.0.12 cloudflare-2.8.13 configobj-5.0.6 cryptography-3.2.1 decorator-4.4.2 docker-4.3.1 docker-pycreds-0.4.0 docutils-0.16 enum34-1.1.10 filelock-3.0.12 funcsigs-1.0.2 future-0.18.2 google-api-core-1.23.0 google-api-python-client-1.12.5 google-auth-1.23.0 google-auth-httplib2-0.0.4 google-auth-oauthlib-0.4.2 googleapis-common-protos-1.52.0 httplib2-0.18.1 idna-2.10 ipaddress-1.0.23 jmespath-0.10.0 josepy-1.5.0 jsonlines-1.2.0 jsonpatch-1.26 jsonpointer-2.0 mock-4.0.2 mysqlclient-2.0.1 oauthlib-3.1.0 paramiko-2.7.2 parsedatetime-2.6 pbr-5.5.1 pexpect-4.8.0 prettytable-1.0.1 protobuf-3.13.0 psutil-5.7.3 ptyprocess-0.6.0 py3dns-3.2.1 pyOpenSSL-19.1.0 pyRFC3339-1.1 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.20 pygpgme-0.3 pyotp-2.4.1 pysftp-0.2.9 python-dateutil-2.8.1 pytz-2020.4 pyudev-0.22.0 pyxattr-0.7.1 pyyaml-6.0.1 requests-2.26.0 requests-file-1.5.1 requests-oauthlib-1.3.0 requests-toolbelt-0.9.1 rsa-4.6 s3transfer-0.5.0 setuptools-59.6.0 six-1.15.0 soupsieve-2.0.1 sqlparse-0.4.2 tldextract-3.0.2 tornado-6.1 uritemplate-3.0.1 urllib3-1.26.5 validators-0.18.1 wcwidth-0.2.5 websocket-client-0.57.0
--2023-10-23 16:07:58--  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.
HTTP request sent, awaiting response... 200 OK
Length: 49172 (48K) [application/x-gtar]
Saving to: ‘wsgi-lsapi-2.1.tgz’

100%[=======================================================================>] 49,172       187KB/s   in 0.3s

2023-10-23 16:07:59 (187 KB/s) - ‘wsgi-lsapi-2.1.tgz’ saved [49172/49172]

Done.
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O0 -g3 -I. -I/usr/include/python3.6m  -I. -I/usr/include/python3.6m  -c -o main.o main.c
In file included from /usr/include/inttypes.h:25:0,
                 from ./lsapidef.h:37,
                 from ./lsapilib.h:41,
                 from main.c:34:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O0 -g3 -I. -I/usr/include/python3.6m  -I. -I/usr/include/python3.6m  -c -o wsgi.o wsgi.c
In file included from /usr/include/limits.h:26:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h:168,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h:34,
                 from /usr/include/python3.6m/Python.h:11,
                 from wsgi.c:29:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O0 -g3 -I. -I/usr/include/python3.6m  -I. -I/usr/include/python3.6m  -c -o wsgiinput.o wsgiinput.c
In file included from /usr/include/limits.h:26:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h:168,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h:34,
                 from /usr/include/python3.6m/Python.h:11,
                 from wsgiinput.c:29:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O0 -g3 -I. -I/usr/include/python3.6m  -I. -I/usr/include/python3.6m  -c -o wsgiwrapper.o wsgiwrapper.c
In file included from /usr/include/limits.h:26:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h:168,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h:34,
                 from /usr/include/python3.6m/Python.h:11,
                 from wsgiwrapper.c:29:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O0 -g3 -I. -I/usr/include/python3.6m  -I. -I/usr/include/python3.6m  -c -o lsapilib.o lsapilib.c
In file included from /usr/include/ctype.h:26:0,
                 from lsapilib.c:35:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O0 -g3 -I. -I/usr/include/python3.6m  -I. -I/usr/include/python3.6m  -c -o lsapi-glue.o lsapi-glue.c
In file included from /usr/include/limits.h:26:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h:168,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h:34,
                 from /usr/include/python3.6m/Python.h:11,
                 from lsapi-glue.c:33:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
gcc -pthread -Wl,-z,relro  -g -L/usr/lib64 -Xlinker -export-dynamic -o lswsgi main.o wsgi.o wsgiinput.o wsgiwrapper.o lsapilib.o lsapi-glue.o -L/usr/lib64/python3.6/config-3.6m-x86_64-linux-gnu -lpython3.6m -lpthread -ldl  -lutil -lm
Loaded plugins: copr, fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.fra1.de.leaseweb.net
 * epel: level66.mm.fcix.net
 * extras: ftp.antilo.de
 * updates: mirror.eu.oneandone.net
Installed Packages
lsphp74-devel.x86_64                                7.4.33-2.el7                                @litespeed-update
watchdog has been killed...
--2023-10-23 16:08:05--  https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.3.4/CPScripts/watchdog.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5198 (5.1K) [text/plain]
Saving to: ‘/etc/cyberpanel/watchdog.sh’

100%[=======================================================================>] 5,198       --.-K/s   in 0s

2023-10-23 16:08:05 (41.2 MB/s) - ‘/etc/cyberpanel/watchdog.sh’ saved [5198/5198]


Checking LiteSpeed...

WatchDog for LiteSpeed is gone , restarting...

WatchDog for LiteSpeed has been started...

Checking MariaDB...

WatchDog for MariaDB is gone , restarting...

WatchDog for MariaDB has been started...

Checking PowerDNS...

WatchDog for PowerDNS is gone , restarting...

WatchDog for PowerDNS has been started...

Checking Dovecot...

WatchDog for Dovecot is gone , restarting...

WatchDog for Dovecot has been started...

Checking PostFix...

WatchDog for PostFix is gone , restarting...

WatchDog for PostFix has been started...

Checking Pure-FTPd...

WatchDog for Pure-FTPd is gone , restarting...

WatchDog for Pure-FTPd has been started...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   145    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0

Seems something wrong with upgrade, please check...

sl
slidng #29

I have this same error 500 showing when I try to access cyberpanel from my hostinger vps.

I recently did a reinstallation of a webapp on my vps but the process refused to be completed (product code was not accepted so the app would not initialize)

What exactly could be the problem and what am I supposed to upgrade for this error to stop?

Please advise.

AM
Albedo Momon #31

Hi all,

I was using hostinger and cyberpanel for web server and ubuntu 22, so yesterday I tried to login to cyberpanel login page at port 8090 and I recieved Internal Server Error 500 and did various diff methods mentioned in the blogs to resolve this error but with no luck I was not able to clear it.

So then I upgraded the cyberpanel using this command and it started working again

sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh 6)

Thanks for the Help Guys.

ve
vedeshp #32

shall i set the default value of the ‘DEBUG’ environment variable to ‘True’ in the python file ?
or would i have to change the environment variable itself - help go through this

ab
abd.a #33

Sorry to say, you can’t sell your panel for us to test it in our servers. If your upgrade not ready you have to test it before you lunch it for public use. I’m really disappointed to trust cyberpanel to operate my server. right now I’m looking for alternative panel for the peace of mind.

ma
maxwell #34

I agree with you, the problem hasn’t been fixed for 3 days, and they’re trying to sell people something by showing them that this is the only free service they can offer. They’re using the worst marketing technique in the world.

Sign in to reply