ERROR 500 Cyberpanel

Hello friends,

when I enter https://IP:8090 I get error 500 .

I turned on debug on /usr/local/CyberCP/CyberCP/settings.py and systemctl restart lscpd. but nothing happened.

I checked logs on /home/cyberpanel/stderr.log and find this:

2020-09-02 08:31:36.206541 [4397] packetLen < 0
Traceback (most recent call last):
File “/usr/local/CyberCP/CyberCP/wsgi.py”, line 16, in
application = get_wsgi_application()
File “/usr/local/CyberCP/lib/python3.8/site-packages/django/core/wsgi.py”, line 12, in get_wsgi_application
django.setup(set_prefix=False)
File “/usr/local/CyberCP/lib/python3.8/site-packages/django/init.py”, line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File “/usr/local/CyberCP/lib/python3.8/site-packages/django/apps/registry.py”, line 83, in populate
raise RuntimeError(“populate() isn’t reentrant”)
RuntimeError: populate() isn’t reentrant

I don’t have further information on this time.
is there any way to find and fix this problem?

thanks in advanced

I tried to upgrade (re-install) CP with:

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

and problem solved.