Anisa
Intern
Intern
  • UID6182
  • Fans0
  • Follows0
  • Posts2
Reads:47472Replies:2

Failed install CyberPanel

Created#
More Posted time:Aug 30, 2018 16:58 PM
ID: i-k1ai45aloqhswep7u5sf
Zone: Asia Pacific SE 5 Zone A
Region: Asia Pacific SE 5 (Jakarta)
Instance Type: ecs.t5-lc1m1.small
Instance Type Family: ecs.t5
Image ID: centos_7_03_64_20G_alibase_20170818.vhd


Reference: https://docs.cyberpanel.net/doku.php?id=installation
Failed install CyberPanel
Problem: Unable to install GUNICORN


/var/log/installLogs.txt
[04-38-24-Thu-Aug-2018] Starting CyberPanel installation..
[04-38-24-Thu-Aug-2018] SUDO successfully installed!
[04-38-24-Thu-Aug-2018] CyberPanel user added!
[04-38-24-Thu-Aug-2018] CyberPanel user was successfully added to SUDO group!
[04-38-24-Thu-Aug-2018] Successfully created Let's Encrypt directory!
[04-38-25-Thu-Aug-2018] YUM UPDATE ran successfully.
[04-38-26-Thu-Aug-2018] CyberPanel Repo added!
[04-38-29-Thu-Aug-2018] EPEL Repo added!
[04-38-30-Thu-Aug-2018] PIP successfully installed!
[04-38-32-Thu-Aug-2018] Python development tools successfully installed!
[04-38-32-Thu-Aug-2018] GCC Successfully installed!
[04-38-32-Thu-Aug-2018] Python setup tools Successfully installed!
[04-38-37-Thu-Aug-2018] DJANGO successfully installed!
[04-38-41-Thu-Aug-2018] pexpect successfully installed!
[04-38-42-Thu-Aug-2018] MySQL-python successfully installed!
[04-38-45-Thu-Aug-2018] Unable to install GUNICORN, exiting installer! [install_gunicorn]


Please Any Suggestion,
Thanks & Regards,

hanneng
Engineer
Engineer
  • UID3277
  • Fans5
  • Follows0
  • Posts83
1st Reply#
Posted time:Sep 14, 2018 11:16 AM
 CyberPanel  required Python

you may want to check supported Python version

BrianBae
Assistant Engineer
Assistant Engineer
  • UID5909
  • Fans1
  • Follows0
  • Posts58
2nd Reply#
Posted time:Sep 14, 2018 16:42 PM
It looks like GUNICORN errors.

Please try manual installation with below command.

$ pip install gunicorn
  $ cat myapp.py
    def app(environ, start_response):
        data = b"Hello, World!\n"
        start_response("200 OK", [
            ("Content-Type", "text/plain"),
            ("Content-Length", str(len(data)))
        ])
        return iter([data])
  $ gunicorn -w 4 myapp:app
  [2014-09-10 10:22:28 +0000] [30869] [INFO] Listening at: http://127.0.0.1:8000 (30869)
  [2014-09-10 10:22:28 +0000] [30869] [INFO] Using worker: sync
  [2014-09-10 10:22:28 +0000] [30874] [INFO] Booting worker with pid: 30874
  [2014-09-10 10:22:28 +0000] [30875] [INFO] Booting worker with pid: 30875
  [2014-09-10 10:22:28 +0000] [30876] [INFO] Booting worker with pid: 30876
  [2014-09-10 10:22:28 +0000] [30877] [INFO] Booting worker with pid: 30877
Guest