I believe the reason is that Google Cloud VPS has automatically installed python-urllib3, python-requests … (generally, interfering with the “python” of the system out of our control)
That made CyberPanel unable to login:
ImportError: can not import name UnrewindableBodyError
I think you should create a new python version for your CyberPanel system to use, (in another location) it will not depend on the python available on the Centos 7 system (python 2.7.5 is too old). Install a newer version of Python like 3.6.5 or 2.7.15, which can be referenced here:
So, is that feasible or problematic?
When the system’s python crashes, the Cyberpanel can still run if it has a separate python program, you can proactively upgrade this seperate python or configure it to use resources more appropriately.
Sometimes upgrading to a newer version of Cyberpanel, you can get in trouble at step:
cd /usr/local/CyberCP
python manage.py makemigrations
python manage.py migrate