CyberHosting

Centos 7.6 Install Issues

Hello, i am trying to install it on fresh Centos 7.6 and facing installation errors.

1) import pexpect

Error:

Traceback (most recent call last):
File "install.py", line 3822, in
main()
File "install.py", line 3736, in main
import installCyberPanel
File "/usr/src/install/installCyberPanel.py", line 4, in
from mysqlUtilities import mysqlUtilities
File "/usr/src/install/mysqlUtilities.py", line 1, in
import pexpect
ImportError: No module named pexpect

Something went wrong...

I was able to fix this error with changing the how pip was installing pexpect.

File: install.py
Line: 3826
Code:
command = "pip install https://" + preFlightsChecks.cyberPanelMirror + "/pexpect-4.4.0.tar.gz"

Replaced With :
command = "sudo -H pip2 install -I pexpect"

With this change i was able to continue install


2) CyberPanel Make Migrations [download_install_CyberPanel]

Install Command:
cd install
python install.py 10.2.1.29

Installation goto :

CyberPanel Make Migrations [download_install_CyberPanel]

Error:

[05-25-00-Fri-Aug-2019] CyberPanel Make Migrations [download_install_CyberPanel]

[05-25-00-Fri-Aug-2019] #########################################################################

Traceback (most recent call last):
File "manage.py", line 17, in
"Couldn't import Django. Are you sure it's installed and "
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?



[05-25-01-Fri-Aug-2019] #########################################################################

[05-25-01-Fri-Aug-2019] CyberPanel Make Migrations failed, trying again, try number: 1

[05-25-01-Fri-Aug-2019] #########################################################################

Traceback (most recent call last):
File "manage.py", line 17, in
"Couldn't import Django. Are you sure it's installed and "
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?



[05-25-01-Fri-Aug-2019] #########################################################################

[05-25-01-Fri-Aug-2019] CyberPanel Make Migrations failed, trying again, try number: 2

[05-25-01-Fri-Aug-2019] #########################################################################

Traceback (most recent call last):
File "manage.py", line 17, in
"Couldn't import Django. Are you sure it's installed and "
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?



[05-25-01-Fri-Aug-2019] #########################################################################

[05-25-01-Fri-Aug-2019] CyberPanel Make Migrations failed, trying again, try number: 3

[05-25-01-Fri-Aug-2019] #########################################################################




[05-25-01-Fri-Aug-2019] #########################################################################

[05-25-01-Fri-Aug-2019] [ERROR] We are not able to CyberPanel Make Migrations return code: 1. Fatal error, see /var/log/installLogs.txt for full details [download_install_CyberPanel]

[05-25-01-Fri-Aug-2019] #########################################################################


Error Log:

[root@s install]# tail /var/log/installLogs.txt
[05-24-45-Fri-Aug-2019] tldextract successfully installed! [pip]
[05-24-48-Fri-Aug-2019] tldextract successfully installed! [pip]
[05-24-48-Fri-Aug-2019] CyberPanel Download [download_install_CyberPanel]
[05-24-59-Fri-Aug-2019] CyberPanel Download successful
[05-24-59-Fri-Aug-2019] Extract CyberPanel [download_install_CyberPanel]
[05-25-00-Fri-Aug-2019] Extract CyberPanel successful
[05-25-00-Fri-Aug-2019] Updating settings.py!
[05-25-00-Fri-Aug-2019] settings.py updated!
[05-25-00-Fri-Aug-2019] CyberPanel Make Migrations [download_install_CyberPanel]
[05-25-01-Fri-Aug-2019] [ERROR] We are not able to CyberPanel Make Migrations return code: 1. Fatal error, see /var/log/installLogs.txt for full details [download_install_CyberPanel]

Any ideas how to fix this.

Thanks
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion