I got 500 Internal Server Error from Cyberpanel :8090.
Website and WebAdmin :7080 is working fine.
I tried systemctl start lsws - and its running just fine
systemctl start gunicorn.socket - here Im getting error : “Failed to start gunicorn.socket: Unit gunicorn.socket not found.”
I believe that’s because of Wordfence plugin. I ran a scan and fix and also got an issue with the file(don’t remember wich now and not able to find it in wordfence log) being exposed to the public so I click on hide (stupid move from me)
So maybe some permission problem?
I also tried to deactivate wordfence but no change…
I’ve upgraded cyberpanel to the latest 2.0.2 on ubuntu 18.04 since then cyberpanel admin cannot be accessed 500 error.
I run this command: systemctl status lscpd
result:
job for lscpd service failed because the control process exited with error code.
Failed to start LSCPD Deamon
I’ve restarted the server many times I just don’t know what to do.
Any help much appreciated.
Exception:
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/usr/lib/python3.6/site-packages/pip/commands/install.py”, line 311, in run
delete=build_delete) as build_dir:
File “/usr/lib/python3.6/site-packages/pip/utils/build.py”, line 22, in init
name = os.path.realpath(tempfile.mkdtemp(prefix=“pip-build-”))
File “/usr/lib64/python3.6/tempfile.py”, line 360, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File “/usr/lib64/python3.6/tempfile.py”, line 130, in _sanitize_params
dir = gettempdir()
File “/usr/lib64/python3.6/tempfile.py”, line 298, in gettempdir
tempdir = _get_default_tempdir()
File “/usr/lib64/python3.6/tempfile.py”, line 233, in _get_default_tempdir
dirlist)
FileNotFoundError: [Errno 2] No usable temporary directory found in [’/tmp’, ‘/var/tmp’, ‘/usr/tmp’, ‘/root/cyberpanel_upgrade_tmp’]