[ERROR] We are not able to run /usr/local/CyberPanel/bin/python manage.py

I tried to install Remote SQL using Amazon Lightsail but getting these error.

[ERROR] We are not able to run /usr/local/CyberPanel/bin/python manage.py makemigrations return code: 1. Fatal error, see /var/log/installLogs.txt for full details.

Starting installation..,1

Initialization completed..,2

Setting up repositories...,1

Installing necessary components..,3

Installing required virtual environment,3

Installing requirments..,3

Getting CyberPanel code..,4

Necessary components installed..,5

Setting up system tweak...,20

Starting main installation..,30

Validating LiteSpeed license...,40
[02.16.2022_14-28-55] Starting CyberPanel installation..,10
[02.16.2022_14-29-05] Running: dd if=/dev/zero of=/usr/.tempdisk bs=100M count=15,10
[02.16.2022_14-29-17] Successfully ran: dd if=/dev/zero of=/usr/.tempdisk bs=100M count=15.,10
[02.16.2022_14-29-18] Running: mkfs.ext4 -F /usr/.tempdisk,10
[02.16.2022_14-29-18] Successfully ran: mkfs.ext4 -F /usr/.tempdisk.,10
[02.16.2022_14-29-19] Running: mkdir -p /usr/.tmpbak/,10
[02.16.2022_14-29-20] Successfully ran: mkdir -p /usr/.tmpbak/.,10
[02.16.2022_14-29-20] Running: mount -o loop-rw-nodev-nosuid-noexec-nofail /usr/.tempdisk /tmp,10
[02.16.2022_14-29-21] Successfully ran: mount -o loop-rw-nodev-nosuid-noexec-nofail /usr/.tempdisk /tmp.,10
[02.16.2022_14-29-21] Running: chmod 1777 /tmp,10
[02.16.2022_14-29-22] Successfully ran: chmod 1777 /tmp.,10
[02.16.2022_14-29-23] Running: rm -rf /usr/.tmpbak,10
[02.16.2022_14-29-24] Successfully ran: rm -rf /usr/.tmpbak.,10
[02.16.2022_14-29-24] Running: mount --bind /tmp /var/tmp,10
[02.16.2022_14-29-25] Successfully ran: mount --bind /tmp /var/tmp.,10
[02.16.2022_14-29-26] Running: adduser --disabled-login --gecos "" cyberpanel,10
[02.16.2022_14-29-27] Successfully ran: adduser --disabled-login --gecos "" cyberpanel.,10
[02.16.2022_14-29-27] Running: adduser --disabled-login --gecos "" docker,10
[02.16.2022_14-29-29] Successfully ran: adduser --disabled-login --gecos "" docker.,10
[02.16.2022_14-29-30] Running: groupadd docker,10
[02.16.2022_14-29-30] [ERROR] We are not able to run groupadd docker return code: 9.,10
[02.16.2022_14-29-31] Running: usermod -aG docker docker,10
[02.16.2022_14-29-32] Successfully ran: usermod -aG docker docker.,10
[02.16.2022_14-29-32] Running: usermod -aG docker cyberpanel,10
[02.16.2022_14-29-33] Successfully ran: usermod -aG docker cyberpanel.,10
[02.16.2022_14-29-33] Running: mkdir -p /etc/letsencrypt/live/,10
[02.16.2022_14-29-34] Successfully ran: mkdir -p /etc/letsencrypt/live/.,10
[02.16.2022_14-29-35] Running: wget http://rpms.litespeedtech.com/debian/enable_lst_debain_repo.sh,10
[02.16.2022_14-29-36] Successfully ran: wget http://rpms.litespeedtech.com/debian/enable_lst_debain_repo.sh.,10
[02.16.2022_14-29-37] Running: ./enable_lst_debain_repo.sh,10
[02.16.2022_14-29-41] Successfully ran: ./enable_lst_debain_repo.sh.,10
[02.16.2022_14-29-52] Running: ,10
[02.16.2022_14-29-53] Successfully ran: .,10
[02.16.2022_14-29-53] Running: ,10
[02.16.2022_14-29-54] Successfully ran: .,10
[02.16.2022_14-29-55] Installing LiteSpeed Web server,40
[02.16.2022_14-29-56] Running: groupadd nobody,40
[02.16.2022_14-29-56] Successfully ran: groupadd nobody.,40
[02.16.2022_14-29-57] Running: usermod -a -G nobody nobody,40
[02.16.2022_14-29-58] Successfully ran: usermod -a -G nobody nobody.,40
[02.16.2022_14-29-59] Running: wget https://www.litespeedtech.com/packages/6.0/lsws-6.0.11-ent-x86_64-linux.tar.gz,40
[02.16.2022_14-30-09] Successfully ran: wget https://www.litespeedtech.com/packages/6.0/lsws-6.0.11-ent-x86_64-linux.tar.gz.,40
[02.16.2022_14-30-09] Running: tar zxf lsws-6.0.11-ent-x86_64-linux.tar.gz,40
[02.16.2022_14-30-10] Successfully ran: tar zxf lsws-6.0.11-ent-x86_64-linux.tar.gz.,40
[02.16.2022_14-30-10] Running: wget -q --output-document=/root/cyberpanel/install/lsws-6.0.11/trial.key http://license.litespeedtech.com/reseller/trial.key,40
[02.16.2022_14-30-11] Successfully ran: wget -q --output-document=/root/cyberpanel/install/lsws-6.0.11/trial.key http://license.litespeedtech.com/reseller/trial.key.,40
[02.16.2022_14-30-11] Running: chmod +x install.sh,40
[02.16.2022_14-30-12] Successfully ran: chmod +x install.sh.,40
[02.16.2022_14-30-13] Running: chmod +x functions.sh,40
[02.16.2022_14-30-13] Successfully ran: chmod +x functions.sh.,40
[02.16.2022_14-30-14] Running: ./install.sh,40
[02.16.2022_14-30-21] Successfully ran: ./install.sh.,40
[02.16.2022_14-30-22] Running: chown -R lsadm:lsadm /usr/local/lsws/conf/,40
[02.16.2022_14-30-22] Successfully ran: chown -R lsadm:lsadm /usr/local/lsws/conf/.,40
[02.16.2022_14-30-22] Installing Optimized PHPs..,50
[02.16.2022_14-33-24] LiteSpeed PHPs successfully installed!,50
[02.16.2022_14-33-24] Installing MySQL,60
[02.16.2022_14-33-25] Running: apt-get -y install mariadb-server,60
[02.16.2022_14-33-43] Successfully ran: apt-get -y install mariadb-server.,60
[02.16.2022_14-34-06] Running: systemctl enable pure-ftpd-mysql,60
[02.16.2022_14-34-07] Successfully ran: systemctl enable pure-ftpd-mysql.,60
[02.16.2022_14-34-08] Running: groupadd -g 2001 ftpgroup,60
[02.16.2022_14-34-09] Successfully ran: groupadd -g 2001 ftpgroup.,60
[02.16.2022_14-34-09] Running: useradd -u 2001 -s /bin/false -d /bin/null -c "pureftpd user" -g ftpgroup ftpuser,60
[02.16.2022_14-34-10] Successfully ran: useradd -u 2001 -s /bin/false -d /bin/null -c "pureftpd user" -g ftpgroup ftpuser.,60
[02.16.2022_14-34-10] Configuring PureFTPD..,60
[02.16.2022_14-34-11] [ERROR] Could not create directory for FTP SSL,60
[02.16.2022_14-34-12] Running: openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem,60
[02.16.2022_14-34-13] Successfully ran: openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem.,60
[02.16.2022_14-34-13] Running: sed -i 's|localhost|172.26.10.30|g' /etc/pure-ftpd/pureftpd-mysql.conf,60
[02.16.2022_14-34-14] Successfully ran: sed -i 's|localhost|172.26.10.30|g' /etc/pure-ftpd/pureftpd-mysql.conf.,60
[02.16.2022_14-34-15] Running: sed -i 's|3306|3306|g' /etc/pure-ftpd/pureftpd-mysql.conf,60
[02.16.2022_14-34-16] Successfully ran: sed -i 's|3306|3306|g' /etc/pure-ftpd/pureftpd-mysql.conf.,60
[02.16.2022_14-34-17] Running: sed -i 's|MYSQLSocket /var/lib/mysql/mysql.sock||g' /etc/pure-ftpd/pureftpd-mysql.conf,60
[02.16.2022_14-34-17] Successfully ran: sed -i 's|MYSQLSocket /var/lib/mysql/mysql.sock||g' /etc/pure-ftpd/pureftpd-mysql.conf.,60
[02.16.2022_14-34-18] Running: ln -s /etc/pure-ftpd/conf/MySQLConfigFile /etc/pure-ftpd/auth/30mysql,60
[02.16.2022_14-34-19] Successfully ran: ln -s /etc/pure-ftpd/conf/MySQLConfigFile /etc/pure-ftpd/auth/30mysql.,60
[02.16.2022_14-34-19] Running: ln -s /etc/pure-ftpd/conf/UnixAuthentication /etc/pure-ftpd/auth/65unix,60
[02.16.2022_14-34-20] Successfully ran: ln -s /etc/pure-ftpd/conf/UnixAuthentication /etc/pure-ftpd/auth/65unix.,60
[02.16.2022_14-34-21] Running: systemctl restart pure-ftpd-mysql.service,60
[02.16.2022_14-34-22] Successfully ran: systemctl restart pure-ftpd-mysql.service.,60
[02.16.2022_14-34-22] PureFTPD configured!,60
[02.16.2022_14-34-23] Running: systemctl start pure-ftpd-mysql,60
[02.16.2022_14-34-23] Successfully ran: systemctl start pure-ftpd-mysql.,60
[02.16.2022_14-34-24] Running: systemctl stop systemd-resolved,60
[02.16.2022_14-34-25] Successfully ran: systemctl stop systemd-resolved.,60
[02.16.2022_14-34-25] Running: systemctl disable systemd-resolved.service,60
[02.16.2022_14-34-26] Successfully ran: systemctl disable systemd-resolved.service.,60
[02.16.2022_14-34-34] Configuring PowerDNS..,60
[02.16.2022_14-34-35] Running: sed -i 's|gmysql-host=localhost|gmysql-host=172.26.10.30|g' /etc/powerdns/pdns.conf,60
[02.16.2022_14-34-35] Successfully ran: sed -i 's|gmysql-host=localhost|gmysql-host=172.26.10.30|g' /etc/powerdns/pdns.conf.,60
[02.16.2022_14-34-36] Running: sed -i 's|gmysql-port=3306|gmysql-port=3306|g' /etc/powerdns/pdns.conf,60
[02.16.2022_14-34-37] Successfully ran: sed -i 's|gmysql-port=3306|gmysql-port=3306|g' /etc/powerdns/pdns.conf.,60
[02.16.2022_14-34-37] PowerDNS configured!,60
[02.16.2022_14-34-38] Running: systemctl enable pdns,60
[02.16.2022_14-34-40] Successfully ran: systemctl enable pdns.,60
[02.16.2022_14-34-41] Running: systemctl start pdns,60
[02.16.2022_14-34-41] Successfully ran: systemctl start pdns.,60
[02.16.2022_14-34-42] Running: cp /usr/local/lsws/lsphp71/bin/php /usr/bin/,60
[02.16.2022_14-34-43] [ERROR] We are not able to run cp /usr/local/lsws/lsphp71/bin/php /usr/bin/ return code: 1.,60
[02.16.2022_14-34-43] Running: chmod +x composer.sh,60
[02.16.2022_14-34-44] Successfully ran: chmod +x composer.sh.,60
[02.16.2022_14-34-44] Running: ./composer.sh,60
[02.16.2022_14-34-53] Successfully ran: ./composer.sh.,60
[02.16.2022_14-34-54] [ERROR] fix_selinux_issue problem,60
[02.16.2022_14-34-55] Running: apt-get -y install psmisc,60
[02.16.2022_14-34-56] Successfully ran: apt-get -y install psmisc.,60
[02.16.2022_14-34-57] Running: apt-get -y remove postfix,60
[02.16.2022_14-34-58] Successfully ran: apt-get -y remove postfix.,60
[02.16.2022_14-34-59] Running: apt-get -y install debconf-utils,60
[02.16.2022_14-35-05] Successfully ran: apt-get -y install debconf-utils.,60
[02.16.2022_14-35-06] Running: debconf-set-selections /root/cyberpanel/install/pf.unattend.text,60
[02.16.2022_14-35-07] Successfully ran: debconf-set-selections /root/cyberpanel/install/pf.unattend.text.,60
[02.16.2022_14-35-07] Running: apt-get -y install postfix postfix-mysql,60
[02.16.2022_14-35-27] Successfully ran: apt-get -y install postfix postfix-mysql.,60
[02.16.2022_14-35-28] Running: apt-get -y install dovecot-mysql dovecot-imapd dovecot-pop3d,60
[02.16.2022_14-35-51] Successfully ran: apt-get -y install dovecot-mysql dovecot-imapd dovecot-pop3d.,60
[02.16.2022_14-35-52] Setting up authentication for Postfix and Dovecot...,60
[02.16.2022_14-35-53] Running: sed -i 's|host=localhost|host=172.26.10.30|g' email-configs-one/dovecot-sql.conf.ext,60
[02.16.2022_14-35-53] Successfully ran: sed -i 's|host=localhost|host=172.26.10.30|g' email-configs-one/dovecot-sql.conf.ext.,60
[02.16.2022_14-35-54] Running: sed -i 's|port=3306|port=3306|g' email-configs-one/dovecot-sql.conf.ext,60
[02.16.2022_14-35-55] Successfully ran: sed -i 's|port=3306|port=3306|g' email-configs-one/dovecot-sql.conf.ext.,60
[02.16.2022_14-35-56] Running: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_domains.cf,60
[02.16.2022_14-35-56] Successfully ran: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_domains.cf.,60
[02.16.2022_14-35-57] Running: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_forwardings.cf,60
[02.16.2022_14-35-58] Successfully ran: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_forwardings.cf.,60
[02.16.2022_14-35-59] Running: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_mailboxes.cf,60
[02.16.2022_14-35-59] Successfully ran: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_mailboxes.cf.,60
[02.16.2022_14-36-00] Running: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_email2email.cf,60
[02.16.2022_14-36-00] Successfully ran: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_email2email.cf.,60
[02.16.2022_14-36-01] Authentication for Postfix and Dovecot set.,60
[02.16.2022_14-36-02] Configuring postfix and dovecot...,60
[02.16.2022_14-36-04] Running: openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /etc/postfix/key.pem -out /etc/postfix/cert.pem,60
[02.16.2022_14-36-06] Successfully ran: openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /etc/postfix/key.pem -out /etc/postfix/cert.pem.,60
[02.16.2022_14-36-06] Running: openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /etc/dovecot/key.pem -out /etc/dovecot/cert.pem,60
[02.16.2022_14-36-07] Successfully ran: openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /etc/dovecot/key.pem -out /etc/dovecot/cert.pem.,60
[02.16.2022_14-36-07] Cleanup postfix/dovecot config files,60
[02.16.2022_14-36-07] Running: postconf -e 'myhostname = localhost',60
[02.16.2022_14-36-07] Successfully ran: postconf -e 'myhostname = localhost'.,60
[02.16.2022_14-36-08] Running: sed -i 's|server.example.com|localhost|g' /etc/postfix/main.cf,60
[02.16.2022_14-36-08] Successfully ran: sed -i 's|server.example.com|localhost|g' /etc/postfix/main.cf.,60
[02.16.2022_14-36-08] Running: chmod o= /etc/postfix/mysql-virtual_domains.cf,60
[02.16.2022_14-36-09] Successfully ran: chmod o= /etc/postfix/mysql-virtual_domains.cf.,60
[02.16.2022_14-36-09] Running: chmod o= /etc/postfix/mysql-virtual_forwardings.cf,60
[02.16.2022_14-36-09] Successfully ran: chmod o= /etc/postfix/mysql-virtual_forwardings.cf.,60
[02.16.2022_14-36-10] Running: chmod o= /etc/postfix/mysql-virtual_mailboxes.cf,60
[02.16.2022_14-36-10] Successfully ran: chmod o= /etc/postfix/mysql-virtual_mailboxes.cf.,60
[02.16.2022_14-36-11] Running: chmod o= /etc/postfix/mysql-virtual_email2email.cf,60
[02.16.2022_14-36-11] Successfully ran: chmod o= /etc/postfix/mysql-virtual_email2email.cf.,60
[02.16.2022_14-36-11] Running: chmod o= /etc/postfix/main.cf,60
[02.16.2022_14-36-12] Successfully ran: chmod o= /etc/postfix/main.cf.,60
[02.16.2022_14-36-12] Running: chmod o= /etc/postfix/master.cf,60
[02.16.2022_14-36-13] Successfully ran: chmod o= /etc/postfix/master.cf.,60
[02.16.2022_14-36-13] Running: chgrp postfix /etc/postfix/mysql-virtual_domains.cf,60
[02.16.2022_14-36-13] Successfully ran: chgrp postfix /etc/postfix/mysql-virtual_domains.cf.,60
[02.16.2022_14-36-14] Running: chgrp postfix /etc/postfix/mysql-virtual_forwardings.cf,60
[02.16.2022_14-36-14] Successfully ran: chgrp postfix /etc/postfix/mysql-virtual_forwardings.cf.,60
[02.16.2022_14-36-14] Running: chgrp postfix /etc/postfix/mysql-virtual_mailboxes.cf,60
[02.16.2022_14-36-15] Successfully ran: chgrp postfix /etc/postfix/mysql-virtual_mailboxes.cf.,60
[02.16.2022_14-36-15] Running: chgrp postfix /etc/postfix/mysql-virtual_email2email.cf,60
[02.16.2022_14-36-15] Successfully ran: chgrp postfix /etc/postfix/mysql-virtual_email2email.cf.,60
[02.16.2022_14-36-15] Running: chgrp postfix /etc/postfix/main.cf,60
[02.16.2022_14-36-16] Successfully ran: chgrp postfix /etc/postfix/main.cf.,60
[02.16.2022_14-36-16] Running: chgrp postfix /etc/postfix/master.cf,60
[02.16.2022_14-36-16] Successfully ran: chgrp postfix /etc/postfix/master.cf.,60
[02.16.2022_14-36-17] Running: groupadd -g 5000 vmail,60
[02.16.2022_14-36-18] Successfully ran: groupadd -g 5000 vmail.,60
[02.16.2022_14-36-18] Running: useradd -g vmail -u 5000 vmail -d /home/vmail -m,60
[02.16.2022_14-36-19] Successfully ran: useradd -g vmail -u 5000 vmail -d /home/vmail -m.,60
[02.16.2022_14-36-19] Running: systemctl enable postfix.service,60
[02.16.2022_14-36-20] Successfully ran: systemctl enable postfix.service.,60
[02.16.2022_14-36-21] Running: systemctl start postfix.service,60
[02.16.2022_14-36-21] Successfully ran: systemctl start postfix.service.,60
[02.16.2022_14-36-22] Running: chgrp dovecot /etc/dovecot/dovecot-sql.conf.ext,60
[02.16.2022_14-36-22] Successfully ran: chgrp dovecot /etc/dovecot/dovecot-sql.conf.ext.,60
[02.16.2022_14-36-22] Running: chmod o= /etc/dovecot/dovecot-sql.conf.ext,60
[02.16.2022_14-36-23] Successfully ran: chmod o= /etc/dovecot/dovecot-sql.conf.ext.,60
[02.16.2022_14-36-23] Running: systemctl enable dovecot.service,60
[02.16.2022_14-36-24] Successfully ran: systemctl enable dovecot.service.,60
[02.16.2022_14-36-25] Running: systemctl start dovecot.service,60
[02.16.2022_14-36-25] Successfully ran: systemctl start dovecot.service.,60
[02.16.2022_14-36-25] Running: systemctl restart  postfix.service,60
[02.16.2022_14-36-26] Successfully ran: systemctl restart  postfix.service.,60
[02.16.2022_14-36-27] Running: chmod 755 /etc/postfix/main.cf,60
[02.16.2022_14-36-28] Successfully ran: chmod 755 /etc/postfix/main.cf.,60
[02.16.2022_14-36-28] Running: mkdir -p /etc/pki/dovecot/private/,60
[02.16.2022_14-36-29] Successfully ran: mkdir -p /etc/pki/dovecot/private/.,60
[02.16.2022_14-36-29] Running: mkdir -p /etc/pki/dovecot/certs/,60
[02.16.2022_14-36-29] Successfully ran: mkdir -p /etc/pki/dovecot/certs/.,60
[02.16.2022_14-36-30] Running: mkdir -p /etc/opendkim/keys/,60
[02.16.2022_14-36-30] Successfully ran: mkdir -p /etc/opendkim/keys/.,60
[02.16.2022_14-36-30] Running: sed -i 's/auth_mechanisms = plain/#auth_mechanisms = plain/g' /etc/dovecot/conf.d/10-auth.conf,60
[02.16.2022_14-36-30] Successfully ran: sed -i 's/auth_mechanisms = plain/#auth_mechanisms = plain/g' /etc/dovecot/conf.d/10-auth.conf.,60
[02.16.2022_14-36-31] Running: systemctl restart dovecot,60
[02.16.2022_14-36-32] Successfully ran: systemctl restart dovecot.,60
[02.16.2022_14-36-33] Postfix and Dovecot configured,60
[02.16.2022_14-36-33] Running: apt-get -y install unzip,60
[02.16.2022_14-36-34] Successfully ran: apt-get -y install unzip.,60
[02.16.2022_14-36-35] Running: apt-get -y install zip,60
[02.16.2022_14-36-36] Successfully ran: apt-get -y install zip.,60
[02.16.2022_14-36-36] Running: apt-get -y install rsync,60
[02.16.2022_14-36-37] Successfully ran: apt-get -y install rsync.,60
[02.16.2022_14-36-38] Checking to see if ufw firewall is installed (will be removed),60
[02.16.2022_14-36-39] Running: Remove ufw firewall (using firewalld),60
[02.16.2022_14-36-43] Successfully ran: Remove ufw firewall (using firewalld).,60
[02.16.2022_14-36-43] Running: apt-get -y install firewalld,60
[02.16.2022_14-36-54] Successfully ran: apt-get -y install firewalld.,60
[02.16.2022_14-36-54] Running: systemctl restart systemd-logind,60
[02.16.2022_14-36-54] Successfully ran: systemctl restart systemd-logind.,60
[02.16.2022_14-36-55] Running: systemctl start firewalld,60
[02.16.2022_14-36-55] Successfully ran: systemctl start firewalld.,60
[02.16.2022_14-36-55] Running: systemctl enable firewalld,60
[02.16.2022_14-36-56] Successfully ran: systemctl enable firewalld.,60
[02.16.2022_14-37-15] FirewallD installed and configured!,60
[02.16.2022_14-37-16] Running: ssh-keygen -f /root/.ssh/cyberpanel -t rsa -N '',60
[02.16.2022_14-37-17] Successfully ran: ssh-keygen -f /root/.ssh/cyberpanel -t rsa -N ''.,60
[02.16.2022_14-37-18] Running: echo downloaded,60
[02.16.2022_14-37-18] Successfully ran: echo downloaded.,60
[02.16.2022_14-37-19] Updating /root/.my.cnf!,60
[02.16.2022_14-37-20] Updating settings.py!,60
[02.16.2022_14-37-20] Running: sed -i 's|localhost|172.26.10.30|g' /usr/local/CyberCP/CyberCP/settings.py,60
[02.16.2022_14-37-21] Successfully ran: sed -i 's|localhost|172.26.10.30|g' /usr/local/CyberCP/CyberCP/settings.py.,60
[02.16.2022_14-37-21] Running: sed -i 's|root|root|g' /usr/local/CyberCP/CyberCP/settings.py,60
[02.16.2022_14-37-22] Successfully ran: sed -i 's|root|root|g' /usr/local/CyberCP/CyberCP/settings.py.,60
[02.16.2022_14-37-23] Running: sed -i "s|'PORT': ''|'PORT':'3306'|g" /usr/local/CyberCP/CyberCP/settings.py,60
[02.16.2022_14-37-24] Successfully ran: sed -i "s|'PORT': ''|'PORT':'3306'|g" /usr/local/CyberCP/CyberCP/settings.py.,60
[02.16.2022_14-37-25] settings.py updated!,60
[02.16.2022_14-37-25] Running: /usr/local/CyberPanel/bin/python manage.py makemigrations,60
[02.16.2022_14-37-31] [ERROR] We are not able to run /usr/local/CyberPanel/bin/python manage.py makemigrations return code: 1.  Fatal error, see /var/log/installLogs.txt for full details.
[02.16.2022_14-37-31] [ERROR] We are not able to run /usr/local/CyberPanel/bin/python manage.py makemigrations return code: 1.  Fatal error, see /var/log/installLogs.txt for full details.

Oops, something went wrong... [404]

Any help please?

Can you please share this file details with us.

I already paste log error.

Starting installation..,1

Initialization completed..,2

Setting up repositories...,1

Installing necessary components..,3

Installing required virtual environment,3

Installing requirments..,3

Getting CyberPanel code..,4

Necessary components installed..,5

Setting up system tweak...,20

Starting main installation..,30

Validating LiteSpeed license...,40
[02.16.2022_14-28-55] Starting CyberPanel installation..,10
[02.16.2022_14-29-05] Running: dd if=/dev/zero of=/usr/.tempdisk bs=100M count=15,10
[02.16.2022_14-29-17] Successfully ran: dd if=/dev/zero of=/usr/.tempdisk bs=100M count=15.,10
[02.16.2022_14-29-18] Running: mkfs.ext4 -F /usr/.tempdisk,10
[02.16.2022_14-29-18] Successfully ran: mkfs.ext4 -F /usr/.tempdisk.,10
[02.16.2022_14-29-19] Running: mkdir -p /usr/.tmpbak/,10
[02.16.2022_14-29-20] Successfully ran: mkdir -p /usr/.tmpbak/.,10
[02.16.2022_14-29-20] Running: mount -o loop-rw-nodev-nosuid-noexec-nofail /usr/.tempdisk /tmp,10
[02.16.2022_14-29-21] Successfully ran: mount -o loop-rw-nodev-nosuid-noexec-nofail /usr/.tempdisk /tmp.,10
[02.16.2022_14-29-21] Running: chmod 1777 /tmp,10
[02.16.2022_14-29-22] Successfully ran: chmod 1777 /tmp.,10
[02.16.2022_14-29-23] Running: rm -rf /usr/.tmpbak,10
[02.16.2022_14-29-24] Successfully ran: rm -rf /usr/.tmpbak.,10
[02.16.2022_14-29-24] Running: mount --bind /tmp /var/tmp,10
[02.16.2022_14-29-25] Successfully ran: mount --bind /tmp /var/tmp.,10
[02.16.2022_14-29-26] Running: adduser --disabled-login --gecos "" cyberpanel,10
[02.16.2022_14-29-27] Successfully ran: adduser --disabled-login --gecos "" cyberpanel.,10
[02.16.2022_14-29-27] Running: adduser --disabled-login --gecos "" docker,10
[02.16.2022_14-29-29] Successfully ran: adduser --disabled-login --gecos "" docker.,10
[02.16.2022_14-29-30] Running: groupadd docker,10
[02.16.2022_14-29-30] [ERROR] We are not able to run groupadd docker return code: 9.,10
[02.16.2022_14-29-31] Running: usermod -aG docker docker,10
[02.16.2022_14-29-32] Successfully ran: usermod -aG docker docker.,10
[02.16.2022_14-29-32] Running: usermod -aG docker cyberpanel,10
[02.16.2022_14-29-33] Successfully ran: usermod -aG docker cyberpanel.,10
[02.16.2022_14-29-33] Running: mkdir -p /etc/letsencrypt/live/,10
[02.16.2022_14-29-34] Successfully ran: mkdir -p /etc/letsencrypt/live/.,10
[02.16.2022_14-29-35] Running: wget http://rpms.litespeedtech.com/debian/enable_lst_debain_repo.sh,10
[02.16.2022_14-29-36] Successfully ran: wget http://rpms.litespeedtech.com/debian/enable_lst_debain_repo.sh.,10
[02.16.2022_14-29-37] Running: ./enable_lst_debain_repo.sh,10
[02.16.2022_14-29-41] Successfully ran: ./enable_lst_debain_repo.sh.,10
[02.16.2022_14-29-52] Running: ,10
[02.16.2022_14-29-53] Successfully ran: .,10
[02.16.2022_14-29-53] Running: ,10
[02.16.2022_14-29-54] Successfully ran: .,10
[02.16.2022_14-29-55] Installing LiteSpeed Web server,40
[02.16.2022_14-29-56] Running: groupadd nobody,40
[02.16.2022_14-29-56] Successfully ran: groupadd nobody.,40
[02.16.2022_14-29-57] Running: usermod -a -G nobody nobody,40
[02.16.2022_14-29-58] Successfully ran: usermod -a -G nobody nobody.,40
[02.16.2022_14-29-59] Running: wget https://www.litespeedtech.com/packages/6.0/lsws-6.0.11-ent-x86_64-linux.tar.gz,40
[02.16.2022_14-30-09] Successfully ran: wget https://www.litespeedtech.com/packages/6.0/lsws-6.0.11-ent-x86_64-linux.tar.gz.,40
[02.16.2022_14-30-09] Running: tar zxf lsws-6.0.11-ent-x86_64-linux.tar.gz,40
[02.16.2022_14-30-10] Successfully ran: tar zxf lsws-6.0.11-ent-x86_64-linux.tar.gz.,40
[02.16.2022_14-30-10] Running: wget -q --output-document=/root/cyberpanel/install/lsws-6.0.11/trial.key http://license.litespeedtech.com/reseller/trial.key,40
[02.16.2022_14-30-11] Successfully ran: wget -q --output-document=/root/cyberpanel/install/lsws-6.0.11/trial.key http://license.litespeedtech.com/reseller/trial.key.,40
[02.16.2022_14-30-11] Running: chmod +x install.sh,40
[02.16.2022_14-30-12] Successfully ran: chmod +x install.sh.,40
[02.16.2022_14-30-13] Running: chmod +x functions.sh,40
[02.16.2022_14-30-13] Successfully ran: chmod +x functions.sh.,40
[02.16.2022_14-30-14] Running: ./install.sh,40
[02.16.2022_14-30-21] Successfully ran: ./install.sh.,40
[02.16.2022_14-30-22] Running: chown -R lsadm:lsadm /usr/local/lsws/conf/,40
[02.16.2022_14-30-22] Successfully ran: chown -R lsadm:lsadm /usr/local/lsws/conf/.,40
[02.16.2022_14-30-22] Installing Optimized PHPs..,50
[02.16.2022_14-33-24] LiteSpeed PHPs successfully installed!,50
[02.16.2022_14-33-24] Installing MySQL,60
[02.16.2022_14-33-25] Running: apt-get -y install mariadb-server,60
[02.16.2022_14-33-43] Successfully ran: apt-get -y install mariadb-server.,60
[02.16.2022_14-34-06] Running: systemctl enable pure-ftpd-mysql,60
[02.16.2022_14-34-07] Successfully ran: systemctl enable pure-ftpd-mysql.,60
[02.16.2022_14-34-08] Running: groupadd -g 2001 ftpgroup,60
[02.16.2022_14-34-09] Successfully ran: groupadd -g 2001 ftpgroup.,60
[02.16.2022_14-34-09] Running: useradd -u 2001 -s /bin/false -d /bin/null -c "pureftpd user" -g ftpgroup ftpuser,60
[02.16.2022_14-34-10] Successfully ran: useradd -u 2001 -s /bin/false -d /bin/null -c "pureftpd user" -g ftpgroup ftpuser.,60
[02.16.2022_14-34-10] Configuring PureFTPD..,60
[02.16.2022_14-34-11] [ERROR] Could not create directory for FTP SSL,60
[02.16.2022_14-34-12] Running: openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem,60
[02.16.2022_14-34-13] Successfully ran: openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem.,60
[02.16.2022_14-34-13] Running: sed -i 's|localhost|172.26.10.30|g' /etc/pure-ftpd/pureftpd-mysql.conf,60
[02.16.2022_14-34-14] Successfully ran: sed -i 's|localhost|172.26.10.30|g' /etc/pure-ftpd/pureftpd-mysql.conf.,60
[02.16.2022_14-34-15] Running: sed -i 's|3306|3306|g' /etc/pure-ftpd/pureftpd-mysql.conf,60
[02.16.2022_14-34-16] Successfully ran: sed -i 's|3306|3306|g' /etc/pure-ftpd/pureftpd-mysql.conf.,60
[02.16.2022_14-34-17] Running: sed -i 's|MYSQLSocket /var/lib/mysql/mysql.sock||g' /etc/pure-ftpd/pureftpd-mysql.conf,60
[02.16.2022_14-34-17] Successfully ran: sed -i 's|MYSQLSocket /var/lib/mysql/mysql.sock||g' /etc/pure-ftpd/pureftpd-mysql.conf.,60
[02.16.2022_14-34-18] Running: ln -s /etc/pure-ftpd/conf/MySQLConfigFile /etc/pure-ftpd/auth/30mysql,60
[02.16.2022_14-34-19] Successfully ran: ln -s /etc/pure-ftpd/conf/MySQLConfigFile /etc/pure-ftpd/auth/30mysql.,60
[02.16.2022_14-34-19] Running: ln -s /etc/pure-ftpd/conf/UnixAuthentication /etc/pure-ftpd/auth/65unix,60
[02.16.2022_14-34-20] Successfully ran: ln -s /etc/pure-ftpd/conf/UnixAuthentication /etc/pure-ftpd/auth/65unix.,60
[02.16.2022_14-34-21] Running: systemctl restart pure-ftpd-mysql.service,60
[02.16.2022_14-34-22] Successfully ran: systemctl restart pure-ftpd-mysql.service.,60
[02.16.2022_14-34-22] PureFTPD configured!,60
[02.16.2022_14-34-23] Running: systemctl start pure-ftpd-mysql,60
[02.16.2022_14-34-23] Successfully ran: systemctl start pure-ftpd-mysql.,60
[02.16.2022_14-34-24] Running: systemctl stop systemd-resolved,60
[02.16.2022_14-34-25] Successfully ran: systemctl stop systemd-resolved.,60
[02.16.2022_14-34-25] Running: systemctl disable systemd-resolved.service,60
[02.16.2022_14-34-26] Successfully ran: systemctl disable systemd-resolved.service.,60
[02.16.2022_14-34-34] Configuring PowerDNS..,60
[02.16.2022_14-34-35] Running: sed -i 's|gmysql-host=localhost|gmysql-host=172.26.10.30|g' /etc/powerdns/pdns.conf,60
[02.16.2022_14-34-35] Successfully ran: sed -i 's|gmysql-host=localhost|gmysql-host=172.26.10.30|g' /etc/powerdns/pdns.conf.,60
[02.16.2022_14-34-36] Running: sed -i 's|gmysql-port=3306|gmysql-port=3306|g' /etc/powerdns/pdns.conf,60
[02.16.2022_14-34-37] Successfully ran: sed -i 's|gmysql-port=3306|gmysql-port=3306|g' /etc/powerdns/pdns.conf.,60
[02.16.2022_14-34-37] PowerDNS configured!,60
[02.16.2022_14-34-38] Running: systemctl enable pdns,60
[02.16.2022_14-34-40] Successfully ran: systemctl enable pdns.,60
[02.16.2022_14-34-41] Running: systemctl start pdns,60
[02.16.2022_14-34-41] Successfully ran: systemctl start pdns.,60
[02.16.2022_14-34-42] Running: cp /usr/local/lsws/lsphp71/bin/php /usr/bin/,60
[02.16.2022_14-34-43] [ERROR] We are not able to run cp /usr/local/lsws/lsphp71/bin/php /usr/bin/ return code: 1.,60
[02.16.2022_14-34-43] Running: chmod +x composer.sh,60
[02.16.2022_14-34-44] Successfully ran: chmod +x composer.sh.,60
[02.16.2022_14-34-44] Running: ./composer.sh,60
[02.16.2022_14-34-53] Successfully ran: ./composer.sh.,60
[02.16.2022_14-34-54] [ERROR] fix_selinux_issue problem,60
[02.16.2022_14-34-55] Running: apt-get -y install psmisc,60
[02.16.2022_14-34-56] Successfully ran: apt-get -y install psmisc.,60
[02.16.2022_14-34-57] Running: apt-get -y remove postfix,60
[02.16.2022_14-34-58] Successfully ran: apt-get -y remove postfix.,60
[02.16.2022_14-34-59] Running: apt-get -y install debconf-utils,60
[02.16.2022_14-35-05] Successfully ran: apt-get -y install debconf-utils.,60
[02.16.2022_14-35-06] Running: debconf-set-selections /root/cyberpanel/install/pf.unattend.text,60
[02.16.2022_14-35-07] Successfully ran: debconf-set-selections /root/cyberpanel/install/pf.unattend.text.,60
[02.16.2022_14-35-07] Running: apt-get -y install postfix postfix-mysql,60
[02.16.2022_14-35-27] Successfully ran: apt-get -y install postfix postfix-mysql.,60
[02.16.2022_14-35-28] Running: apt-get -y install dovecot-mysql dovecot-imapd dovecot-pop3d,60
[02.16.2022_14-35-51] Successfully ran: apt-get -y install dovecot-mysql dovecot-imapd dovecot-pop3d.,60
[02.16.2022_14-35-52] Setting up authentication for Postfix and Dovecot...,60
[02.16.2022_14-35-53] Running: sed -i 's|host=localhost|host=172.26.10.30|g' email-configs-one/dovecot-sql.conf.ext,60
[02.16.2022_14-35-53] Successfully ran: sed -i 's|host=localhost|host=172.26.10.30|g' email-configs-one/dovecot-sql.conf.ext.,60
[02.16.2022_14-35-54] Running: sed -i 's|port=3306|port=3306|g' email-configs-one/dovecot-sql.conf.ext,60
[02.16.2022_14-35-55] Successfully ran: sed -i 's|port=3306|port=3306|g' email-configs-one/dovecot-sql.conf.ext.,60
[02.16.2022_14-35-56] Running: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_domains.cf,60
[02.16.2022_14-35-56] Successfully ran: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_domains.cf.,60
[02.16.2022_14-35-57] Running: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_forwardings.cf,60
[02.16.2022_14-35-58] Successfully ran: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_forwardings.cf.,60
[02.16.2022_14-35-59] Running: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_mailboxes.cf,60
[02.16.2022_14-35-59] Successfully ran: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_mailboxes.cf.,60
[02.16.2022_14-36-00] Running: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_email2email.cf,60
[02.16.2022_14-36-00] Successfully ran: sed -i 's|localhost|172.26.10.30:3306|g' email-configs-one/mysql-virtual_email2email.cf.,60
[02.16.2022_14-36-01] Authentication for Postfix and Dovecot set.,60
[02.16.2022_14-36-02] Configuring postfix and dovecot...,60
[02.16.2022_14-36-04] Running: openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /etc/postfix/key.pem -out /etc/postfix/cert.pem,60
[02.16.2022_14-36-06] Successfully ran: openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /etc/postfix/key.pem -out /etc/postfix/cert.pem.,60
[02.16.2022_14-36-06] Running: openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /etc/dovecot/key.pem -out /etc/dovecot/cert.pem,60
[02.16.2022_14-36-07] Successfully ran: openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /etc/dovecot/key.pem -out /etc/dovecot/cert.pem.,60
[02.16.2022_14-36-07] Cleanup postfix/dovecot config files,60
[02.16.2022_14-36-07] Running: postconf -e 'myhostname = localhost',60
[02.16.2022_14-36-07] Successfully ran: postconf -e 'myhostname = localhost'.,60
[02.16.2022_14-36-08] Running: sed -i 's|server.example.com|localhost|g' /etc/postfix/main.cf,60
[02.16.2022_14-36-08] Successfully ran: sed -i 's|server.example.com|localhost|g' /etc/postfix/main.cf.,60
[02.16.2022_14-36-08] Running: chmod o= /etc/postfix/mysql-virtual_domains.cf,60
[02.16.2022_14-36-09] Successfully ran: chmod o= /etc/postfix/mysql-virtual_domains.cf.,60
[02.16.2022_14-36-09] Running: chmod o= /etc/postfix/mysql-virtual_forwardings.cf,60
[02.16.2022_14-36-09] Successfully ran: chmod o= /etc/postfix/mysql-virtual_forwardings.cf.,60
[02.16.2022_14-36-10] Running: chmod o= /etc/postfix/mysql-virtual_mailboxes.cf,60
[02.16.2022_14-36-10] Successfully ran: chmod o= /etc/postfix/mysql-virtual_mailboxes.cf.,60
[02.16.2022_14-36-11] Running: chmod o= /etc/postfix/mysql-virtual_email2email.cf,60
[02.16.2022_14-36-11] Successfully ran: chmod o= /etc/postfix/mysql-virtual_email2email.cf.,60
[02.16.2022_14-36-11] Running: chmod o= /etc/postfix/main.cf,60
[02.16.2022_14-36-12] Successfully ran: chmod o= /etc/postfix/main.cf.,60
[02.16.2022_14-36-12] Running: chmod o= /etc/postfix/master.cf,60
[02.16.2022_14-36-13] Successfully ran: chmod o= /etc/postfix/master.cf.,60
[02.16.2022_14-36-13] Running: chgrp postfix /etc/postfix/mysql-virtual_domains.cf,60
[02.16.2022_14-36-13] Successfully ran: chgrp postfix /etc/postfix/mysql-virtual_domains.cf.,60
[02.16.2022_14-36-14] Running: chgrp postfix /etc/postfix/mysql-virtual_forwardings.cf,60
[02.16.2022_14-36-14] Successfully ran: chgrp postfix /etc/postfix/mysql-virtual_forwardings.cf.,60
[02.16.2022_14-36-14] Running: chgrp postfix /etc/postfix/mysql-virtual_mailboxes.cf,60
[02.16.2022_14-36-15] Successfully ran: chgrp postfix /etc/postfix/mysql-virtual_mailboxes.cf.,60
[02.16.2022_14-36-15] Running: chgrp postfix /etc/postfix/mysql-virtual_email2email.cf,60
[02.16.2022_14-36-15] Successfully ran: chgrp postfix /etc/postfix/mysql-virtual_email2email.cf.,60
[02.16.2022_14-36-15] Running: chgrp postfix /etc/postfix/main.cf,60
[02.16.2022_14-36-16] Successfully ran: chgrp postfix /etc/postfix/main.cf.,60
[02.16.2022_14-36-16] Running: chgrp postfix /etc/postfix/master.cf,60
[02.16.2022_14-36-16] Successfully ran: chgrp postfix /etc/postfix/master.cf.,60
[02.16.2022_14-36-17] Running: groupadd -g 5000 vmail,60
[02.16.2022_14-36-18] Successfully ran: groupadd -g 5000 vmail.,60
[02.16.2022_14-36-18] Running: useradd -g vmail -u 5000 vmail -d /home/vmail -m,60
[02.16.2022_14-36-19] Successfully ran: useradd -g vmail -u 5000 vmail -d /home/vmail -m.,60
[02.16.2022_14-36-19] Running: systemctl enable postfix.service,60
[02.16.2022_14-36-20] Successfully ran: systemctl enable postfix.service.,60
[02.16.2022_14-36-21] Running: systemctl start postfix.service,60
[02.16.2022_14-36-21] Successfully ran: systemctl start postfix.service.,60
[02.16.2022_14-36-22] Running: chgrp dovecot /etc/dovecot/dovecot-sql.conf.ext,60
[02.16.2022_14-36-22] Successfully ran: chgrp dovecot /etc/dovecot/dovecot-sql.conf.ext.,60
[02.16.2022_14-36-22] Running: chmod o= /etc/dovecot/dovecot-sql.conf.ext,60
[02.16.2022_14-36-23] Successfully ran: chmod o= /etc/dovecot/dovecot-sql.conf.ext.,60
[02.16.2022_14-36-23] Running: systemctl enable dovecot.service,60
[02.16.2022_14-36-24] Successfully ran: systemctl enable dovecot.service.,60
[02.16.2022_14-36-25] Running: systemctl start dovecot.service,60
[02.16.2022_14-36-25] Successfully ran: systemctl start dovecot.service.,60
[02.16.2022_14-36-25] Running: systemctl restart  postfix.service,60
[02.16.2022_14-36-26] Successfully ran: systemctl restart  postfix.service.,60
[02.16.2022_14-36-27] Running: chmod 755 /etc/postfix/main.cf,60
[02.16.2022_14-36-28] Successfully ran: chmod 755 /etc/postfix/main.cf.,60
[02.16.2022_14-36-28] Running: mkdir -p /etc/pki/dovecot/private/,60
[02.16.2022_14-36-29] Successfully ran: mkdir -p /etc/pki/dovecot/private/.,60
[02.16.2022_14-36-29] Running: mkdir -p /etc/pki/dovecot/certs/,60
[02.16.2022_14-36-29] Successfully ran: mkdir -p /etc/pki/dovecot/certs/.,60
[02.16.2022_14-36-30] Running: mkdir -p /etc/opendkim/keys/,60
[02.16.2022_14-36-30] Successfully ran: mkdir -p /etc/opendkim/keys/.,60
[02.16.2022_14-36-30] Running: sed -i 's/auth_mechanisms = plain/#auth_mechanisms = plain/g' /etc/dovecot/conf.d/10-auth.conf,60
[02.16.2022_14-36-30] Successfully ran: sed -i 's/auth_mechanisms = plain/#auth_mechanisms = plain/g' /etc/dovecot/conf.d/10-auth.conf.,60
[02.16.2022_14-36-31] Running: systemctl restart dovecot,60
[02.16.2022_14-36-32] Successfully ran: systemctl restart dovecot.,60
[02.16.2022_14-36-33] Postfix and Dovecot configured,60
[02.16.2022_14-36-33] Running: apt-get -y install unzip,60
[02.16.2022_14-36-34] Successfully ran: apt-get -y install unzip.,60
[02.16.2022_14-36-35] Running: apt-get -y install zip,60
[02.16.2022_14-36-36] Successfully ran: apt-get -y install zip.,60
[02.16.2022_14-36-36] Running: apt-get -y install rsync,60
[02.16.2022_14-36-37] Successfully ran: apt-get -y install rsync.,60
[02.16.2022_14-36-38] Checking to see if ufw firewall is installed (will be removed),60
[02.16.2022_14-36-39] Running: Remove ufw firewall (using firewalld),60
[02.16.2022_14-36-43] Successfully ran: Remove ufw firewall (using firewalld).,60
[02.16.2022_14-36-43] Running: apt-get -y install firewalld,60
[02.16.2022_14-36-54] Successfully ran: apt-get -y install firewalld.,60
[02.16.2022_14-36-54] Running: systemctl restart systemd-logind,60
[02.16.2022_14-36-54] Successfully ran: systemctl restart systemd-logind.,60
[02.16.2022_14-36-55] Running: systemctl start firewalld,60
[02.16.2022_14-36-55] Successfully ran: systemctl start firewalld.,60
[02.16.2022_14-36-55] Running: systemctl enable firewalld,60
[02.16.2022_14-36-56] Successfully ran: systemctl enable firewalld.,60
[02.16.2022_14-37-15] FirewallD installed and configured!,60
[02.16.2022_14-37-16] Running: ssh-keygen -f /root/.ssh/cyberpanel -t rsa -N '',60
[02.16.2022_14-37-17] Successfully ran: ssh-keygen -f /root/.ssh/cyberpanel -t rsa -N ''.,60
[02.16.2022_14-37-18] Running: echo downloaded,60
[02.16.2022_14-37-18] Successfully ran: echo downloaded.,60
[02.16.2022_14-37-19] Updating /root/.my.cnf!,60
[02.16.2022_14-37-20] Updating settings.py!,60
[02.16.2022_14-37-20] Running: sed -i 's|localhost|172.26.10.30|g' /usr/local/CyberCP/CyberCP/settings.py,60
[02.16.2022_14-37-21] Successfully ran: sed -i 's|localhost|172.26.10.30|g' /usr/local/CyberCP/CyberCP/settings.py.,60
[02.16.2022_14-37-21] Running: sed -i 's|root|root|g' /usr/local/CyberCP/CyberCP/settings.py,60
[02.16.2022_14-37-22] Successfully ran: sed -i 's|root|root|g' /usr/local/CyberCP/CyberCP/settings.py.,60
[02.16.2022_14-37-23] Running: sed -i "s|'PORT': ''|'PORT':'3306'|g" /usr/local/CyberCP/CyberCP/settings.py,60
[02.16.2022_14-37-24] Successfully ran: sed -i "s|'PORT': ''|'PORT':'3306'|g" /usr/local/CyberCP/CyberCP/settings.py.,60
[02.16.2022_14-37-25] settings.py updated!,60
[02.16.2022_14-37-25] Running: /usr/local/CyberPanel/bin/python manage.py makemigrations,60
[02.16.2022_14-37-31] [ERROR] We are not able to run /usr/local/CyberPanel/bin/python manage.py makemigrations return code: 1.  Fatal error, see /var/log/installLogs.txt for full details.
[02.16.2022_14-37-31] [ERROR] We are not able to run /usr/local/CyberPanel/bin/python manage.py makemigrations return code: 1.  Fatal error, see /var/log/installLogs.txt for full details.

Oops, something went wrong... [404]

Bump…

Any help please…

Error while installing

Don’t install Remote Mysql !!!

Remote MySQL (default N):

UBUNTU INSTALLATION TIPS - TRY

FIRST

sudo apt-get update
sudo apt-get upgrade -y
sudo reboot now
sudo systemctl stop apache2
sudo systemctl stop mysql
sudo systemctl stop postfix
sudo systemctl stop dovecot
sudo apt-get remove -y apache2 mysql-server php5-mysql postfix dovecot-core
sudo apt-get autoremove -y

AND THEN

sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)

And follow this instructions

01 - Installing CyberPanel - Docs - CyberPanel Community

Really important ! > Remote MySQL (default N): - Nooo

**

Really important ! > Remote MySQL (default N): - Nooo

**

So if i choose N, Remote MySQL not installed?

Yes…reinstall your server…and try without remote mysql

Capture

Duh, yea no error without SQL Remote and i already installed CyberPanel with Litespeed Enterprise and already up for 4 month. But the problem is my previous installation not include with Remote SQL, the dev said if i want to use Remote SQL i need to reinstall the server. So when i tested with new server include Remote SQL, got error. So what is the point now you asked me to install without Remote SQL?

I had the same problem when installing with remote MySQL.
The problem for me was that the MySQL server is on the same LAN as the webserver.

But the install script does a callback to https://cyberpanel.sh/?ip to get the server IP.
And it also uses that IP to add a user to the remote MySQL server.

CREATE USER cyberpanel@"<External IP">;

So i did the following to the cyberpanel.sh script.

Change:
- 205 Server_IP=$(curl --silent --max-time 30 -4 https://cyberpanel.sh/?ip)
To
- 205 Server_IP="<Internal Server IP>"

And ran the script again again and all worked fine after.

Same problem also with the script omdified.
[02.28.2023_09-29-14] #########################################################################

[02.28.2023_09-29-14] [ERROR] We are not able to run /usr/local/CyberPanel/bin/python manage.py makemigrations return code: 1. Fatal error, see /var/log/installLogs.txt for full details.

[02.28.2023_09-29-14] #########################################################################

[02.28.2023_09-26-03] Successfully ran: systemctl restart dovecot.,60
[02.28.2023_09-26-04] Postfix and Dovecot configured,60
[02.28.2023_09-26-04] Running: DEBIAN_FRONTEND=noninteractive apt-get -y install unzip,60
[02.28.2023_09-26-06] Successfully ran: DEBIAN_FRONTEND=noninteractive apt-get -y install unzip.,60
[02.28.2023_09-26-07] Running: DEBIAN_FRONTEND=noninteractive apt-get -y install zip,60
[02.28.2023_09-26-11] Successfully ran: DEBIAN_FRONTEND=noninteractive apt-get -y install zip.,60
[02.28.2023_09-26-11] Running: DEBIAN_FRONTEND=noninteractive apt-get -y install rsync,60
[02.28.2023_09-26-15] Successfully ran: DEBIAN_FRONTEND=noninteractive apt-get -y install rsync.,60
[02.28.2023_09-26-16] Checking to see if ufw firewall is installed (will be removed),60
[02.28.2023_09-26-17] Running: Remove ufw firewall (using firewalld),60
[02.28.2023_09-26-35] Successfully ran: Remove ufw firewall (using firewalld).,60
[02.28.2023_09-26-35] Running: DEBIAN_FRONTEND=noninteractive apt-get -y install firewalld,60
[02.28.2023_09-27-04] Successfully ran: DEBIAN_FRONTEND=noninteractive apt-get -y install firewalld.,60
[02.28.2023_09-27-05] Running: systemctl restart systemd-logind,60
[02.28.2023_09-27-05] Successfully ran: systemctl restart systemd-logind.,60
[02.28.2023_09-27-06] Running: systemctl start firewalld,60
[02.28.2023_09-27-06] Successfully ran: systemctl start firewalld.,60
[02.28.2023_09-27-07] Running: systemctl enable firewalld,60
[02.28.2023_09-27-09] Successfully ran: systemctl enable firewalld.,60
[02.28.2023_09-28-36] FirewallD installed and configured!,60
[02.28.2023_09-28-36] Running: ssh-keygen -f /root/.ssh/cyberpanel -t rsa -N ‘’,60
[02.28.2023_09-28-44] Successfully ran: ssh-keygen -f /root/.ssh/cyberpanel -t rsa -N ‘’.,60
[02.28.2023_09-28-44] Running: echo downloaded,60
[02.28.2023_09-28-45] Successfully ran: echo downloaded.,60
[02.28.2023_09-28-45] Updating /root/.my.cnf!,60
[02.28.2023_09-28-46] Updating settings.py!,60
[02.28.2023_09-28-46] Running: sed -i ‘s|localhost|172.18.208.6|g’ /usr/local/CyberCP/CyberCP/settings.py,60
[02.28.2023_09-28-46] Successfully ran: sed -i ‘s|localhost|172.18.208.6|g’ /usr/local/CyberCP/CyberCP/settings.py.,60
[02.28.2023_09-28-47] Running: sed -i ‘s|root|cpws01|g’ /usr/local/CyberCP/CyberCP/settings.py,60
[02.28.2023_09-28-47] Successfully ran: sed -i ‘s|root|cpws01|g’ /usr/local/CyberCP/CyberCP/settings.py.,60
[02.28.2023_09-28-48] Running: sed -i “s|‘PORT’: ‘’|‘PORT’:‘3306’|g” /usr/local/CyberCP/CyberCP/settings.py,60
[02.28.2023_09-28-48] Successfully ran: sed -i “s|‘PORT’: ‘’|‘PORT’:‘3306’|g” /usr/local/CyberCP/CyberCP/settings.py.,60
[02.28.2023_09-28-48] settings.py updated!,60
[02.28.2023_09-28-49] Running: /usr/local/CyberPanel/bin/python manage.py makemigrations,60
[02.28.2023_09-29-14] [ERROR] We are not able to run /usr/local/CyberPanel/bin/python manage.py makemigrations return code: 1. Fatal error, see /var/log/installLogs.txt for full details.
[02.28.2023_09-29-15] [ERROR] We are not able to run /usr/local/CyberPanel/bin/python manage.py makemigrations return code: 1. Fatal error, see /var/log/installLogs.txt for full details.