mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-07 07:09:08 +01:00
bug fix: ftp issue on ubuntu22
This commit is contained in:
@@ -511,6 +511,9 @@ class InstallCyberPanel:
|
||||
command = "sed -i 's/MYSQLCrypt md5/MYSQLCrypt crypt/g' /etc/pure-ftpd/db/mysql.conf"
|
||||
install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
|
||||
|
||||
command = "systemctl restart pure-ftpd-mysql.service"
|
||||
install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
|
||||
|
||||
|
||||
InstallCyberPanel.stdOut("PureFTPD configured!", 1)
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
import sys
|
||||
from crypt import crypt, METHOD_SHA512
|
||||
from getpass import getpass
|
||||
|
||||
print(crypt('hosting', METHOD_SHA512))
|
||||
@@ -1098,6 +1098,9 @@ $cfg['Servers'][$i]['LogoutURL'] = 'phpmyadminsignin.php?logout';
|
||||
command = "sed -i 's/MYSQLCrypt md5/MYSQLCrypt crypt/g' /etc/pure-ftpd/db/mysql.conf"
|
||||
Upgrade.executioner(command, command, 1)
|
||||
|
||||
command = "systemctl restart pure-ftpd-mysql.service"
|
||||
Upgrade.executioner(command, command, 1)
|
||||
|
||||
try:
|
||||
connection.close()
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user