Error while installing

getting this error while installing in bare metal server
i did direct installation without any vm’s
i am using ubuntu server 20.4

self.connect()
File “/usr/local/CyberPanel/lib/python3.8/site-packages/django/db/utils.py”, line 90, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File “/usr/local/CyberPanel/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 219, in ensure_connection
self.connect()
File “/usr/local/CyberPanel/lib/python3.8/site-packages/django/utils/asyncio.py”, line 26, in inner
return func(*args, **kwargs)
File “/usr/local/CyberPanel/lib/python3.8/site-packages/django/db/backends/base/base.py”, line 200, in connect
self.connection = self.get_new_connection(conn_params)
File “/usr/local/CyberPanel/lib/python3.8/site-packages/django/utils/asyncio.py”, line 26, in inner
return func(*args, **kwargs)
File “/usr/local/CyberPanel/lib/python3.8/site-packages/django/db/backends/mysql/base.py”, line 234, in get_new_connection
return Database.connect(**conn_params)
File “/usr/local/CyberPanel/lib/python3.8/site-packages/MySQLdb/init.py”, line 130, in Connect
return Connection(*args, **kwargs)
File “/usr/local/CyberPanel/lib/python3.8/site-packages/MySQLdb/connections.py”, line 185, in init
super().init(*args, **kwargs2)
django.db.utils.OperationalError: (1698, “Access denied for user ‘cyberpanel’@‘localhost’”)

[02.18.2022_06-29-57] #########################################################################

[02.18.2022_06-29-57] Running /usr/local/CyberPanel/bin/python manage.py makemigrations failed. Running again, try number 3

[02.18.2022_06-29-57] #########################################################################

[02.18.2022_06-29-57] #########################################################################

[02.18.2022_06-29-57] [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.18.2022_06-29-57] #########################################################################

Oops, something went wrong…
root@fxuserver:~# File “/usr/local/CyberPanel/lib/python3.8/site-packages/MySQLdb/init.py”, line 130, in Connect
[02.18.2022_06-29-57] #########################################################################

[02.18.2022_06-29-57] [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.18.2022_06-29-57] #########################################################################

Oops, something went wrong…
root@fxuserver:~#

do aptget update and upgrade first then reboot after that cd /usr/local/src
then run the installation command

getting this error

9.3)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/CyberPanel/lib/python3.8/site-packages (from requests==2.26.0->-r /usr/local/requirments.txt (line 69)) (2.0.12)

Fetching files from GitHub - usmannasir/cyberpanel: Cyber Panel - The hosting control panel for OpenLiteSpeed

Cloning into ‘cyberpanel’…
remote: Enumerating objects: 26714, done.
remote: Counting objects: 100% (2788/2788), done.
remote: Compressing objects: 100% (1031/1031), done.
remote: Total 26714 (delta 1838), reused 2538 (delta 1635), pack-reused 23926
Receiving objects: 100% (26714/26714), 375.95 MiB | 9.19 MiB/s, done.
Resolving deltas: 100% (17119/17119), done.
Updating files: 100% (4330/4330), done.

CyberPanel source code downloaded…

Branch ‘v2.1.2’ set up to track remote branch ‘v2.1.2’ from ‘origin’.
Switched to a new branch ‘v2.1.2’
/usr/local/src

CyberPanel already installed, exiting…

well at least first error already solved

at this part is developer part maybe
@die2mrw007 @usmannasir1 @usmannasir

or maybe you can re install your server with ubuntu
and aptget update upgrade first
in case some of installer stuck because your previous error

1 Like

i used to do with this tutorial
and i already done apt update and apt upgrade already
2nd time getting this error
and i am not femiler with centos so i am using ubuntu server

Cyberpanel recommend ubuntu
so you are on right track

try re install
at least your first error already solved by apt update upgrade…right :wink:
because i just tested on my vps everything is fine

will come with good result :smile:
i am gone reinstall ubuntu

1 Like

i hope everything will work
and your cyberpanel will working well

and if success please update here
so we all know what should we do if we facing same problem

1 Like

sure i will do

1 Like

gwtting this error now :frowning:

[02.18.2022_09-40-49] #########################################################################

[02.18.2022_09-40-49] Running systemctl restart pure-ftpd-mysql.service failed. Running again, try number 2

[02.18.2022_09-40-49] #########################################################################

Job for pure-ftpd-mysql.service failed because the control process exited with error code.
See “systemctl status pure-ftpd-mysql.service” and “journalctl -xe” for details.

[02.18.2022_09-40-49] #########################################################################

[02.18.2022_09-40-49] Running systemctl restart pure-ftpd-mysql.service failed. Running again, try number 3

[02.18.2022_09-40-49] #########################################################################

[02.18.2022_09-40-49] #########################################################################

[02.18.2022_09-40-49] [ERROR] We are not able to run systemctl restart pure-ftpd-mysql.service return code: 1. Fatal error, see /var/log/installLogs.txt for full details.

[02.18.2022_09-40-49] #########################################################################

Oops, something went wrong…
root@fxuserver:~#

are you already use apt-get update upgrade ?

yes bro
did and restarted

it’s look like you one step forward from last error…

try

ps -aux | grep pure-ftp

need to reinstall ubuntu ?

nope
try that command and paste here

and /var/log/installLogs.txt

enable_lst_debain_repo.sh 100%[=============================================================================>] 3.61K --.-KB/s in 0s

2022-02-18 09:55:31 (239 MB/s) - ‘enable_lst_debain_repo.sh’ saved [3692/3692]

[02.18.2022_09-55-31] #########################################################################

[02.18.2022_09-55-31] Successfully ran: wget http://rpms.litespeedtech.com/debian/enable_lst_debain_repo.sh.

[02.18.2022_09-55-31] #########################################################################

[02.18.2022_09-55-31] #########################################################################

[02.18.2022_09-55-31] Running: ./enable_lst_debain_repo.sh

[02.18.2022_09-55-31] #########################################################################

detecting OS type :
detected OS: ubuntu - 20.04
now enable the LiteSpeed Debian Repo
register LiteSpeed GPG key
–2022-02-18 09:55:31-- http://rpms.litespeedtech.com/debian/lst_debian_repo.gpg
Resolving rpms.litespeedtech.com (rpms.litespeedtech.com)… 52.55.120.73
Connecting to rpms.litespeedtech.com (rpms.litespeedtech.com)|52.55.120.73|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1198 (1.2K) [application/octet-stream]
Saving to: ‘/etc/apt/trusted.gpg.d/lst_debian_repo.gpg’

/etc/apt/trusted.gpg.d/lst_debian_repo. 100%[=============================================================================>] 1.17K --.-KB/s in 0s

2022-02-18 09:55:32 (77.0 MB/s) - ‘/etc/apt/trusted.gpg.d/lst_debian_repo.gpg’ saved [1198/1198]

–2022-02-18 09:55:32-- http://rpms.litespeedtech.com/debian/lst_repo.gpg
Resolving rpms.litespeedtech.com (rpms.litespeedtech.com)… 52.55.120.73
Connecting to rpms.litespeedtech.com (rpms.litespeedtech.com)|52.55.120.73|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 2336 (2.3K) [application/octet-stream]
Saving to: ‘/etc/apt/trusted.gpg.d/lst_repo.gpg’

/etc/apt/trusted.gpg.d/lst_repo.gpg 100%[=============================================================================>] 2.28K --.-KB/s in 0s

2022-02-18 09:55:32 (150 MB/s) - ‘/etc/apt/trusted.gpg.d/lst_repo.gpg’ saved [2336/2336]

update the repo
Hit:1 Index of /ubuntu/ focal InRelease
Hit:2 Index of /ubuntu/ focal-updates InRelease
Hit:3 Index of /ubuntu/ focal-backports InRelease
Hit:4 Index of /ubuntu/ focal-security InRelease
Ign:5 Index of /debian/ focal InRelease
Hit:6 Index of /debian/ focal Release
Reading package lists… Done
All done, congratulations and enjoy !

[02.18.2022_09-55-35] #########################################################################

[02.18.2022_09-55-35] Successfully ran: ./enable_lst_debain_repo.sh.

[02.18.2022_09-55-35] #########################################################################

{“remotemysql”: “ON”, “mysqlhost”: “”, “mysqldb”: “”, “mysqluser”: “”, “mysqlpassword”: “”, “mysqlport”: “”}

[02.18.2022_09-55-45] #########################################################################

[02.18.2022_09-55-45] Running:

[02.18.2022_09-55-45] #########################################################################

[02.18.2022_09-55-45] #########################################################################

[02.18.2022_09-55-45] Successfully ran: .

[02.18.2022_09-55-45] #########################################################################

[02.18.2022_09-55-45] #########################################################################

[02.18.2022_09-55-45] Running:

[02.18.2022_09-55-45] #########################################################################

[02.18.2022_09-55-46] #########################################################################

[02.18.2022_09-55-46] Successfully ran: .

[02.18.2022_09-55-46] #########################################################################

[02.18.2022_09-55-46] #########################################################################

[02.18.2022_09-55-46] Running: apt-get -y install openlitespeed

[02.18.2022_09-55-46] #########################################################################

Reading package lists… Done
Building dependency tree
Reading state information… Done
openlitespeed is already the newest version (1.7.15-1+focal).
The following packages were automatically installed and are no longer required:
openbsd-inetd pure-ftpd-common tcpd update-inetd
Use ‘apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

[02.18.2022_09-55-47] #########################################################################

[02.18.2022_09-55-47] Successfully ran: apt-get -y install openlitespeed.

[02.18.2022_09-55-47] #########################################################################

[02.18.2022_09-55-47] #########################################################################

[02.18.2022_09-55-47] Changing default port to 80…

[02.18.2022_09-55-47] #########################################################################

[02.18.2022_09-55-47] #########################################################################

[02.18.2022_09-55-47] Default port is now 80 for OpenLiteSpeed!

[02.18.2022_09-55-47] #########################################################################

[02.18.2022_09-55-48] #########################################################################

[02.18.2022_09-55-48] Running: /usr/local/lsws/bin/lswsctrl restart

[02.18.2022_09-55-48] #########################################################################

[OK] Send SIGUSR1 to 29419

[02.18.2022_09-55-51] #########################################################################

[02.18.2022_09-55-51] Successfully ran: /usr/local/lsws/bin/lswsctrl restart.

[02.18.2022_09-55-51] #########################################################################

Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘lsphp72’ for glob ‘lsphp7?’
Note, selecting ‘lsphp73’ for glob ‘lsphp7?’
Note, selecting ‘lsphp74’ for glob ‘lsphp7?’
Note, selecting ‘lsphp74-common’ for glob ‘lsphp7?-common’
Note, selecting ‘lsphp72-common’ for glob ‘lsphp7?-common’
Note, selecting ‘lsphp73-common’ for glob ‘lsphp7?-common’
Note, selecting ‘lsphp74-curl’ for glob ‘lsphp7?-curl’
Note, selecting ‘lsphp73-curl’ for glob ‘lsphp7?-curl’
Note, selecting ‘lsphp72-curl’ for glob ‘lsphp7?-curl’
Note, selecting ‘lsphp73-dev’ for glob ‘lsphp7?-dev’
Note, selecting ‘lsphp74-dev’ for glob ‘lsphp7?-dev’
Note, selecting ‘lsphp72-dev’ for glob ‘lsphp7?-dev’
Note, selecting ‘lsphp74-imap’ for glob ‘lsphp7?-imap’
Note, selecting ‘lsphp73-imap’ for glob ‘lsphp7?-imap’
Note, selecting ‘lsphp72-imap’ for glob ‘lsphp7?-imap’
Note, selecting ‘lsphp74-intl’ for glob ‘lsphp7?-intl’
Note, selecting ‘lsphp73-intl’ for glob ‘lsphp7?-intl’
Note, selecting ‘lsphp72-intl’ for glob ‘lsphp7?-intl’
Note, selecting ‘lsphp74-json’ for glob ‘lsphp7?-json’
Note, selecting ‘lsphp73-json’ for glob ‘lsphp7?-json’
Note, selecting ‘lsphp72-json’ for glob ‘lsphp7?-json’
Note, selecting ‘lsphp74-ldap’ for glob ‘lsphp7?-ldap’
Note, selecting ‘lsphp73-ldap’ for glob ‘lsphp7?-ldap’
Note, selecting ‘lsphp72-ldap’ for glob ‘lsphp7?-ldap’
Note, selecting ‘lsphp72-mysql’ for glob ‘lsphp7?-mysql’
Note, selecting ‘lsphp73-mysql’ for glob ‘lsphp7?-mysql’
Note, selecting ‘lsphp74-mysql’ for glob ‘lsphp7?-mysql’
Note, selecting ‘lsphp72-opcache’ for glob ‘lsphp7?-opcache’
Note, selecting ‘lsphp74-opcache’ for glob ‘lsphp7?-opcache’
Note, selecting ‘lsphp73-opcache’ for glob ‘lsphp7?-opcache’
Note, selecting ‘lsphp72-pspell’ for glob ‘lsphp7?-pspell’
Note, selecting ‘lsphp73-pspell’ for glob ‘lsphp7?-pspell’
Note, selecting ‘lsphp74-pspell’ for glob ‘lsphp7?-pspell’
Note, selecting ‘lsphp72-recode’ for glob ‘lsphp7?-recode’
Note, selecting ‘lsphp73-recode’ for glob ‘lsphp7?-recode’
Note, selecting ‘lsphp72-sqlite3’ for glob ‘lsphp7?-sqlite3’
Note, selecting ‘lsphp74-sqlite3’ for glob ‘lsphp7?-sqlite3’
Note, selecting ‘lsphp73-sqlite3’ for glob ‘lsphp7?-sqlite3’
Note, selecting ‘lsphp74-tidy’ for glob ‘lsphp7?-tidy’
Note, selecting ‘lsphp73-tidy’ for glob ‘lsphp7?-tidy’
Note, selecting ‘lsphp72-tidy’ for glob ‘lsphp7?-tidy’
lsphp72 is already the newest version (7.2.34-1+focal).
lsphp72-common is already the newest version (7.2.34-1+focal).
lsphp72-curl is already the newest version (7.2.34-1+focal).
lsphp72-dev is already the newest version (7.2.34-1+focal).
lsphp72-imap is already the newest version (7.2.34-1+focal).
lsphp72-intl is already the newest version (7.2.34-1+focal).
lsphp72-json is already the newest version (7.2.34-1+focal).
lsphp72-ldap is already the newest version (7.2.34-1+focal).
lsphp72-mysql is already the newest version (7.2.34-1+focal).
lsphp72-opcache is already the newest version (7.2.34-1+focal).
lsphp72-pspell is already the newest version (7.2.34-1+focal).
lsphp72-recode is already the newest version (7.2.34-1+focal).
lsphp72-sqlite3 is already the newest version (7.2.34-1+focal).
lsphp72-tidy is already the newest version (7.2.34-1+focal).
lsphp73 is already the newest version (7.3.33-1+focal).
lsphp73-common is already the newest version (7.3.33-1+focal).
lsphp73-curl is already the newest version (7.3.33-1+focal).
lsphp73-dev is already the newest version (7.3.33-1+focal).
lsphp73-imap is already the newest version (7.3.33-1+focal).
lsphp73-intl is already the newest version (7.3.33-1+focal).
lsphp73-json is already the newest version (7.3.33-1+focal).
lsphp73-ldap is already the newest version (7.3.33-1+focal).
lsphp73-mysql is already the newest version (7.3.33-1+focal).
lsphp73-opcache is already the newest version (7.3.33-1+focal).
lsphp73-pspell is already the newest version (7.3.33-1+focal).
lsphp73-recode is already the newest version (7.3.33-1+focal).
lsphp73-sqlite3 is already the newest version (7.3.33-1+focal).
lsphp73-tidy is already the newest version (7.3.33-1+focal).
lsphp74 is already the newest version (7.4.27-1+focal).
lsphp74-common is already the newest version (7.4.27-1+focal).
lsphp74-curl is already the newest version (7.4.27-1+focal).
lsphp74-dev is already the newest version (7.4.27-1+focal).
lsphp74-imap is already the newest version (7.4.27-1+focal).
lsphp74-intl is already the newest version (7.4.27-1+focal).
lsphp74-json is already the newest version (7.4.27-1+focal).
lsphp74-ldap is already the newest version (7.4.27-1+focal).
lsphp74-mysql is already the newest version (7.4.27-1+focal).
lsphp74-opcache is already the newest version (7.4.27-1+focal).
lsphp74-pspell is already the newest version (7.4.27-1+focal).
lsphp74-sqlite3 is already the newest version (7.4.27-1+focal).
lsphp74-tidy is already the newest version (7.4.27-1+focal).
The following packages were automatically installed and are no longer required:
openbsd-inetd pure-ftpd-common tcpd update-inetd
Use ‘apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘lsphp80-curl’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-igbinary’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-ldap’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-imap’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-sqlite3’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-sybase’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-pgsql’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-intl’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-opcache’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-yac’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-snmp’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-msgpack’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-user-cache’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-redis’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-xcache’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-structures-graph’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-apcu’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-mysql’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-gd’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-pspell’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-console-getopt’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-dbg’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-dev’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-modules-source’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-common’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-tidy’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-imagick’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-memcached’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-pear’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-xml-util’ for glob ‘lsphp80*’
Note, selecting ‘lsphp80-apcu’ instead of ‘lsphp80-user-cache’
Note, selecting ‘lsphp80-pear’ instead of ‘lsphp80-console-getopt’
Note, selecting ‘lsphp80-pear’ instead of ‘lsphp80-structures-graph’
Note, selecting ‘lsphp80-pear’ instead of ‘lsphp80-xml-util’
lsphp80 is already the newest version (8.0.15-1+focal).
lsphp80-apcu is already the newest version (5.1.20-1+focal).
lsphp80-common is already the newest version (8.0.15-1+focal).
lsphp80-curl is already the newest version (8.0.15-1+focal).
lsphp80-dbg is already the newest version (8.0.15-1+focal).
lsphp80-dev is already the newest version (8.0.15-1+focal).
lsphp80-igbinary is already the newest version (3.2.1-1+focal).
lsphp80-imagick is already the newest version (3.4.4-1+focal).
lsphp80-imap is already the newest version (8.0.15-1+focal).
lsphp80-intl is already the newest version (8.0.15-1+focal).
lsphp80-ldap is already the newest version (8.0.15-1+focal).
lsphp80-memcached is already the newest version (3.1.5-1+focal).
lsphp80-modules-source is already the newest version (8.0.15-1+focal).
lsphp80-msgpack is already the newest version (2.1.2-1+focal).
lsphp80-mysql is already the newest version (8.0.15-1+focal).
lsphp80-opcache is already the newest version (8.0.15-1+focal).
lsphp80-pear is already the newest version (1.10.12-1+focal).
lsphp80-pgsql is already the newest version (8.0.15-1+focal).
lsphp80-pspell is already the newest version (8.0.15-1+focal).
lsphp80-redis is already the newest version (5.3.7-1+focal).
lsphp80-snmp is already the newest version (8.0.15-1+focal).
lsphp80-sqlite3 is already the newest version (8.0.15-1+focal).
lsphp80-sybase is already the newest version (8.0.15-1+focal).
lsphp80-tidy is already the newest version (8.0.15-1+focal).
The following packages were automatically installed and are no longer required:
openbsd-inetd pure-ftpd-common tcpd update-inetd
Use ‘apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

[02.18.2022_09-55-53] #########################################################################

[02.18.2022_09-55-53] LiteSpeed PHPs successfully installed!

[02.18.2022_09-55-53] #########################################################################

[02.18.2022_09-55-53] #########################################################################

[02.18.2022_09-55-53] Fixing OpenLiteSpeed configurations!

[02.18.2022_09-55-53] #########################################################################

[02.18.2022_09-55-53] #########################################################################

[02.18.2022_09-55-53] OpenLiteSpeed Configurations fixed!

[02.18.2022_09-55-53] #########################################################################

[02.18.2022_09-55-53] #########################################################################

[02.18.2022_09-55-53] Running: /usr/local/lsws/bin/lswsctrl restart

[02.18.2022_09-55-53] #########################################################################

[OK] Send SIGUSR1 to 34081

[02.18.2022_09-55-57] #########################################################################

[02.18.2022_09-55-57] Successfully ran: /usr/local/lsws/bin/lswsctrl restart.

[02.18.2022_09-55-57] #########################################################################

[02.18.2022_09-55-57] #########################################################################

[02.18.2022_09-55-57] Running: apt-get -y install mariadb-server

[02.18.2022_09-55-57] #########################################################################

Reading package lists… Done
Building dependency tree
Reading state information… Done
mariadb-server is already the newest version (1:10.3.32-0ubuntu0.20.04.1).
The following packages were automatically installed and are no longer required:
openbsd-inetd pure-ftpd-common tcpd update-inetd
Use ‘apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

[02.18.2022_09-55-58] #########################################################################

[02.18.2022_09-55-58] Successfully ran: apt-get -y install mariadb-server.

[02.18.2022_09-55-58] #########################################################################

mysql -h --port -u -p -e “CREATE DATABASE cyberpanel”
ERROR 2005 (HY000): Unknown MySQL server host ‘–port’ (-2)
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
pure-ftpd-mysql
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 138 kB of archives.
After this operation, 658 kB of additional disk space will be used.
Get:1 Index of /ubuntu/ focal/universe amd64 pure-ftpd-mysql amd64 1.0.49-4 [138 kB]
Fetched 138 kB in 0s (537 kB/s)
Selecting previously unselected package pure-ftpd-mysql.
(Reading database … 87950 files and directories currently installed.)
Preparing to unpack …/pure-ftpd-mysql_1.0.49-4_amd64.deb …
Unpacking pure-ftpd-mysql (1.0.49-4) …
Setting up pure-ftpd-mysql (1.0.49-4) …
Job for pure-ftpd-mysql.service failed because the control process exited with error code.
See “systemctl status pure-ftpd-mysql.service” and “journalctl -xe” for details.
invoke-rc.d: initscript pure-ftpd-mysql, action “start” failed.
● pure-ftpd-mysql.service
Loaded: loaded (/etc/init.d/pure-ftpd-mysql; generated)
Active: failed (Result: exit-code) since Fri 2022-02-18 09:56:11 UTC; 9ms ago
Docs: man:systemd-sysv-generator(8)
Process: 34390 ExecStart=/etc/init.d/pure-ftpd-mysql start (code=exited, status=252)

Feb 18 09:56:11 fxuserver systemd[1]: Starting pure-ftpd-mysql.service…
Feb 18 09:56:11 fxuserver pure-ftpd-mysql[34390]: Starting ftp server:
Feb 18 09:56:11 fxuserver pure-ftpd-mysql[34398]: Running: /usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/db/mysql.conf -Y 1 -P 115.246.224.148 -p 40110:40210 -B
Feb 18 09:56:11 fxuserver pure-ftpd[34398]: (?@?) [ERROR] Configuration error: Invalid SQL configuration file: /etc/pure-ftpd/db/mysql.conf
Feb 18 09:56:11 fxuserver systemd[1]: pure-ftpd-mysql.service: Control process exited, code=exited, status=252/n/a
Feb 18 09:56:11 fxuserver systemd[1]: pure-ftpd-mysql.service: Failed with result ‘exit-code’.
Feb 18 09:56:11 fxuserver systemd[1]: Failed to start pure-ftpd-mysql.service.
dpkg: error processing package pure-ftpd-mysql (–configure):
installed pure-ftpd-mysql package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.9.1-1) …
Processing triggers for systemd (245.4-4ubuntu3.15) …
Errors were encountered while processing:
pure-ftpd-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)

[02.18.2022_09-56-12] #########################################################################

[02.18.2022_09-56-12] Running: systemctl enable pure-ftpd-mysql

[02.18.2022_09-56-12] #########################################################################

pure-ftpd-mysql.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable pure-ftpd-mysql

[02.18.2022_09-56-14] #########################################################################

[02.18.2022_09-56-14] Successfully ran: systemctl enable pure-ftpd-mysql.

[02.18.2022_09-56-14] #########################################################################

[02.18.2022_09-56-14] #########################################################################

[02.18.2022_09-56-14] Running: groupadd -g 2001 ftpgroup

[02.18.2022_09-56-14] #########################################################################

groupadd: group ‘ftpgroup’ already exists

[02.18.2022_09-56-14] #########################################################################

[02.18.2022_09-56-14] Running groupadd -g 2001 ftpgroup failed. Running again, try number 1

[02.18.2022_09-56-14] #########################################################################

groupadd: group ‘ftpgroup’ already exists

[02.18.2022_09-56-14] #########################################################################

[02.18.2022_09-56-14] Running groupadd -g 2001 ftpgroup failed. Running again, try number 2

[02.18.2022_09-56-14] #########################################################################

groupadd: group ‘ftpgroup’ already exists

[02.18.2022_09-56-14] #########################################################################

[02.18.2022_09-56-14] Running groupadd -g 2001 ftpgroup failed. Running again, try number 3

[02.18.2022_09-56-14] #########################################################################

[02.18.2022_09-56-14] #########################################################################

[02.18.2022_09-56-14] [ERROR] We are not able to run groupadd -g 2001 ftpgroup return code: 9. Fatal error, see /var/log/installLogs.txt for full details.

[02.18.2022_09-56-14] #########################################################################

Oops, something went wrong…
root@fxuserver:~#

root@fxuserver:~# /var/log/installLogs.txt
-bash: /var/log/installLogs.txt: Permission denied

hmmmm

this is will make you spent more time
but,for me… if server goes wrong better to reinstall

  1. reinstall ubuntu server with minimalis setup
    1.a make sure your hostname is friendlyname (some case this can make trouble)
    friendly:
    myserver
    myvps

not too good:
mysampleserver.com
mysamplevps.com

change it using hostnamectl

sudo hostnamectl set-hostname myserver
sudo apt update -y && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt clean -y && sudo apt autoclean -y
  1. reboot
  2. follow command here 01 - Installing CyberPanel - 01 - Install/Upgrade - Docs - CyberPanel Community
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)

Full Service (default Y):
Remote MySQL (default N):
Memcached (default Y):

  • Distributed memory object caching system

Redis (default Y):

  • In-memory data structure store, used as a database, cache, and message broke

Watchdog (default Yes):

  • Kernel watchdog is used to monitor if a system is running. It is supposed to automatically reboot hanged systems due to unrecoverable software errors

IF Success
remember to copy this
image

1 Like

Hi, after running this command

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

and clicking on everything needed started the installation, which ended with this error message (CentOS7):

pip install --default-timeout=3600 -r /usr/local/requirments.txt has failed for 49 times
Wait for 3 seconds and try again...

command pip install --default-timeout=3600 -r /usr/local/requirments.txt failed for 50 times, exit...
[root@vmi815823 ~]# pip install --default-timeout=3600 -r /usr/local/requirments.txt has failed for 48 times
Collecting acme==0.21.1
  Using cached acme-0.21.1-py2.py3-none-any.whl (68 kB)
Collecting asgiref==3.2.3
  Using cached asgiref-3.2.3-py2.py3-none-any.whl (18 kB)
Collecting asn1crypto==0.24.0
  Using cached asn1crypto-0.24.0-py2.py3-none-any.whl (101 kB)
Collecting Babel==0.9.6
  Using cached Babel-0.9.6.zip (1.9 MB)
  Preparing metadata (setup.py) ... done
Collecting backports.ssl-match-hostname==3.5.0.1
  Using cached backports.ssl_match_hostname-3.5.0.1.tar.gz (5.6 kB)
  Preparing metadata (setup.py) ... done
Collecting bcrypt==3.1.7
  Using cached bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB)
Collecting boto3==1.9.64
  Using cached boto3-1.9.64-py2.py3-none-any.whl (128 kB)
Collecting botocore==1.12.64
  Using cached botocore-1.12.64-py2.py3-none-any.whl (5.1 MB)
Collecting certifi==2018.4.16
  Using cached certifi-2018.4.16-py2.py3-none-any.whl (150 kB)
Collecting chardet==3.0.4
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting cloudflare==2.6.1
  Using cached cloudflare-2.6.1.tar.gz (59 kB)
  Preparing metadata (setup.py) ... done
Collecting ConfigArgParse==0.15.2
  Using cached ConfigArgParse-0.15.2.tar.gz (27 kB)
  Preparing metadata (setup.py) ... done
Collecting configobj==5.0.6
  Using cached configobj-5.0.6.tar.gz (33 kB)
  Preparing metadata (setup.py) ... done
Collecting cryptography==2.8
  Using cached cryptography-2.8-cp34-abi3-manylinux2010_x86_64.whl (2.3 MB)
Collecting decorator==3.4.0
  Using cached decorator-3.4.0.tar.gz (30 kB)
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/local/CyberPanel/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2q1jlf2g/decorator_b97d2c6b36f147c9969a9fa92aa3c807/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2q1jlf2g/decorator_b97d2c6b36f147c9969a9fa92aa3c807/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-eiiovq3w
       cwd: /tmp/pip-install-2q1jlf2g/decorator_b97d2c6b36f147c9969a9fa92aa3c807/
  Complete output (1 lines):
  error in decorator setup command: use_2to3 is invalid.
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/f3/26/876d492f2394f29401eb652ddfa53dec2bc8721861c7fe0dce1b5d0d2b6a/decorator-3.4.0.tar.gz#sha256=c20b404cbb7ee5cebd506688e0114e3cd76f5ce233805a51f36e1a7988d9d783 (from https://pypi.org/simple/decorator/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement decorator==3.4.0 (from versions: 3.3.1, 3.3.2, 3.3.3, 3.4.0, 3.4.2, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.6, 4.0.8, 4.0.9, 4.0.10, 4.0.11, 4.1.0, 4.1.1, 4.1.2, 4.2.1, 4.3.0, 4.3.1, 4.3.2, 4.4.0, 4.4.1, 4.4.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9, 5.1.0, 5.1.1)
ERROR: No matching distribution found for decorator==3.4.0

pip install --default-timeout=3600 -r /usr/local/requirments.txt has failed for 49 times
Wait for 3 seconds and try again...

command pip install --default-timeout=3600 -r /usr/local/requirments.txt failed for 50 times, exit...
[root@vmi815823 ~]#

I can’t install CyberPanel + OpenLiteSpeed. I don’t know how to proceed.

Error while installing

Don’t install Remote Mysql !!!

Remote MySQL (default N):

UBUNTU INSTALLATION

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

1 Like